]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Moved prototype to newly-created repl_modules.h
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 29 Aug 2012 15:48:14 +0000 (17:48 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 29 Aug 2012 15:48:14 +0000 (17:48 +0200)
src/Makefile.am
src/protos.h
src/repl_modules.h [new file with mode: 0644]
src/store.cc

index 0c6829cae3d7683de7c6522a31469c7704baff30..7793c90956e7ef37e6ee28183cdeafdca2b64d34 100644 (file)
@@ -461,6 +461,7 @@ squid_SOURCES = \
        StrList.cc \
        stmem.cc \
        stmem.h \
+       repl_modules.h \
        store.cc \
        Store.h \
        StoreFileSystem.cc \
@@ -1142,6 +1143,7 @@ tests_testHttpReply_SOURCES=\
        StatCounters.cc \
        StatHist.h \
        tests/stub_StatHist.cc \
+       repl_modules.h \
        tests/stub_store.cc \
        tests/stub_store_stats.cc \
        tools.h \
@@ -1257,6 +1259,7 @@ tests_testACLMaxUserIP_SOURCES= \
        tests/stub_mime.cc \
        tests/stub_pconn.cc \
        tests/stub_Port.cc \
+       repl_modules.h \
        tests/stub_store.cc \
        tests/stub_store_rebuild.cc \
        tests/stub_store_stats.cc \
@@ -1461,6 +1464,7 @@ tests_testCacheManager_SOURCES = \
        StrList.cc \
        tests/stub_StatHist.cc \
        stmem.cc \
+       repl_modules.h \
        store.cc \
        store_client.cc \
        store_digest.cc \
@@ -1615,6 +1619,7 @@ tests_testDiskIO_SOURCES = \
        store_key_md5.cc \
        store_swapout.cc \
        store_swapmeta.cc \
+       repl_modules.h \
        store.cc \
        String.cc \
   StrList.h \
@@ -1840,6 +1845,7 @@ tests_testEvent_SOURCES = \
        StatHist.h \
        StatHist.cc \
        stmem.cc \
+       repl_modules.h \
        store.cc \
        store_client.cc \
        store_digest.cc \
@@ -2062,6 +2068,7 @@ tests_testEventLoop_SOURCES = \
        StatHist.cc \
        Mem.h \
        stmem.cc \
+       repl_modules.h \
        store.cc \
        store_client.cc \
        store_digest.cc \
@@ -2281,6 +2288,7 @@ tests_test_http_range_SOURCES = \
        StatHist.h \
        StatHist.cc \
        stmem.cc \
+       repl_modules.h \
        store.cc \
        store_client.cc \
        store_digest.cc \
@@ -2543,6 +2551,7 @@ tests_testHttpRequest_SOURCES = \
        StatHist.h \
        StatHist.cc \
        stmem.cc \
+       repl_modules.h \
        store.cc \
        store_client.cc \
        store_digest.cc \
@@ -2676,6 +2685,7 @@ tests_testStore_SOURCES= \
        StatHist.h \
        StatHist.cc \
        stmem.cc \
+       repl_modules.h \
        store.cc \
        store_dir.cc \
        store_io.cc \
@@ -2897,6 +2907,7 @@ tests_testUfs_SOURCES = \
        HttpMsg.cc \
        RemovalPolicy.cc \
        store_dir.cc \
+       repl_modules.h \
        store.cc \
        HttpRequestMethod.cc \
        store_key_md5.h \
@@ -3046,6 +3057,7 @@ tests_testRock_SOURCES = \
        StatHist.h \
        tests/stub_StatHist.cc \
        stmem.cc \
+       repl_modules.h \
        store.cc \
        StoreFileSystem.cc \
        StoreIOState.cc \
@@ -3197,6 +3209,7 @@ tests_testCoss_SOURCES = \
        HttpMsg.cc \
        RemovalPolicy.cc \
        store_dir.cc \
+       repl_modules.h \
        store.cc \
        HttpRequestMethod.cc \
        store_key_md5.h \
@@ -3344,6 +3357,7 @@ tests_testNull_SOURCES = \
        HttpMsg.cc \
        RemovalPolicy.cc \
        store_dir.cc \
+       repl_modules.h \
        store.cc \
        HttpRequestMethod.cc \
        store_key_md5.h \
@@ -3563,6 +3577,7 @@ tests_testURL_SOURCES = \
        StatHist.h \
        tests/stub_StatHist.cc \
        stmem.cc \
+       repl_modules.h \
        store.cc \
        store_client.cc \
        store_digest.cc \
@@ -3713,6 +3728,7 @@ tests_testStatHist_SOURCES = \
        tests/stub_mime.cc \
        tests/stub_pconn.cc \
        tests/stub_stmem.cc \
+       repl_modules.h \
        tests/stub_store.cc \
        tests/stub_store_stats.cc \
        tools.h \
index 0c15b9f6deda8116763385850bdfef4140b8a9c4..2d2e1abd3da901f668f31c73b11051068709f2b4 100644 (file)
@@ -86,9 +86,6 @@ extern void shut_down(int);
 extern void rotate_logs(int);
 extern void reconfigure(int);
 
-/* repl_modules.c */
-extern void storeReplSetup(void);
-
 /*
  * store_log.c
  */
diff --git a/src/repl_modules.h b/src/repl_modules.h
new file mode 100644 (file)
index 0000000..ec0dd98
--- /dev/null
@@ -0,0 +1,38 @@
+#ifndef SQUID_REPL_MODULES_H_
+#define SQUID_REPL_MODULES_H_
+/*
+ * SQUID Web Proxy Cache          http://www.squid-cache.org/
+ * ----------------------------------------------------------
+ *
+ *  Squid is the result of efforts by numerous individuals from
+ *  the Internet community; see the CONTRIBUTORS file for full
+ *  details.   Many organizations have provided support for Squid's
+ *  development; see the SPONSORS file for full details.  Squid is
+ *  Copyrighted (C) 2001 by the Regents of the University of
+ *  California; see the COPYRIGHT file for full details.  Squid
+ *  incorporates software developed and/or copyrighted by other
+ *  sources; see the CREDITS file for full details.
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
+ *
+ */
+
+/*
+ * Note: repl_modules.cc will be autogenerated.
+ */
+
+extern void storeReplSetup(void);
+
+#endif /* SQUID_REPL_MODULES_H_ */
index 5bccf16093697ee3255b8ab25b79ba45a94a1e8d..a35a0f5a16245c92da0b57ede221ae77ab6776c4 100644 (file)
@@ -49,6 +49,7 @@
 #include "mgr/StoreIoAction.h"
 #include "profiler/Profiler.h"
 #include "protos.h"
+#include "repl_modules.h"
 #include "SquidTime.h"
 #include "Stack.h"
 #include "StatCounters.h"