]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bugzilla #11: Some Header Files Not Wrapped Or Wrapped Improperly
authorhno <>
Mon, 8 Oct 2001 22:18:31 +0000 (22:18 +0000)
committerhno <>
Mon, 8 Oct 2001 22:18:31 +0000 (22:18 +0000)
42 files changed:
include/Array.h
include/GNUregex.h
include/Stack.h
include/asn1.h
include/cache_snmp.h
include/config.h
include/hash.h
include/heap.h
include/md5.h
include/ntlmauth.h
include/parse.h
include/radix.h
include/rfc1035.h
include/rfc2617.h
include/snmp-internal.h
include/snmp-mib.h
include/snmp.h
include/snmp_api.h
include/snmp_api_error.h
include/snmp_api_util.h
include/snmp_client.h
include/snmp_coexist.h
include/snmp_debug.h
include/snmp_error.h
include/snmp_impl.h
include/snmp_msg.h
include/snmp_pdu.h
include/snmp_session.h
include/snmp_util.h
include/snmp_vars.h
include/snprintf.h
include/splay.h
include/squid_types.h
include/tempnam.h
include/util.h
src/defines.h
src/enums.h
src/globals.h
src/protos.h
src/ssl_support.h
src/structs.h
src/typedefs.h

index ac87defa5a89130eb1b4dc460d770c4804539f23..09b619a65d7b7f3e7588f30d15549bd3cf350939 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: Array.h,v 1.5 2001/02/07 18:56:50 hno Exp $
+ * $Id: Array.h,v 1.6 2001/10/08 16:18:31 hno Exp $
  *
  * AUTHOR: Alex Rousskov
  *
@@ -31,8 +31,8 @@
  *  
  */
 
-#ifndef _ARRAY_H_
-#define _ARRAY_H_
+#ifndef SQUID_ARRAY_H
+#define SQUID_ARRAY_H
 
 /* see Array.c for more documentation */
 
@@ -51,4 +51,4 @@ extern void arrayAppend(Array * s, void *obj);
 extern void arrayPreAppend(Array * s, int app_count);
 
 
-#endif /* ndef _ARRAY_H_ */
+#endif /* SQUID_ARRAY_H */
index d234dc3201912ab1c335ab5a33b408223ba8d893..048b921433618364f2cfdb72f0caf51b9dc9d96c 100644 (file)
@@ -1,7 +1,10 @@
 /*
- * $Id: GNUregex.h,v 1.6 1999/01/11 21:55:33 wessels Exp $
+ * $Id: GNUregex.h,v 1.7 2001/10/08 16:18:31 hno Exp $
  */
 
+#ifndef SQUID_REGEXP_LIBRARY_H
+#define SQUID_REGEXP_LIBRARY_H
+
 /* Definitions for data structures and routines for the regular
  * expression library, version 0.12.
  * 
@@ -21,9 +24,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.  */
 
-#ifndef __REGEXP_LIBRARY_H__
-#define __REGEXP_LIBRARY_H__
-
 /* POSIX says that <sys/types.h> must be included (by the caller) before
  * <regex.h>.  */
 
@@ -479,7 +479,7 @@ extern size_t regerror
        size_t errbuf_size));
 extern void regfree _RE_ARGS((regex_t * preg));
 
-#endif /* not __REGEXP_LIBRARY_H__ */
+#endif /* SQUID_REGEXP_LIBRARY_H */
 \f
 /*
  * Local variables:
index 42365e338267bcbbf9f198cb55a0e002d9006253..e1374685a461fdcd4208232f4721ddddd6a47b44 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: Stack.h,v 1.10 2001/01/12 00:37:12 wessels Exp $
+ * $Id: Stack.h,v 1.11 2001/10/08 16:18:31 hno Exp $
  *
  * AUTHOR: Alex Rousskov
  *
@@ -31,8 +31,8 @@
  *  
  */
 
-#ifndef _STACK_H_
-#define _STACK_H_
+#ifndef SQUID_STACK_H
+#define SQUID_STACK_H
 
 #include "Array.h"
 
@@ -47,4 +47,4 @@ extern void *stackPop(Stack * s);
 #define stackPrePush arrayPreAppend
 extern void *stackTop(Stack * s);
 
-#endif /* ndef _STACK_H_ */
+#endif /* SQUID_STACK_H */
index 25bd4566ab777a64932817fc09073fc9b239284a..4c6792701cbafd8e48eb0b96399a37f3b5bb4da3 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _SNMP_ASN1_H_
-#define _SNMP_ASN1_H_
+#ifndef SQUID_SNMP_ASN1_H
+#define SQUID_SNMP_ASN1_H
 
 /*
  * Definitions for Abstract Syntax Notation One, ASN.1
@@ -28,7 +28,7 @@
  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  * SOFTWARE.
  * 
- * $Id: asn1.h,v 1.11 2001/01/07 09:55:21 hno Exp $
+ * $Id: asn1.h,v 1.12 2001/10/08 16:18:31 hno Exp $
  * 
  **********************************************************************/
 
@@ -98,4 +98,5 @@ extern "C" {
 }
 
 #endif
