#ifndef SQUID_IPC_STORE_MAP_H
#define SQUID_IPC_STORE_MAP_H
+#include "typedefs.h"
#include "ipc/ReadWriteLock.h"
#include "ipc/mem/FlexibleArray.h"
#include "ipc/mem/Pointer.h"
-#include "ipc/StoreMapSlice.h"
namespace Ipc
{
+typedef uint32_t StoreMapSliceId;
+
+/// a piece of Store entry, linked to other pieces, forming a chain
+class StoreMapSlice
+{
+public:
+ StoreMapSlice(): next(0), size(0) {}
+
+ StoreMapSliceId next; ///< ID of the next slice occupied by the entry
+ uint32_t size; ///< slice contents size
+};
+
+
/// Maintains shareable information about a StoreEntry as a whole.
/// An anchor points to one or more StoreEntry slices. This is the
/// only lockable part of shared StoreEntry information, providing
+++ /dev/null
-/*
- * DEBUG: section 54 Interprocess Communication
- */
-
-#include "squid.h"
-#include "ipc/StoreMapSlice.h"
-#include "tools.h"
-
-Ipc::StoreMapSlice::StoreMapSlice()
-{
- memset(this, 0, sizeof(*this));
-}
+++ /dev/null
-#ifndef SQUID_IPC_STORE_MAP_SLICE_H
-#define SQUID_IPC_STORE_MAP_SLICE_H
-
-#include "typedefs.h"
-
-namespace Ipc
-{
-
-typedef uint32_t StoreMapSliceId;
-
-/// a piece of Store entry, linked to other pieces, forming a chain
-class StoreMapSlice
-{
-public:
- StoreMapSlice(): next(0), /* location(0), */ size(0) {}
-
- StoreMapSliceId next; ///< ID of the next slice occupied by the entry
-// uint32_t location; ///< slice contents location
- uint32_t size; ///< slice contents size
-};
-
-} // namespace Ipc
-
-#endif /* SQUID_IPC_STORE_MAP_SLICE_H */