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

index de62cd7ad1e094347dfc6d6bded58699c38f04fa..0c6829cae3d7683de7c6522a31469c7704baff30 100644 (file)
@@ -443,6 +443,7 @@ squid_SOURCES = \
        refresh.cc \
        RemovalPolicy.cc \
        RemovalPolicy.h \
+       send-announce.h \
        send-announce.cc \
        $(SBUF_SOURCE) \
        $(SNMP_SOURCE) \
index 3ab2cf4c3e1b2e67ccff365ffbc7a18041bad97a..8b7dbaa91e0362da62bef6993dc5e4fb254176fe 100644 (file)
@@ -81,6 +81,7 @@
 #include "protos.h"
 #include "redirect.h"
 #include "refresh.h"
+#include "send-announce.h"
 #include "tools.h"
 #include "SquidDns.h"
 #include "SquidTime.h"
index ea2a6570c465bd1d8936df5904e51842109b6ca7..4d9c175e7aeae8db870389e39fd9629725d4b6cd 100644 (file)
@@ -1,7 +1,4 @@
-
 /*
- * $Id$
- *
  * DEBUG: section 27    Cache Announcer
  * AUTHOR: Duane Wessels
  *
diff --git a/src/send-announce.h b/src/send-announce.h
new file mode 100644 (file)
index 0000000..6469300
--- /dev/null
@@ -0,0 +1,37 @@
+#ifndef SQUID_SEND_ANNOUNCE_H_
+#define SQUID_SEND_ANNOUNCE_H_
+/*
+ * DEBUG: section 27    Cache Announcer
+ * 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.
+ *
+ */
+
+extern void start_announce(void *unused);
+
+#endif /* SQUID_SEND_ANNOUNCE_H_ */