-#endif                         /* _SNMP_ASN1_H_ */
+
+#endif /* SQUID_SNMP_ASN1_H */
index ebb35c69ef57a62fd94212cc036c4f1c82568a5c..59e9a03c06a98d1a6c42460b3bd317555c16ce43 100644 (file)
@@ -1,10 +1,11 @@
 /*
- * $Id: cache_snmp.h,v 1.24 1999/06/11 22:40:32 wessels Exp $
+ * $Id: cache_snmp.h,v 1.25 2001/10/08 16:18:31 hno Exp $
  */
 
+#ifndef SQUID_SNMP_H
+#define SQUID_SNMP_H
+
 #ifdef SQUID_SNMP
-#ifndef CACHE_SNMP_H
-#define CACHE_SNMP_H
 
 #if SIZEOF_LONG == 8
 #define snint int
@@ -253,5 +254,6 @@ enum {
     PERF_MEDIAN_END
 };
 
-#endif
-#endif
+#endif /* SQUID_SNMP */
+
+#endif /* SQUID_SNMP_H */
index ca95a08e3c22a134dfee2fa9b0af98787c97cdcb..18569f509e54f3cc6743533b6088a2d663a299fa 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: config.h,v 1.1 2001/09/25 23:45:15 robertc Exp $
+ * $Id: config.h,v 1.2 2001/10/08 16:18:31 hno Exp $
  *
  * AUTHOR: Duane Wessels
  *
@@ -31,8 +31,8 @@
  *  
  */
 
-#ifndef _CONFIG_H_
-#define _CONFIG_H_
+#ifndef SQUID_CONFIG_H
+#define SQUID_CONFIG_H
 
 #include "autoconf.h"  /* For GNU autoconf variables */
 #include "version.h"
 #define squid_srandom srand
 #endif
 
-#endif /* _CONFIG_H_ */
+#endif /* SQUID_CONFIG_H */
index 00c703e42a4f4b7b6d4f319c556e5823a351fe52..9ed88beffdce3115b3f1b013edf104e7961cf91e 100644 (file)
@@ -1,7 +1,10 @@
 /*
- * $Id: hash.h,v 1.4 2000/10/31 23:48:08 wessels Exp $
+ * $Id: hash.h,v 1.5 2001/10/08 16:18:31 hno Exp $
  */
 
+#ifndef SQUID_HASH_H
+#define SQUID_HASH_H
+
 typedef void HASHFREE(void *);
 typedef int HASHCMP(const void *, const void *);
 typedef unsigned int HASHHASH(const void *, unsigned int);
@@ -56,3 +59,5 @@ extern const char *hashKeyStr(hash_link *);
  *  HASH_SIZE 65357             // prime number < 65536
  */
 #define  DEFAULT_HASH_SIZE 7951        /* prime number < 8192 */
+
+#endif /* SQUID_HASH_H */
index fac9c392c0d7c2228b41f3bd37b1f47ecc699545..28cb86953e2a161aa8a1c978049bdece87d9d068 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: heap.h,v 1.3 2001/01/12 00:37:12 wessels Exp $
+ * $Id: heap.h,v 1.4 2001/10/08 16:18:31 hno Exp $
  *
  * AUTHOR: John Dilley, Hewlett Packard
  *
@@ -41,8 +41,8 @@
  * are larger than their parent.
  ****************************************************************************/
 
-#ifndef        _heap_h_INCLUDED
-#define        _heap_h_INCLUDED
+#ifndef        SQUID_HEAP_H
+#define        SQUID_HEAP_H
 
 /*
  * Function for generating heap keys.  The first argument will typically be
@@ -175,4 +175,4 @@ extern void heap_printnode(char *msg, heap_node * elm);
 
 extern int verify_heap_property(heap *);
 
-#endif /* _heap_h_INCLUDED */
+#endif /* SQUID_HEAP_H */
index ab8d072e619c96fa6b325ff4d026851c827d8ca1..3e29aa250c16bead8c873545fd6b2ee1d5e1a78a 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * $Id: md5.h,v 1.9 2001/04/14 00:03:20 hno Exp $
+ * $Id: md5.h,v 1.10 2001/10/08 16:18:31 hno Exp $
  */
 
-#ifndef MD5_H
-#define MD5_H
+#ifndef SQUID_MD5_H
+#define SQUID_MD5_H
 
 #if USE_OPENSSL
 
@@ -63,4 +63,5 @@ void MD5Final(unsigned char[16], MD5_CTX *);
 #define MD5_DIGEST_CHARS         16
 
 #endif /* USE_OPENSSL */
-#endif /* MD5_H */
+
+#endif /* SQUID_MD5_H */
index 42bc6fe7001382212d92ac9fb30eb8fef7763b23..2d206047afca218889e058b236626198c2b46a5d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ntlmauth.h,v 1.5 2001/08/29 14:57:33 robertc Exp $
+ * $Id: ntlmauth.h,v 1.6 2001/10/08 16:18:31 hno Exp $
  *
  * * * * * * * * Legal stuff * * * * * * *
  *
