#endif
#endif
-/* for FREE* */
-#include "typedefs.h"
+#include "mem/forward.h"
#define MAX_ASYNCOP 128
#define __DISKTHREADS_H__
#include "dlink.h"
-#include "typedefs.h"
+#include "mem/forward.h"
/* this non-standard-conformant include is needed in order to have stat(2) and struct stat
properly defined on some systems (e.g. OpenBSD 5.4) */
#include "base/RefCount.h"
#include "cbdata.h"
+#include "mem/forward.h"
class WriteRequest : public RefCountable
{
#include "base/Packable.h"
#include "cbdata.h"
+#include "mem/forward.h"
/**
* Auto-growing memory-resident buffer with Packable interface
#include "base/AsyncCall.h"
#include "comm/Flag.h"
#include "comm/forward.h"
-#include "typedefs.h"
+#include "mem/forward.h"
class SBuf;
#include "base/AsyncCall.h"
#include "comm/forward.h"
-#include "typedefs.h"
+#include "mem/forward.h"
+#include "typedefs.h" //for PF
class MemBuf;
namespace Comm
#ifndef SQUID_DISK_H_
#define SQUID_DISK_H_
-#include "typedefs.h"
+#include "mem/forward.h"
+#include "typedefs.h" //DRCB, DWCB
class MemBuf;
#include "ipc/ReadWriteLock.h"
#include "SBuf.h"
#include "fs/forward.h"
+#include "typedefs.h" //cache_key
namespace Ipc
{
#define _SQUID_SRC_MEM_FORWARD_H
#include "mem/AllocatorProxy.h"
-/* for FREE */
-#include "typedefs.h"
#include <iosfwd>
extern const size_t squidSystemPageSize;
+typedef void FREE(void *);
+
/// Types of memory pool which do not yet use MEMPROXY_CLASS() API
typedef enum {
MEM_NONE,
size_t kb;
} kb_t;
-typedef void FREE(void *);
typedef void PF(int, void *);
/* disk.c / diskd.c callback typedefs */