]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Moved some prototypes to new store_swapin.h
authorFrancesco Chemolli <kinkie@squid-cache.org>
Thu, 30 Aug 2012 08:41:13 +0000 (10:41 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Thu, 30 Aug 2012 08:41:13 +0000 (10:41 +0200)
src/Makefile.am
src/protos.h
src/store_client.cc
src/store_swapin.cc
src/store_swapin.h [new file with mode: 0644]

index a4686456f2c9cd37d09a95d04643a4fc5dc0abe7..6945aabcb961fb0ad4591f4c6211da9e8e043377 100644 (file)
@@ -482,6 +482,7 @@ squid_SOURCES = \
        store_log.cc \
        store_rebuild.h \
        store_rebuild.cc \
+       store_swapin.h \
        store_swapin.cc \
        store_swapmeta.cc \
        store_swapout.cc \
@@ -1481,6 +1482,7 @@ tests_testCacheManager_SOURCES = \
        store_log.cc \
        store_rebuild.h \
        store_rebuild.cc \
+       store_swapin.h \
        store_swapin.cc \
        store_swapmeta.cc \
        store_swapout.cc \
@@ -1866,6 +1868,7 @@ tests_testEvent_SOURCES = \
        store_log.cc \
        store_rebuild.h \
        store_rebuild.cc \
+       store_swapin.h \
        store_swapin.cc \
        store_swapmeta.cc \
        store_swapout.cc \
@@ -2092,6 +2095,7 @@ tests_testEventLoop_SOURCES = \
        store_log.cc \
        store_rebuild.h \
        store_rebuild.cc \
+       store_swapin.h \
        store_swapin.cc \
        store_swapmeta.cc \
        store_swapout.cc \
@@ -2315,6 +2319,7 @@ tests_test_http_range_SOURCES = \
        store_log.cc \
        store_rebuild.h \
        store_rebuild.cc \
+       store_swapin.h \
        store_swapin.cc \
        store_swapmeta.cc \
        store_swapout.cc \
@@ -2581,6 +2586,7 @@ tests_testHttpRequest_SOURCES = \
        store_log.cc \
        store_rebuild.h \
        store_rebuild.cc \
+       store_swapin.h \
        store_swapin.cc \
        store_swapmeta.cc \
        store_swapout.cc \
@@ -3615,6 +3621,7 @@ tests_testURL_SOURCES = \
        store_log.cc \
        store_rebuild.h \
        store_rebuild.cc \
+       store_swapin.h \
        store_swapin.cc \
        store_swapmeta.cc \
        store_swapout.cc \
index 4b19dfd71d84cb202e9bc6fe31ad7f4b33e47494..68d507dc2b4707f2a030aacd044db4762d7323f8 100644 (file)
@@ -86,14 +86,7 @@ extern void shut_down(int);
 extern void rotate_logs(int);
 extern void reconfigure(int);
 
-
-
-/*
- * store_swapin.c
- */
 class store_client;
-extern void storeSwapInStart(store_client *);
-
 /*
  * store_client.c
  */
index ddb83428f9a75507762818e014a19f570b403d8a..5e7fec3fe2cc7a195f85cf7e6674396f1f360085 100644 (file)
@@ -46,6 +46,7 @@
 #include "StatCounters.h"
 #include "StoreClient.h"
 #include "Store.h"
+#include "store_swapin.h"
 #include "StoreMeta.h"
 #include "StoreMetaUnpacker.h"
 #if USE_DELAY_POOLS
index 26f62b65a4be2dcec5d9f0f2dd0e7a30093a0642..da4cab34273b1c46b14f9cc6771dac125feef3a8 100644 (file)
@@ -1,7 +1,4 @@
-
 /*
- * $Id$
- *
  * DEBUG: section 20    Storage Manager Swapin Functions
  * AUTHOR: Duane Wessels
  *
@@ -38,6 +35,7 @@
 #include "StatCounters.h"
 #include "StoreClient.h"
 #include "Store.h"
+#include "store_swapin.h"
 
 static StoreIOState::STIOCB storeSwapInFileClosed;
 static StoreIOState::STFNCB storeSwapInFileNotify;
diff --git a/src/store_swapin.h b/src/store_swapin.h
new file mode 100644 (file)
index 0000000..1044971
--- /dev/null
@@ -0,0 +1,38 @@
+#ifndef SQUID_STORE_SWAPIN_H_
+#define SQUID_STORE_SWAPIN_H_
+/*
+ * DEBUG: section 20    Storage Manager Swapin Functions
+ * AUTHOR: Duane Wessels
+ *
+ * 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.
+ *
+ */
+
+class store_client;
+extern void storeSwapInStart(store_client *);
+
+#endif /* SQUID_STORE_SWAPIN_H_ */