@@ -50,8 +50,8 @@
  * It's put here as it is a common utility to all HTLM-enabled modules.
  */
 
-#ifndef _NTLMAUTH_H_
-#define _NTLMAUTH_H_
+#ifndef SQUID_NTLMAUTH_H
+#define SQUID_NTLMAUTH_H
 
 /* int*_t */
 #include "squid_types.h"
@@ -180,4 +180,4 @@ void ntlm_add_to_payload(char *payload, int *payload_length,
     strhdr * hdr, char *toadd,
     int toadd_length, int base_offset);
 
-#endif /* _NTLMAUTH_H_ */
+#endif /* SQUID_NTLMAUTH_H */
index 8dd6397fc5bd85b1fcb75d7a1c662280757b329a..eff4c142b4e757ca2ccb21c39a6d510ba5d2ee74 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * $Id: parse.h,v 1.9 2001/05/10 07:17:34 hno Exp $
+ * $Id: parse.h,v 1.10 2001/10/08 16:18:31 hno Exp $
  */
 
-#ifndef _HAVE_PARSE_H_
-#define _HAVE_PARSE_H_
+#ifndef SQUID_PARSE_H
+#define SQUID_PARSE_H
 
 /***********************************************************
        Copyright 1989 by Carnegie Mellon University
@@ -90,4 +90,5 @@ extern "C" {
 }
 
 #endif
-#endif                         /* _HAVE_PARSE_H_ */
+
+#endif                         /* SQUID_PARSE_H */
index 5101e8c08092a1ab7984b6f0246487b67e60c9de..49d756c94e4b879681b1ffaf6e0187f69785c193 100644 (file)
@@ -1,7 +1,10 @@
 /*
- * $Id: radix.h,v 1.9 2001/02/07 19:04:04 hno Exp $
+ * $Id: radix.h,v 1.10 2001/10/08 16:18:31 hno Exp $
  */
 
+#ifndef SQUID_RADIX_H
+#define        SQUID_RADIX_H
+
 /*
  * Copyright (c) 1988, 1989, 1993
  *      The Regents of the University of California.  All rights reserved.
@@ -37,8 +40,6 @@
  *      @(#)radix.h     8.2 (Berkeley) 10/31/94
  */
 
-#ifndef _RADIX_H_
-#define        _RADIX_H_
 #undef RN_DEBUG
 #ifndef __P
 #define __P(x) x
@@ -155,4 +156,5 @@ struct radix_node
           *rn_search_m __P((void *, struct radix_node *, void *));
 extern struct radix_node *rn_lookup(void *, void *, struct radix_node_head *);
 #define min(x,y) ((x)<(y)? (x) : (y))
-#endif /* _RADIX_H_ */
+
+#endif /* SQUID_RADIX_H */
index 67b15ee643033b6665c419ee8b45b12ab641f5b9..db17ecd6906eb30a7feea7f8fc4431de6c76bc35 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rfc1035.h,v 1.5 2001/01/12 00:37:12 wessels Exp $
+ * $Id: rfc1035.h,v 1.6 2001/10/08 16:18:31 hno Exp $
  *
  * AUTHOR: Duane Wessels
  *
@@ -31,8 +31,8 @@
  *  
  */
 
-#ifndef _RFC1035_H_
-#define _RFC1035_H_
+#ifndef SQUID_RFC1035_H
+#define SQUID_RFC1035_H
 
 #include "config.h"
 #if HAVE_SYS_TYPES_H
@@ -75,4 +75,4 @@ extern const char *rfc1035_error_message;
 #define RFC1035_TYPE_PTR 12
 #define RFC1035_CLASS_IN 1
 
-#endif /* ndef _RFC1035_H_ */
+#endif /* SQUID_RFC1035_H */
index bdeac3faa202a89f93e5a02a2e1be9e5e3543c48..7136d8f74a1650d334746c92a866792fa90f54c7 100644 (file)
@@ -14,7 +14,7 @@
 
 
 /*
- * $Id: rfc2617.h,v 1.2 2001/04/14 00:03:20 hno Exp $
+ * $Id: rfc2617.h,v 1.3 2001/10/08 16:18:31 hno Exp $
  *
  * DEBUG:
  * AUTHOR: RFC 2617 & Robert Collins
@@ -47,8 +47,8 @@
  *
  */
 
-#ifndef RFC2617_H
-#define RFC2617_H
+#ifndef SQUID_RFC2617_H
+#define SQUID_RFC2617_H
 
 #define HASHLEN 16
 typedef char HASH[HASHLEN];
@@ -84,4 +84,4 @@ void CvtHex(const HASH Bin, HASHHEX Hex);
 
 void CvtBin(const HASHHEX Hex, HASH Bin);
 
-#endif /* RFC 2617 */
+#endif /* SQUID_RFC2617_H */
index 954fe9198116be3e7f3517573ec4582c0c3d67a6..2da0b22e3aaf062738762134426a5a9673e85307 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
-#ifndef _SNMP_INTERNAL_H_
-#define _SNMP_INTERNAL_H_
+#ifndef SQUID_SNMP_INTERNAL_H
+#define SQUID_SNMP_INTERNAL_H
 
 /**********************************************************************
  *
@@ -24,7 +24,7 @@
  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  * SOFTWARE.
  * 
- * $Id: snmp-internal.h,v 1.2 2001/05/19 17:56:41 hno Exp $
+ * $Id: snmp-internal.h,v 1.3 2001/10/08 16:18:31 hno Exp $
  * 
  **********************************************************************/
 
