]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Moved whois.cc-related prototypes to new whois.h
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 22 Aug 2012 11:31:33 +0000 (13:31 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 22 Aug 2012 11:31:33 +0000 (13:31 +0200)
src/Makefile.am
src/forward.cc
src/protos.h
src/whois.h [new file with mode: 0644]

index ee5c434f1bbe52696d88cbaad830d1b3699af667..7dd4f4f13fe8d83dc1d630584210f4c189a8655b 100644 (file)
@@ -518,6 +518,7 @@ squid_SOURCES = \
        wccp.cc \
        wccp2.h \
        wccp2.cc \
+       whois.h \
        whois.cc \
        wordlist.h \
        wordlist.cc \
@@ -1470,6 +1471,7 @@ tests_testCacheManager_SOURCES = \
        urn.cc \
        wccp2.h \
        wccp2.cc \
+       whois.h \
        whois.cc \
        FadingCounter.cc \
        $(WIN32_SOURCE) \
@@ -1845,6 +1847,7 @@ tests_testEvent_SOURCES = \
        urn.cc \
        wccp2.h \
        wccp2.cc \
+       whois.h \
        whois.cc \
        $(WIN32_SOURCE) \
        wordlist.h \
@@ -2059,6 +2062,7 @@ tests_testEventLoop_SOURCES = \
        urn.cc \
        wccp2.h \
        wccp2.cc \
+       whois.h \
        whois.cc \
        $(WIN32_SOURCE) \
        wordlist.h \
@@ -2267,6 +2271,7 @@ tests_test_http_range_SOURCES = \
        urn.cc \
        wccp2.h \
        wccp2.cc \
+       whois.h \
        whois.cc \
        $(WIN32_SOURCE) \
        wordlist.h \
@@ -2514,6 +2519,7 @@ tests_testHttpRequest_SOURCES = \
        urn.cc \
        wccp2.h \
        wccp2.cc \
+       whois.h \
        whois.cc \
        FadingCounter.cc \
        $(WIN32_SOURCE) \
@@ -3520,6 +3526,7 @@ tests_testURL_SOURCES = \
        urn.cc \
        wccp2.h \
        wccp2.cc \
+       whois.h \
        whois.cc \
        FadingCounter.cc \
        $(WIN32_SOURCE) \
index 1ae03abf41b8c58cd5da1c6c779e57ae278f9f64..f1e5a501e4cf79893d82b703231f91ed85df4b97 100644 (file)
@@ -66,6 +66,7 @@
 #include "protos.h"
 #include "SquidTime.h"
 #include "Store.h"
+#include "whois.h"
 #if USE_SSL
 #include "ssl/support.h"
 #include "ssl/ErrorDetail.h"
index e2518d0043ebe442dc4890d2632f7d8a4baa87bf..b4be86715e2f49b920ec68b4bd8e7211cf0844ba 100644 (file)
@@ -59,17 +59,6 @@ class HttpRequest;
 class HttpReply;
 
 
-
-
-/**
- \defgroup ServerProtocolWhoisAPI Server-Side WHOIS API
- \ingroup ServerProtocol
- */
-
-/// \ingroup ServerProtocolWhoisAPI
-SQUIDCEXTERN void whoisStart(FwdState *);
-
-
 /* http.c */
 /* for http_hdr_type field */
 SQUIDCEXTERN int httpCachable(const HttpRequestMethod&);
diff --git a/src/whois.h b/src/whois.h
new file mode 100644 (file)
index 0000000..6859e02
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+ * DEBUG: section 75    WHOIS protocol
+ * AUTHOR: Duane Wessels, Kostas Anagnostakis
+ *
+ * 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.
+ *
+ */
+
+
+#ifndef SQUID_WHOIS_H_
+#define SQUID_WHOIS_H_
+
+/**
+ * \defgroup ServerProtocolWhoisAPI Server-Side WHOIS API
+ * \ingroup ServerProtocol
+ */
+
+/// \ingroup ServerProtocolWhoisAPI
+extern void whoisStart(FwdState *);
+
+
+#endif /* SQUID_WHOIS_H_ */