]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Moved urn.cc-related prototypes to newly-created urn.h
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 29 Aug 2012 14:39:43 +0000 (16:39 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 29 Aug 2012 14:39:43 +0000 (16:39 +0200)
src/Makefile.am
src/forward.cc
src/protos.h
src/urn.cc
src/urn.h [new file with mode: 0644]

index 48995659e17b8e1d89989550a1d0b921cb8d1c95..e13f692516f3cff791847cbbcc3f8518beccffe3 100644 (file)
@@ -518,6 +518,7 @@ squid_SOURCES = \
        URL.h \
        URLScheme.cc \
        URLScheme.h \
+       urn.h \
        urn.cc \
        wccp.h \
        wccp.cc \
@@ -1487,6 +1488,7 @@ tests_testCacheManager_SOURCES = \
        $(UNLINKDSOURCE) \
        url.cc \
        URLScheme.cc \
+       urn.h \
        urn.cc \
        wccp2.h \
        wccp2.cc \
@@ -1873,6 +1875,7 @@ tests_testEvent_SOURCES = \
        $(UNLINKDSOURCE) \
        url.cc \
        URLScheme.cc \
+       urn.h \
        urn.cc \
        wccp2.h \
        wccp2.cc \
@@ -2094,6 +2097,7 @@ tests_testEventLoop_SOURCES = \
        $(UNLINKDSOURCE) \
        url.cc \
        URLScheme.cc \
+       urn.h \
        urn.cc \
        wccp2.h \
        wccp2.cc \
@@ -2309,6 +2313,7 @@ tests_test_http_range_SOURCES = \
        $(UNLINKDSOURCE) \
        url.cc \
        URLScheme.cc \
+       urn.h \
        urn.cc \
        wccp2.h \
        wccp2.cc \
@@ -2563,6 +2568,7 @@ tests_testHttpRequest_SOURCES = \
        MemStore.cc \
        url.cc \
        URLScheme.cc \
+       urn.h \
        urn.cc \
        wccp2.h \
        wccp2.cc \
@@ -3592,6 +3598,7 @@ tests_testURL_SOURCES = \
        tunnel.cc \
        url.cc \
        URLScheme.cc \
+       urn.h \
        urn.cc \
        wccp2.h \
        wccp2.cc \
index 0162b2d64b5cc5ce1b91f584b3772f7750ff2fbd..ca6b0156f254a0b5f657e1dd5418100edb78bcf6 100644 (file)
@@ -66,6 +66,7 @@
 #include "protos.h"
 #include "SquidTime.h"
 #include "Store.h"
+#include "urn.h"
 #include "whois.h"
 #if USE_SSL
 #include "ssl/support.h"
index 66a9d83c8b69027234272331ab8b90bdf550c1cc..c8bc357a75312b69b281b4944f1f3ac4a980af00 100644 (file)
@@ -82,8 +82,6 @@ extern variable_list *snmp_meshCtblFn(variable_list *, snint *);
 
 #include "comm/forward.h"
 
-SQUIDCEXTERN void urnStart(HttpRequest *, StoreEntry *);
-
 SQUIDCEXTERN void redirectInit(void);
 SQUIDCEXTERN void redirectShutdown(void);
 
index 6b057e57ba6707ce1828ed48091f39c05b709002..af6c8d6c0eefac5311ab23935fb63e8df35a0b02 100644 (file)
@@ -47,6 +47,7 @@
 #include "mime_header.h"
 #include "protos.h"
 #include "URL.h"
+#include "urn.h"
 
 #define        URN_REQBUF_SZ   4096
 
diff --git a/src/urn.h b/src/urn.h
new file mode 100644 (file)
index 0000000..cd5f2dc
--- /dev/null
+++ b/src/urn.h
@@ -0,0 +1,41 @@
+/*
+ * DEBUG: section 
+ * AUTHOR: 
+ *
+ * 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_URN_H_
+#define SQUID_URN_H_
+
+class HttpRequest;
+class StoreEntry;
+
+extern void urnStart(HttpRequest *, StoreEntry *);
+
+#endif /* SQUID_URN_H_ */