@@ -32,4 +32,4 @@
 #define SNMP_TRAP_PORT     162
 #define SNMP_MAX_LEN       484
 
-#endif /* _SNMP_INTERNAL_H_ */
+#endif /* SQUID_SNMP_INTERNAL_H */
index 0a8def2f2dedfd55b78815bf636d8d20f8f3c47f..71ca7b9c01eaca0a57dce5e863b29f10fa27a374 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
-#ifndef _SNMP_MIB_H_
-#define _SNMP_MIB_H_
+#ifndef SQUID_SNMP_MIB_H
+#define SQUID_SNMP_MIB_H
 
 /***************************************************************************
  *
@@ -26,7 +26,7 @@
  * 
  * Author: Ryan Troll <ryan+@andrew.cmu.edu>
  * 
- * $Id: snmp-mib.h,v 1.2 1998/04/04 01:43:42 kostas Exp $
+ * $Id: snmp-mib.h,v 1.3 2001/10/08 16:18:31 hno Exp $
  * 
  ***************************************************************************/
 
@@ -35,4 +35,5 @@
 #if 0
 #include <mib.h>               /* Then the function definitions */
 #endif
-#endif /* _SNMP_MIB_H_ */
+
+#endif /* SQUID_SNMP_MIB_H */
index 849c765bed2668aa2914d798ccd2a53380c41767..92ae4c8b07c18470babcc575e57033201caf05fa 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _SNMP_H_
-#define _SNMP_H_
+#ifndef SQUID_SNMP_H
+#define SQUID_SNMP_H
 
 /*
  * Definitions for the Simple Network Management Protocol (RFC 1067).
@@ -27,7 +27,7 @@
  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  * SOFTWARE.
  * 
- * $Id: snmp.h,v 1.13 1998/04/04 01:43:42 kostas Exp $
+ * $Id: snmp.h,v 1.14 2001/10/08 16:18:31 hno Exp $
  * 
  **********************************************************************/
 
@@ -72,4 +72,4 @@
 #include "snmp_compat.h"
 #include "snmp_debug.h"
 
-#endif /* _SNMP_H_ */
+#endif /* SQUID_SNMP_H */
index beafe2d4c9b5b98d3308644ed2ed52e2877b936c..e8a13131b3824e92533f5328d7e3820b611fd497 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * $Id: snmp_api.h,v 1.11 1998/09/23 17:20:01 wessels Exp $
+ * $Id: snmp_api.h,v 1.12 2001/10/08 16:18:31 hno Exp $
  */
 
-#ifndef _SNMP_API_H_
-#define _SNMP_API_H_
+#ifndef SQUID_SNMP_API_H
+#define SQUID_SNMP_API_H
 
 #include "config.h"
 #ifdef HAVE_SYS_TIME_H
@@ -187,4 +187,5 @@ extern "C" {
 }
 
 #endif
-#endif                         /* _SNMP_API_H_ */
+
+#endif                         /* SQUID_SNMP_API_H */
index 4cb8135e1187f4fb730b271c2173de272d8b3992..7831c10259027c52e4a7ca3f891bd9ae89452788 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
-#ifndef _SNMP_API_ERROR_H_
-#define _SNMP_API_ERROR_H_
+#ifndef SQUID_SNMP_API_ERROR_H
+#define SQUID_SNMP_API_ERROR_H
 
 /***************************************************************************
  *
@@ -26,7 +26,7 @@
  * 
  * Author: Ryan Troll <ryan+@andrew.cmu.edu>
  * 
- * $Id: snmp_api_error.h,v 1.2 1998/04/04 01:43:43 kostas Exp $
+ * $Id: snmp_api_error.h,v 1.3 2001/10/08 16:18:31 hno Exp $
  * 
  ***************************************************************************/
 
@@ -67,4 +67,5 @@ extern "C" {
 }
 
 #endif
-#endif                         /* _SNMP_API_ERROR_H_ */
+
+#endif                         /* SQUID_SNMP_API_ERROR_H */
index a30517167254ece644c9a0e79b76655025d9e17f..cb1f1884e0696cb53e7c94dad71194a1c619bdff 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * $Id: snmp_api_util.h,v 1.3 1998/09/23 17:20:01 wessels Exp $
+ * $Id: snmp_api_util.h,v 1.4 2001/10/08 16:18:31 hno Exp $
  */
 
