]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Moved some prototypes to StoreClient.h
authorFrancesco Chemolli <kinkie@squid-cache.org>
Thu, 30 Aug 2012 08:56:00 +0000 (10:56 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Thu, 30 Aug 2012 08:56:00 +0000 (10:56 +0200)
src/StoreClient.h
src/acl/Asn.cc
src/forward.cc
src/icmp/net_db.cc
src/protos.h
src/ssl/ServerBump.cc
src/store.cc
src/urn.cc

index 72b204299a4667f8a75633b357b307d206049731..626aa89e0d26fab0852e9a3653022d2bca07c55d 100644 (file)
@@ -127,6 +127,13 @@ private:
     CBDATA_CLASS(store_client);
 };
 
-SQUIDCEXTERN void storeClientCopy(store_client *, StoreEntry *, StoreIOBuffer, STCB *, void *);
+
+extern void storeClientCopy(store_client *, StoreEntry *, StoreIOBuffer, STCB *, void *);
+extern store_client* storeClientListAdd(StoreEntry * e, void *data);
+extern int storeClientCopyPending(store_client *, StoreEntry * e, void *data);
+extern int storeUnregister(store_client * sc, StoreEntry * e, void *data);
+extern int storePendingNClients(const StoreEntry * e);
+extern int storeClientIsThisAClient(store_client * sc, void *someClient);
+
 
 #endif /* SQUID_STORECLIENT_H */
index 04ba4375d3a392165cf2a5e3746e6aaaf5ccde47..ffbd918d1546cb1aff66c6eb93629b7b5b5c67b2 100644 (file)
@@ -49,6 +49,7 @@
 #include "ipcache.h"
 #include "forward.h"
 #include "protos.h"
+#include "StoreClient.h"
 #include "wordlist.h"
 
 #define WHOIS_PORT 43
index ca6b0156f254a0b5f657e1dd5418100edb78bcf6..bdff77be7341a557010372ce83ee894d99cd7127 100644 (file)
@@ -66,6 +66,7 @@
 #include "protos.h"
 #include "SquidTime.h"
 #include "Store.h"
+#include "StoreClient.h"
 #include "urn.h"
 #include "whois.h"
 #if USE_SSL
index a4794079ea78cc93d6c2780d929ddced23bcb6cc..f9309018d496a61bb3b8d4e19f7b1ecc94626ab0 100644 (file)
@@ -61,6 +61,7 @@
 #include "URL.h"
 #include "Mem.h"
 #include "disk.h"
+#include "StoreClient.h"
 
 #if HAVE_SYS_STAT_H
 #include <sys/stat.h>
index 68d507dc2b4707f2a030aacd044db4762d7323f8..567020ea488430ab5a501fabbbdbb8f5c18f6695 100644 (file)
@@ -87,15 +87,6 @@ extern void rotate_logs(int);
 extern void reconfigure(int);
 
 class store_client;
-/*
- * store_client.c
- */
-SQUIDCEXTERN store_client *storeClientListAdd(StoreEntry * e, void *data);
-SQUIDCEXTERN int storeClientCopyPending(store_client *, StoreEntry * e, void *data);
-SQUIDCEXTERN int storeUnregister(store_client * sc, StoreEntry * e, void *data)
-;
-SQUIDCEXTERN int storePendingNClients(const StoreEntry * e);
-SQUIDCEXTERN int storeClientIsThisAClient(store_client * sc, void *someClient);
 
 SQUIDCEXTERN const char *getMyHostname(void);
 SQUIDCEXTERN const char *uniqueHostname(void);
index 7bc8b3caa2fc92ff41459bd47acc35f7ffa57159..f82736ee6c15496582ddffd1c7b381e0fa15de8a 100644 (file)
@@ -12,6 +12,7 @@
 #include "protos.h"
 #include "ssl/ServerBump.h"
 #include "Store.h"
+#include "StoreClient.h"
 #include "URL.h"
 
 CBDATA_NAMESPACED_CLASS_INIT(Ssl, ServerBump);
index ebebef3930865cd931b52db38341776790b00838..fcbf2a832401ec63fc48d5f1a6942dea43a74d10 100644 (file)
 #include "Stack.h"
 #include "StatCounters.h"
 #include "stmem.h"
-#include "StoreClient.h"
-#include "Store.h"
-#include "store_key_md5.h"
-#include "StoreIOState.h"
-#include "StoreMeta.h"
-#include "StrList.h"
 #include "store_digest.h"
 #include "store_key_md5.h"
+#include "store_key_md5.h"
 #include "store_log.h"
 #include "store_rebuild.h"
-#include "SwapDir.h"
+#include "Store.h"
+#include "StoreClient.h"
+#include "StoreIOState.h"
+#include "StoreMeta.h"
+#include "StrList.h"
 #include "swap_log_op.h"
+#include "SwapDir.h"
 #if USE_DELAY_POOLS
 #include "DelayPools.h"
 #endif
index af6c8d6c0eefac5311ab23935fb63e8df35a0b02..7f2c310338a4462ca8196bd61cf91a97fb1bb1b7 100644 (file)
 
 #include "squid.h"
 #include "errorpage.h"
-#include "StoreClient.h"
-#include "Store.h"
-#include "HttpReply.h"
-#include "HttpRequest.h"
-#include "MemBuf.h"
 #include "forward.h"
 #include "globals.h"
-#include "SquidTime.h"
+#include "HttpReply.h"
+#include "HttpRequest.h"
 #include "icmp/net_db.h"
+#include "MemBuf.h"
 #include "mime_header.h"
 #include "protos.h"
+#include "SquidTime.h"
+#include "Store.h"
+#include "StoreClient.h"
 #include "URL.h"
 #include "urn.h"