-#ifndef _SNMP_API_UTIL_H_
-#define _SNMP_API_UTIL_H_
+#ifndef SQUID_SNMP_API_UTIL_H
+#define SQUID_SNMP_API_UTIL_H
 
 /***********************************************************
        Copyright 1997 by Carnegie Mellon University
@@ -94,4 +94,5 @@ extern "C" {
 }
 
 #endif
-#endif                         /* _SNMP_API_UTIL_H_ */
+
+#endif                         /* SQUID_SNMP_API_UTIL_H */
index 8184ae364d02e3d9d26a91f1d8000b620fff82d6..e269f3ba1fdc60918cf7467a82cd49f888f741db 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * $Id: snmp_client.h,v 1.7 2001/01/07 09:55:22 hno Exp $
+ * $Id: snmp_client.h,v 1.8 2001/10/08 16:18:31 hno Exp $
  */
 
-#ifndef _SNMP_CLIENT_H_
-#define _SNMP_CLIENT_H_
+#ifndef SQUID_SNMP_CLIENT_H
+#define SQUID_SNMP_CLIENT_H
 
 /*
  * snmp_client.h
@@ -59,6 +59,6 @@ extern "C" {
 
 #ifdef __cplusplus
 }
-
 #endif
-#endif                         /* _SNMP_CLIENT_H_ */
+
+#endif                         /* SQUID_SNMP_CLIENT_H */
index f32de2cf97882907cd91d31afc578ab8b6791fb5..b150944417874de1c00e66fc874ca06ad97af234 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
-#ifndef _SNMP_COEXISTANCE_H_
-#define _SNMP_COEXISTANCE_H_
+#ifndef SQUID_SNMP_COEXISTANCE_H
+#define SQUID_SNMP_COEXISTANCE_H
 
 /**********************************************************************
  *
@@ -26,7 +26,7 @@
  * 
  * Author: Ryan Troll <ryan+@andrew.cmu.edu>
  * 
- * $Id: snmp_coexist.h,v 1.2 1998/04/04 01:43:44 kostas Exp $
+ * $Id: snmp_coexist.h,v 1.3 2001/10/08 16:18:31 hno Exp $
  * 
  **********************************************************************/
 
@@ -39,6 +39,6 @@ extern "C" {
 
 #ifdef __cplusplus
 }
-
 #endif
-#endif                         /* _SNMP_COEXISTANCE_H_ */
+
+#endif                         /* SQUID_SNMP_COEXISTANCE_H */
index 154dab8bef50dd015b3bfd9291fb47655e28a84a..f08bc59aa698d265beeb074c3af32a1faa929825 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * $Id: snmp_debug.h,v 1.6 1999/01/11 21:55:34 wessels Exp $
+ * $Id: snmp_debug.h,v 1.7 2001/10/08 16:18:31 hno Exp $
  */
 
-#ifndef SNMP_DEBUG_H
-#define SNMP_DEBUG_H
+#ifndef SQUID_SNMP_DEBUG_H
+#define SQUID_SNMP_DEBUG_H
 
 #if STDC_HEADERS
 extern void snmplib_debug(int, char *,...);
@@ -11,4 +11,4 @@ extern void snmplib_debug(int, char *,...);
 extern void snmplib_debug(va_alist);
 #endif
 
-#endif
+#endif /* SQUID_SNMP_DEBUG_H */
index 5812958ec6678191da50434e07d96e6d87238f1e..6045a9d0306897aaba94fb3e3ebbc3373c25c83c 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
-#ifndef _SNMP_ERROR_H_
-#define _SNMP_ERROR_H_
+#ifndef SQUID_SNMP_ERROR_H
+#define SQUID_SNMP_ERROR_H
 
 /**********************************************************************
  *
@@ -24,7 +24,7 @@
  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  * SOFTWARE.
  * 
- * $Id: snmp_error.h,v 1.2 1998/04/04 01:43:46 kostas Exp $
+ * $Id: snmp_error.h,v 1.3 2001/10/08 16:18:31 hno Exp $
  * 
  **********************************************************************/
 
@@ -63,6 +63,6 @@ extern "C" {
 
 #ifdef __cplusplus
 }
-
 #endif
-#endif                         /* _SNMP_ERROR_H_ */
+
+#endif                         /* SQUID_SNMP_ERROR_H */
index d3cb8c0066f0910e8355b6a7724e522161ea22d8..c1dfcb83994afacaec1698418b843f9c71bd7075 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * $Id: snmp_impl.h,v 1.11 1998/09/23 17:20:03 wessels Exp $
+ * $Id: snmp_impl.h,v 1.12 2001/10/08 16:18:31 hno Exp $
  */
 
-#ifndef _SNMP_IMPL_H_
-#define _SNMP_IMPL_H_
+#ifndef SQUID_SNMP_IMPL_H
+#define SQUID_SNMP_IMPL_H
 
 /*
  * Definitions for SNMP (RFC 1067) implementation.
@@ -97,4 +97,4 @@ struct trapVar {
 /* from snmp.c */
 extern u_char sid[];           /* size SID_MAX_LEN */
 
-#endif /* _SNMP_IMPL_H_ */
+#endif /* SQUID_SNMP_IMPL_H */
index 06525b133854bd33407bc66dc0560d8d8bcf8ffb..7c6f44b6e666745597916182da5e503035befcc7 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
-#ifndef _SNMP_MSG_H_
-#define _SNMP_MSG_H_
+#ifndef SQUID_SNMP_MSG_H
+#define SQUID_SNMP_MSG_H
 
 /**********************************************************************
  *
@@ -26,7 +26,7 @@
  * 
  * Author: Ryan Troll <ryan+@andrew.cmu.edu>
  * 
- * $Id: snmp_msg.h,v 1.2 1998/04/04 01:43:48 kostas Exp $
+ * $Id: snmp_msg.h,v 1.3 2001/10/08 16:18:31 hno Exp $
  * 
  **********************************************************************/
 
@@ -46,4 +46,5 @@ extern "C" {
 }
 
 #endif
-#endif                         /* _SNMP_MSG_H_ */
+
+#endif /* SQUID_SNMP_MSG_H */
index 16b0b11a2c08a04b6066aed02fc37b3fa70e5739..1167e40e6d4b130e8a4ae407b1097fdfdb783118 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _SNMP_PDU_H_
-#define _SNMP_PDU_H_
+#ifndef SQUID_SNMP_PDU_H
+#define SQUID_SNMP_PDU_H
 
 /**********************************************************************
  *
@@ -25,7 +25,7 @@
  * 
  * Author: Ryan Troll <ryan+@andrew.cmu.edu>
  * 
- * $Id: snmp_pdu.h,v 1.4 2001/01/07 10:57:14 hno Exp $
+ * $Id: snmp_pdu.h,v 1.5 2001/10/08 16:18:31 hno Exp $
  * 
  **********************************************************************/
 
@@ -103,4 +103,5 @@ void snmp_add_null_var(struct snmp_pdu *, oid *, int);
 #define SNMP_TRAP_AUTHENTICATIONFAILURE (0x4)
 #define SNMP_TRAP_EGPNEIGHBORLOSS       (0x5)
 #define SNMP_TRAP_ENTERPRISESPECIFIC    (0x6)
-#endif /* _SNMP_PDU_H_ */
+
+#endif /* SQUID_SNMP_PDU_H */
index 5c2d891d2e97788969529941f5da0519e1cbaa60..751a5c372d5af6af72ce36a1eb0982b05daac4c9 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
-#ifndef _SNMP_SESSION_H_
-#define _SNMP_SESSION_H_
+#ifndef SQUID_SNMP_SESSION_H
+#define SQUID_SNMP_SESSION_H
 
 /**********************************************************************
  *
@@ -24,7 +24,7 @@
  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  * SOFTWARE.
  * 
- * $Id: snmp_session.h,v 1.2 1998/04/04 01:43:50 kostas Exp $
+ * $Id: snmp_session.h,v 1.3 2001/10/08 16:18:31 hno Exp $
  * 
  **********************************************************************/
 
@@ -51,4 +51,4 @@ struct snmp_session {
 #define RECEIVED_MESSAGE   1
 #define TIMED_OUT         2
 
-#endif /* _SNMP_SESSION_H_ */
+#endif /* SQUID_SNMP_SESSION_H */
index ba26dc9c4119630b7b1ccf3c60b16e8d72a91c88..5b2b3fd93e657905ac4b3e948178dac2c0cae7c6 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * $Id: snmp_util.h,v 1.7 2001/01/07 10:57:14 hno Exp $
+ * $Id: snmp_util.h,v 1.8 2001/10/08 16:18:31 hno Exp $
  */
 
-#ifndef SNMP_UTIL_H
-#define SNMP_UTIL_H
+#ifndef SQUID_SNMP_UTIL_H
+#define SQUID_SNMP_UTIL_H
 
 /* call a function at regular intervals (in seconds): */
 extern void snmp_alarm(int ival, void (*handler) (void));
@@ -46,4 +46,4 @@ int Util_file_read(char *file, int offset, char *data, int dataSz);
 int Util_file_write(char *file, int offset, char *data, int dataSz);
 
 /* ---------------------------------------------------------------------- */
-#endif
+#endif /* SQUID_SNMP_UTIL_H */
index 3532ae250da5e73cbe96335a8c6876268b8539d6..fed333b6e846b3ba26318db0bf8e14c9f3ff6441 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _SNMP_VARS_H_
-#define _SNMP_VARS_H_
+#ifndef SQUID_SNMP_VARS_H
+#define SQUID_SNMP_VARS_H
 
 /**********************************************************************
  *
@@ -25,7 +25,7 @@
  * 
  * Author: Ryan Troll <ryan+@andrew.cmu.edu>
  * 
- * $Id: snmp_vars.h,v 1.10 2001/01/07 10:57:14 hno Exp $
+ * $Id: snmp_vars.h,v 1.11 2001/10/08 16:18:31 hno Exp $
  * 
  **********************************************************************/
 
@@ -73,4 +73,4 @@ u_char *snmp_var_DecodeVarBind(u_char *, int *, struct variable_list **, int);
 typedef struct variable variable;
 typedef struct variable_list variable_list;
 
-#endif /* _SNMP_VARS_H_ */
+#endif /* SQUID_SNMP_VARS_H */
index 6ea042582104c4882625d5c52bd17ed4a2554cb6..c4c5c9216ae8509c6ac64b5025e7ada34d47bb86 100644 (file)
@@ -1,7 +1,10 @@
 /*
- * $Id: snprintf.h,v 1.5 2001/01/10 20:16:36 hno Exp $
+ * $Id: snprintf.h,v 1.6 2001/10/08 16:18:31 hno Exp $
  */
 
+#ifndef SQUID_SNPRINTF_H
+#define SQUID_SNPRINTF_H
+
 /* if you have configure you can use this */
 #if defined(HAVE_CONFIG_H)
 #include "config.h"
@@ -47,3 +50,5 @@ int vsnprintf(char *str, size_t count, const char *fmt, va_list arg);
 int vsnprintf();
 #endif
 #endif
+
+#endif /* SQUID_SNPRINTF_H */
index ad99b5bf0895c66e47e0a0d8a37fe35cf0d44a33..cb87ffc735f9c4b8ccab66821614fa68d435084f 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * $Id: splay.h,v 1.9 2001/01/07 14:44:32 hno Exp $
+ * $Id: splay.h,v 1.10 2001/10/08 16:18:31 hno Exp $
  */
 
-#ifndef _SPLAY_H
-#define _SPLAY_H
+#ifndef SQUID_SPLAY_H
+#define SQUID_SPLAY_H
 
 typedef struct _splay_node {
     void *data;
@@ -22,4 +22,4 @@ extern splayNode *splay_splay(const void *, splayNode *, SPLAYCMP *);
 extern void splay_destroy(splayNode *, SPLAYFREE *);
 extern void splay_walk(splayNode *, SPLAYWALKEE *, void *);
 
-#endif /* _SPLAY_H */
+#endif /* SQUID_SPLAY_H */
index abb23df61d2615ad24838a751b234b6bbf5a2080..92389de4a737dbdd097be3adaaa71dbb78f04a1a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: squid_types.h,v 1.1 2001/02/25 21:49:09 hno Exp $
+ * $Id: squid_types.h,v 1.2 2001/10/08 16:18:31 hno Exp $
  *
  * * * * * * * * Legal stuff * * * * * * *
  *
@@ -50,8 +50,8 @@
  * header to include which takes care of proper preprocessor stuff
  */
 
-#ifndef _SQUID_TYPES_H_
-#define _SQUID_TYPES_H_
+#ifndef SQUID_TYPES_H
+#define SQUID_TYPES_H
 
 #include "autoconf.h"
 
@@ -72,4 +72,4 @@
 #endif
 #endif /* HAVE_GLIB_H */
 
-#endif /* _SQUID_TYPES_H_ */
+#endif /* SQUID_TYPES_H */
index 55f5b5c03c78a64c7f2c5b43d7c85b3983e13102..92516d825d664c7912f64f326bff8e9f05742348 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: tempnam.h,v 1.10 1998/09/23 17:20:06 wessels Exp $
+ * $Id: tempnam.h,v 1.11 2001/10/08 16:18:31 hno Exp $
  */
 
 
@@ -20,7 +20,7 @@
  * not, write to the Free Software Foundation, Inc., 675 Mass Ave,
  * Cambridge, MA 02139, USA.  */
 
-#ifndef _TEMPNAM_H
-#define _TEMPNAM_H
+#ifndef SQUID_TEMPNAM_H
+#define SQUID_TEMPNAM_H
 extern char *tempnam(const char *, const char *);
-#endif /* _TEMPNAM_H */
+#endif /* SQUID_TEMPNAM_H */
index 65fd3013081bc09f657caa48433e2dd66eb0731c..ac5577d36450ad89dde4bb1a9a60dfbce906a9d4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: util.h,v 1.60 2001/06/29 14:48:07 hno Exp $
+ * $Id: util.h,v 1.61 2001/10/08 16:18:31 hno Exp $
  *
  * AUTHOR: Harvest Derived
  *
@@ -31,8 +31,8 @@
  *  
  */
 
-#ifndef _UTIL_H_
-#define _UTIL_H_
+#ifndef SQUID_UTIL_H
+#define SQUID_UTIL_H
 
 #include "config.h"
 #include <stdio.h>
@@ -132,4 +132,4 @@ double drand48(void);
  */
 int statMemoryAccounted(void);
 
-#endif /* ndef _UTIL_H_ */
+#endif /* SQUID_UTIL_H */
index 1f710d0e2ccef02c2885d418ab6064ff18d98e82..e4fe553d4f1dd023e658b8a6be9fdfd3cee962fa 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: defines.h,v 1.94 2001/08/16 00:16:16 hno Exp $
+ * $Id: defines.h,v 1.95 2001/10/08 16:18:32 hno Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -31,6 +31,9 @@
  *
  */
 
+#ifndef SQUID_STRUCTS_H
+#define SQUID_STRUCTS_H
+
 #ifndef TRUE
 #define TRUE 1
 #endif
 #define _WIN_OS_WIN2K  5
 #define _WIN_OS_WINXP  6
 #endif
+
+#endif /* SQUID_STRUCTS_H */
index 02a51e5c791f2d4638ff372caed9fef3a280f92d..474cce6ea5d65f00de73f27df7f8be10bde3f074 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: enums.h,v 1.195 2001/09/07 18:02:44 adrian Exp $
+ * $Id: enums.h,v 1.196 2001/10/08 16:18:32 hno Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -31,6 +31,9 @@
  *
  */
 
+#ifndef SQUID_ENUMS_H
+#define SQUID_ENUMS_H
+
 typedef enum {
     LOG_TAG_NONE,
     LOG_TCP_HIT,
@@ -723,3 +726,5 @@ enum {
     VARY_OTHER,
     VARY_CANCEL
 };
+
+#endif /* SQUID_ENUMS_H */
index c2bdcf35d10b7cc56aac6a1f1cf5a9f0d114b259..5600fdbb8f24c802d72c8e626fc2fd38272e00a1 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: globals.h,v 1.106 2001/08/31 11:19:12 robertc Exp $
+ * $Id: globals.h,v 1.107 2001/10/08 16:18:32 hno Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -31,6 +31,9 @@
  *
  */
 
+#ifndef SQUID_GLOBALS_H
+#define SQUID_GLOBALS_H
+
 extern FILE *debug_log;                /* NULL */
 extern SquidConfig Config;
 extern SquidConfig2 Config2;
@@ -158,3 +161,5 @@ extern int incoming_sockets_accepted;
 extern unsigned int WIN32_OS_version;  /* 0 */
 extern char *WIN32_OS_string;
 #endif
+
+#endif /* SQUID_GLOBALS_H */
index bd37f9da7a0fac957728a395dd497de0c504eedd..363887296c18a94023060b3c97b47dbcfd675d0f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: protos.h,v 1.412 2001/09/09 19:57:10 hno Exp $
+ * $Id: protos.h,v 1.413 2001/10/08 16:18:32 hno Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -31,6 +31,9 @@
  *
  */
 
+#ifndef SQUID_PROTOS_H
+#define SQUID_PROTOS_H
+
 extern void accessLogLog(AccessLogEntry *);
 extern void accessLogRotate(void);
 extern void accessLogClose(void);
@@ -1315,3 +1318,5 @@ int varyEvaluateMatch(StoreEntry * entry, request_t * req);
 extern int WIN32_Subsystem_Init(void);
 extern void WIN32_Exit(void);
 #endif
+
+#endif /* SQUID_PROTOS_H */
index a6949d12c4f55bd548eef1902f53c58987c0435d..cb9ac22ed152277ece81f5740b88bde9e303dbf3 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ssl_support.h,v 1.2 2001/05/04 13:37:42 hno Exp $
+ * $Id: ssl_support.h,v 1.3 2001/10/08 16:18:33 hno Exp $
  *
  * AUTHOR: Benno Rice
  *
@@ -32,8 +32,8 @@
  *
  */
 
-#ifndef SSL_SUPPORT_H
-#define SSL_SUPPORT_H
+#ifndef SQUID_SSL_SUPPORT_H
+#define SQUID_SSL_SUPPORT_H
 
 #include "config.h"
 #if HAVE_OPENSSL_SSL_H
@@ -47,4 +47,4 @@ SSL_CTX *sslLoadCert(const char *certfile, const char *keyfile);
 int ssl_read_method(int, char *, int);
 int ssl_write_method(int, const char *, int);
 
-#endif /* SSL_SUPPORT_H */
+#endif /* SQUID_SSL_SUPPORT_H */
index e6bb1b7568aacf426dd1a08eddfeef41525fbe7f..5a3c92f74e5403d6e3fd21962fefbf2a6883617e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: structs.h,v 1.401 2001/10/08 15:05:11 hno Exp $
+ * $Id: structs.h,v 1.402 2001/10/08 16:18:33 hno Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -31,6 +31,9 @@
  *
  */
 
+#ifndef SQUID_STRUCTS_H
+#define SQUID_STRUCTS_H
+
 #include "config.h"
 #include "splay.h"
 
@@ -2137,3 +2140,5 @@ struct cache_dir_option {
     void (*parse) (SwapDir * sd, const char *option, const char *value, int reconfiguring);
     void (*dump) (StoreEntry * e, const char *option, SwapDir * sd);
 };
+
+#endif /* SQUID_STRUCTS_H */
index 433051c57e3cbd6ee5c7dc75847d951d05fea8a7..209429b6555f1f3fec25f87e541f0dccf4e69973 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: typedefs.h,v 1.130 2001/08/03 15:13:04 adrian Exp $
+ * $Id: typedefs.h,v 1.131 2001/10/08 16:18:33 hno Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -31,8 +31,8 @@
  *
  */
 
-#ifndef _TYPEDEFS_H_
-#define _TYPEDEFS_H_
+#ifndef SQUID_TYPEDEFS_H
+#define SQUID_TYPEDEFS_H
 
 typedef unsigned int store_status_t;
 typedef unsigned int mem_status_t;
@@ -358,4 +358,4 @@ typedef RemovalPolicy *REMOVALPOLICYCREATE(wordlist * args);
 
 typedef int STDIRSELECT(const StoreEntry *);
 
-#endif /* _TYPEDEFS_H_ */
+#endif /* SQUID_TYPEDEFS_H */