* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ASSERT_H
-#define SQUID_ASSERT_H
+#ifndef SQUID_COMPAT_ASSERT_H
+#define SQUID_COMPAT_ASSERT_H
#if PURIFY
#define assert(EX) ((void)0)
#endif
xassert(const char *, const char *, int);
-#endif /* SQUID_ASSERT_H */
+#endif /* SQUID_COMPAT_ASSERT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_COMPAT_H
-#define _SQUID_COMPAT_H
+#ifndef SQUID_COMPAT_COMPAT_H
+#define SQUID_COMPAT_COMPAT_H
/*
* From discussions it was chosen to push compat code as far down as possible.
/* Valgrind API macros changed between two versions squid supports */
#include "compat/valgrind.h"
-#endif /* _SQUID_COMPAT_H */
+#endif /* SQUID_COMPAT_COMPAT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_COMPAT_SHARED_H
-#define _SQUID_COMPAT_SHARED_H
+#ifndef SQUID_COMPAT_COMPAT_SHARED_H
+#define SQUID_COMPAT_COMPAT_SHARED_H
/*
* This file contains all the compatibility and portability hacks
#define PRINTF_FORMAT_ARG3
#endif
-#endif /* _SQUID_COMPAT_SHARED_H */
+#endif /* SQUID_COMPAT_COMPAT_SHARED_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef COMPAT_DEBUG_H
-#define COMPAT_DEBUG_H
+#ifndef SQUID_COMPAT_DEBUG_H
+#define SQUID_COMPAT_DEBUG_H
/*
* A debug method for use of external helpers and tools.
void debug(const char *format,...);
#endif
-#endif /* COMPAT_DEBUG_H */
+#endif /* SQUID_COMPAT_DEBUG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FDSETSIZE_H
-#define SQUID_FDSETSIZE_H
+#ifndef SQUID_COMPAT_FDSETSIZE_H
+#define SQUID_COMPAT_FDSETSIZE_H
/****************************************************************************
*--------------------------------------------------------------------------*
# endif
#endif
-#endif /* SQUID_FDSETSIZE_H */
+#endif /* SQUID_COMPAT_FDSETSIZE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_INITGROUPS_H
-#define SQUID_INITGROUPS_H
+#ifndef SQUID_COMPAT_INITGROUPS_H
+#define SQUID_COMPAT_INITGROUPS_H
#if !HAVE_INITGROUPS
SQUIDCEXTERN int initgroups(const char *user, gid_t group);
#endif
-#endif /* SQUID_INITGROPS_H */
+#endif /* SQUID_COMPAT_INITGROUPS_H */
# endif
#endif /* HAVE_KRB5_H */
-#endif /* _SQUID__COMPAT_KRB5_H */
+#endif /* SQUID_COMPAT_KRB5_H */
* can be dropped.
*/
-#ifndef OPENSSL_COMPAT_H
-#define OPENSSL_COMPAT_H
+#ifndef SQUID_COMPAT_OPENSSL_H
+#define SQUID_COMPAT_OPENSSL_H
#if !USE_OPENSSL
#error compat/openssl.h depends on USE_OPENSSL
#endif
}
-#endif /* OPENSSL_COMPAT_H */
+#endif /* SQUID_COMPAT_OPENSSL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_AIX_H
-#define SQUID_OS_AIX_H
+#ifndef SQUID_COMPAT_OS_AIX_H
+#define SQUID_COMPAT_OS_AIX_H
#if _SQUID_AIX_
#endif
#endif /* _SQUID_AIX_ */
-#endif /* SQUID_OS_AIX_H */
+#endif /* SQUID_COMPAT_OS_AIX_H */
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_ANDROID_H
-#define SQUID_OS_ANDROID_H
+#ifndef SQUID_COMPAT_OS_ANDROID_H
+#define SQUID_COMPAT_OS_ANDROID_H
#if defined(__ANDROID__)
/****************************************************************************
#define _SQUID_ANDROID_ 1
#endif /* _SQUID_ANDROID_ */
-#endif /* SQUID_OS_ANDROID_H */
+#endif /* SQUID_COMPAT_OS_ANDROID_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_DRAGONFLY_H
-#define SQUID_OS_DRAGONFLY_H
+#ifndef SQUID_COMPAT_OS_DRAGONFLY_H
+#define SQUID_COMPAT_OS_DRAGONFLY_H
#if _SQUID_DRAGONFLY_
#endif
#endif /* _SQUID_DRAGONFLY_ */
-#endif /* SQUID_OS_DRAGONFLY_H */
+#endif /* SQUID_COMPAT_OS_DRAGONFLY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_FREEBSD_H
-#define SQUID_OS_FREEBSD_H
+#ifndef SQUID_COMPAT_OS_FREEBSD_H
+#define SQUID_COMPAT_OS_FREEBSD_H
#if _SQUID_FREEBSD_
#define s6_addr32 __u6_addr.__u6_addr32
#endif /* _SQUID_FREEBSD_ */
-#endif /* SQUID_OS_FREEBSD_H */
+#endif /* SQUID_COMPAT_OS_FREEBSD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_HPUX_H
-#define SQUID_OS_HPUX_H
+#ifndef SQUID_COMPAT_OS_HPUX_H
+#define SQUID_COMPAT_OS_HPUX_H
#if _SQUID_HPUX_
#endif
#endif /* _SQUID_HPUX_ */
-#endif /* SQUID_OS_HPUX_H */
+#endif /* SQUID_COMPAT_OS_HPUX_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_LINUX_H
-#define SQUID_OS_LINUX_H
+#ifndef SQUID_COMPAT_OS_LINUX_H
+#define SQUID_COMPAT_OS_LINUX_H
#if _SQUID_LINUX_
#endif
#endif /* _SQUID_LINUX_ */
-#endif /* SQUID_OS_LINUX_H */
+#endif /* SQUID_COMPAT_OS_LINUX_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_MACOSX_H
-#define SQUID_OS_MACOSX_H
+#ifndef SQUID_COMPAT_OS_MACOSX_H
+#define SQUID_COMPAT_OS_MACOSX_H
#if _SQUID_APPLE_
#include "compat/cmsg.h"
#endif /* _SQUID_APPLE_ */
-#endif /* SQUID_OS_MACOSX_H */
+#endif /* SQUID_COMPAT_OS_MACOSX_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_MINGW_H
-#define SQUID_OS_MINGW_H
+#ifndef SQUID_COMPAT_OS_MINGW_H
+#define SQUID_COMPAT_OS_MINGW_H
#if _SQUID_MINGW_
#endif
#endif /* _SQUID_MINGW_*/
-#endif /* SQUID_OS_MINGW_H */
+#endif /* SQUID_COMPAT_OS_MINGW_H */
* AUTHOR: Guido Serassio <serassio@squid-cache.org>
*/
-#ifndef SQUID_OS_MSWINDOWS_H
-#define SQUID_OS_MSWINDOWS_H
+#ifndef SQUID_COMPAT_OS_MSWINDOWS_H
+#define SQUID_COMPAT_OS_MSWINDOWS_H
#if _SQUID_WINDOWS_
void WIN32_maperror(unsigned long WIN32_oserrno);
#endif /* _SQUID_WINDOWS_ */
-#endif /* SQUID_OS_MSWINDOWS_H */
+#endif /* SQUID_COMPAT_OS_MSWINDOWS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_NETBSD_H
-#define SQUID_OS_NETBSD_H
+#ifndef SQUID_COMPAT_OS_NETBSD_H
+#define SQUID_COMPAT_OS_NETBSD_H
#if _SQUID_NETBSD_
#define s6_addr32 __u6_addr.__u6_addr32
#endif /* _SQUID_NETBSD_ */
-#endif /* SQUID_OS_NETBSD_H */
+#endif /* SQUID_COMPAT_OS_NETBSD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_OPENBSD_H
-#define SQUID_OS_OPENBSD_H
+#ifndef SQUID_COMPAT_OS_OPENBSD_H
+#define SQUID_COMPAT_OS_OPENBSD_H
#if _SQUID_OPENBSD_
#endif
#endif /* _SQUID_OPENBSD_ */
-#endif /* SQUID_OS_OPENBSD_H */
+#endif /* SQUID_COMPAT_OS_OPENBSD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_OS2_H
-#define SQUID_OS_OS2_H
+#ifndef SQUID_COMPAT_OS_OS2_H
+#define SQUID_COMPAT_OS_OS2_H
#if _SQUID_OS2_
*/
#endif /* _SQUID_OS2_ */
-#endif /* SQUID_OS_OS2_H */
+#endif /* SQUID_COMPAT_OS_OS2_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_QNX_H
-#define SQUID_OS_QNX_H
+#ifndef SQUID_COMPAT_OS_QNX_H
+#define SQUID_COMPAT_OS_QNX_H
#if _SQUID_QNX_
#include <unix.h>
#endif /* _SQUID_QNX_ */
-#endif /* SQUID_OS_QNX_H */
+#endif /* SQUID_COMPAT_OS_QNX_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_SGI_H
-#define SQUID_OS_SGI_H
+#ifndef SQUID_COMPAT_OS_SGI_H
+#define SQUID_COMPAT_OS_SGI_H
#if _SQUID_SGI_
#endif /* USE_ASYNC_IO */
#endif /* _SQUID_SGI_ */
-#endif /* SQUID_OS_SGI_H */
+#endif /* SQUID_COMPAT_OS_SGI_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_SOLARIS_H
-#define SQUID_OS_SOLARIS_H
+#ifndef SQUID_COMPAT_OS_SOLARIS_H
+#define SQUID_COMPAT_OS_SOLARIS_H
#if _SQUID_SOLARIS_
#endif
#endif /* _SQUID_SOLARIS_ */
-#endif /* SQUID_OS_SOALRIS_H */
+#endif /* SQUID_COMPAT_OS_SOLARIS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_OS_SUNOS_H
-#define SQUID_OS_SUNOS_H
+#ifndef SQUID_COMPAT_OS_SUNOS_H
+#define SQUID_COMPAT_OS_SUNOS_H
#if _SQUID_SUNOS_
#define SQUID_NONBLOCK O_NDELAY
#endif /* _SQUID_SUNOS_ */
-#endif /* SQUID_OS_SUNOS_H */
+#endif /* SQUID_COMPAT_OS_SUNOS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef __SQUID_PSIGNAL_H
-#define __SQUID_PSIGNAL_H
+#ifndef SQUID_COMPAT_PSIGNAL_H
+#define SQUID_COMPAT_PSIGNAL_H
#if HAVE_SIGNAL_H
#include <signal.h>
extern void psignal(int sig, const char* msg);
-#endif /* __SQUID_PSIGNAL_H */
+#endif /* SQUID_COMPAT_PSIGNAL_H */
/// Determines whether segment names are iterpreted as full file paths.
bool shm_portable_segment_name_is_path();
-#endif /* SQUID_COMPAT_CPU_H */
+#endif /* SQUID_COMPAT_SHM_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_COMPAT_XSTATVFS_H
-#define _SQUID_COMPAT_XSTATVFS_H
+#ifndef SQUID_COMPAT_STATVFS_H
+#define SQUID_COMPAT_STATVFS_H
#if HAVE_SYS_STATVFS_H && HAVE_STATVFS
#include <sys/statvfs.h>
#endif
-#endif /* _SQUID_COMPAT_XSTATVFS_H */
+#endif /* SQUID_COMPAT_STATVFS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_COMPAT_STDIO_H
-#define _SQUID_COMPAT_STDIO_H
+#ifndef SQUID_COMPAT_STDIO_H
+#define SQUID_COMPAT_STDIO_H
/** 64-bit broken <cstdio>
*
#define MAXPATHLEN SQUID_MAXPATHLEN
#endif
-#endif /* _SQUID_COMPAT_STDIO_H */
+#endif /* SQUID_COMPAT_STDIO_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_STDVARARGS_H
-#define _SQUID_STDVARARGS_H
+#ifndef SQUID_COMPAT_STDVARARGS_H
+#define SQUID_COMPAT_STDVARARGS_H
/*
* va_* variables come from various places on different platforms.
#include <syslog.h>
#endif
-#endif /* _SQUID_STDVARARGS_H */
+#endif /* SQUID_COMPAT_STDVARARGS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef COMPAT_STRNRCHR_H_
-#define COMPAT_STRNRCHR_H_
+#ifndef SQUID_COMPAT_STRNRCHR_H
+#define SQUID_COMPAT_STRNRCHR_H
#if HAVE_STDDEF_H
#include <stddef.h>
*/
SQUIDCEXTERN const char *strnrchr(const char *s, size_t count, int c);
-#endif /* COMPAT_STRNRCHR_H_ */
+#endif /* SQUID_COMPAT_STRNRCHR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_COMPAT_STRTOLL_H
-#define _SQUID_COMPAT_STRTOLL_H
+#ifndef SQUID_COMPAT_STRTOLL_H
+#define SQUID_COMPAT_STRTOLL_H
#if !HAVE_STRTOLL
SQUIDCEXTERN int64_t strtoll(const char *nptr, char **endptr, int base);
#endif /* !HAVE_STRTOLL */
-#endif /* _SQUID_COMPAT_STRTOLL_H */
+#endif /* SQUID_COMPAT_STRTOLL_H */
* Cambridge, MA 02139, USA.
*/
-#ifndef SQUID_TEMPNAM_H
-#define SQUID_TEMPNAM_H
+#ifndef SQUID_COMPAT_TEMPNAM_H
+#define SQUID_COMPAT_TEMPNAM_H
extern char *tempnam(const char *, const char *);
-#endif /* SQUID_TEMPNAM_H */
+#endif /* SQUID_COMPAT_TEMPNAM_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_TYPES_H
-#define SQUID_TYPES_H
+#ifndef SQUID_COMPAT_TYPES_H
+#define SQUID_COMPAT_TYPES_H
/*
* Here are defined several known-width types, obtained via autoconf
#define NULL 0
#endif
-#endif /* SQUID_TYPES_H */
+#endif /* SQUID_COMPAT_TYPES_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_VALGRIND_H
-#define SQUID_VALGRIND_H
+#ifndef SQUID_COMPAT_VALGRIND_H
+#define SQUID_COMPAT_VALGRIND_H
/****************************************************************************
*--------------------------------------------------------------------------*
# define RUNNING_ON_VALGRIND 0
#endif /* WITH_VALGRIND */
-#endif /* SQUID_CONFIG_H */
+#endif /* SQUID_COMPAT_VALGRIND_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_COMPAT_XALLOC_H
-#define _SQUID_COMPAT_XALLOC_H
+#ifndef SQUID_COMPAT_XALLOC_H
+#define SQUID_COMPAT_XALLOC_H
#ifdef __cplusplus
extern "C" {
extern void malloc_statistics(void (*func) (int, int, int, void *), void *data);
#endif
-#endif /* _SQUID_COMPAT_XALLOC_H */
+#endif /* SQUID_COMPAT_XALLOC_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_COMPAT_XIS_H
-#define _SQUID_COMPAT_XIS_H
+#ifndef SQUID_COMPAT_XIS_H
+#define SQUID_COMPAT_XIS_H
#if __cplusplus
#include <cctype>
#define xisgraph(x) isgraph((unsigned char)x)
#endif
-#endif /* _SQUID_COMPAT_XIS_H */
+#endif /* SQUID_COMPAT_XIS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_COMPAT_XSTRERROR_H
-#define _SQUID_COMPAT_XSTRERROR_H
+#ifndef SQUID_COMPAT_XSTRERROR_H
+#define SQUID_COMPAT_XSTRERROR_H
#if HAVE_ERRNO_H
#include <errno.h>
*/
extern const char * xstrerr(int error);
-#endif /* _SQUID_COMPAT_XSTRERROR_H */
+#endif /* SQUID_COMPAT_XSTRERROR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_XSTRTO_H
-#define _SQUID_XSTRTO_H
+#ifndef SQUID_COMPAT_XSTRTO_H
+#define SQUID_COMPAT_XSTRTO_H
// this function is not used by the remaining Squid C code
#if defined(__cplusplus)
unsigned int min, unsigned int max);
#endif /* __cplusplus */
-#endif /* _SQUID_XSTRTO_H */
+#endif /* SQUID_COMPAT_XSTRTO_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_ASN1_H
-#define SQUID_SNMP_ASN1_H
+#ifndef SQUID_INCLUDE_ASN1_H
+#define SQUID_INCLUDE_ASN1_H
/*
* Definitions for Abstract Syntax Notation One, ASN.1
#endif
-#endif /* SQUID_SNMP_ASN1_H */
+#endif /* SQUID_INCLUDE_ASN1_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_BASE64_H
-#define _SQUID_BASE64_H
+#ifndef SQUID_INCLUDE_BASE64_H
+#define SQUID_INCLUDE_BASE64_H
#if HAVE_NETTLE_BASE64_H && HAVE_NETTLE34_BASE64
#include <nettle/base64.h>
/// a string of length 'decodedLen' including all terminator bytes.
# define base64_encode_len(length) (BASE64_ENCODE_LENGTH(length)+BASE64_ENCODE_FINAL_LENGTH+1)
-#endif /* _SQUID_BASE64_H */
+#endif /* SQUID_INCLUDE_BASE64_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CACHE_SNMP_H
-#define SQUID_CACHE_SNMP_H
+#ifndef SQUID_INCLUDE_CACHE_SNMP_H
+#define SQUID_INCLUDE_CACHE_SNMP_H
#if SQUID_SNMP
#endif /* SQUID_SNMP */
-#endif /* SQUID_CACHE_SNMP_H */
+#endif /* SQUID_INCLUDE_CACHE_SNMP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_GETFULLHOSTNAME_H
-#define _SQUID_GETFULLHOSTNAME_H
+#ifndef SQUID_INCLUDE_GETFULLHOSTNAME_H
+#define SQUID_INCLUDE_GETFULLHOSTNAME_H
SQUIDCEXTERN const char *getfullhostname(void);
-#endif /* _SQUID_GETFULLHOSTNAME_H */
+#endif /* SQUID_INCLUDE_GETFULLHOSTNAME_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HASH_H
-#define SQUID_HASH_H
+#ifndef SQUID_INCLUDE_HASH_H
+#define SQUID_INCLUDE_HASH_H
typedef void HASHFREE(void *);
typedef int HASHCMP(const void *, const void *);
*/
#define DEFAULT_HASH_SIZE 7951 /* prime number < 8192 */
-#endif /* SQUID_HASH_H */
+#endif /* SQUID_INCLUDE_HASH_H */
* the top of the heap (as in the smallest object key value). Child nodes
* are larger than their parent.
****************************************************************************/
-#ifndef SQUID_HEAP_H
-#define SQUID_HEAP_H
+#ifndef SQUID_INCLUDE_HEAP_H
+#define SQUID_INCLUDE_HEAP_H
/*
* Function for generating heap keys. The first argument will typically be
SQUIDCEXTERN int verify_heap_property(heap *);
-#endif /* SQUID_HEAP_H */
+#endif /* SQUID_INCLUDE_HEAP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_MD5_H
-#define SQUID_MD5_H
+#ifndef SQUID_INCLUDE_MD5_H
+#define SQUID_INCLUDE_MD5_H
#if HAVE_NETTLE_MD5_H
#include <nettle/md5.h>
#endif /* HAVE_NETTLE_MD5_H */
-#endif /* SQUID_MD5_H */
+#endif /* SQUID_INCLUDE_MD5_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_PARSE_H
-#define SQUID_PARSE_H
+#ifndef SQUID_INCLUDE_PARSE_H
+#define SQUID_INCLUDE_PARSE_H
/***********************************************************
Copyright 1989 by Carnegie Mellon University
#endif
-#endif /* SQUID_PARSE_H */
+#endif /* SQUID_INCLUDE_PARSE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_RADIX_H
-#define SQUID_RADIX_H
+#ifndef SQUID_INCLUDE_RADIX_H
+#define SQUID_INCLUDE_RADIX_H
/*
* Copyright (c) 1988, 1989, 1993
SQUIDCEXTERN struct squid_radix_node *squid_rn_lookup(void *, void *, struct squid_radix_node_head *);
-#endif /* SQUID_RADIX_H */
+#endif /* SQUID_INCLUDE_RADIX_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_INCLUDE_RFC1738_H
-#define _SQUID_INCLUDE_RFC1738_H
+#ifndef SQUID_INCLUDE_RFC1738_H
+#define SQUID_INCLUDE_RFC1738_H
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
}
#endif
-#endif /* _SQUID_INCLUDE_RFC1738_H */
+#endif /* SQUID_INCLUDE_RFC1738_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_INCLUDE_RFC1123_H
-#define _SQUID_INCLUDE_RFC1123_H
+#ifndef SQUID_INCLUDE_RFC2181_H
+#define SQUID_INCLUDE_RFC2181_H
/**
\par RFC 2181 section 11:
/** Back-port macro for old squid code still using SQUIDHOSTNAMELEN without RFC reference. */
#define SQUIDHOSTNAMELEN RFC2181_MAXHOSTNAMELEN
-#endif /* _SQUID_INCLUDE_RFC1123_H */
+#endif /* SQUID_INCLUDE_RFC2181_H */
* to prevent squid knowing the users password (idea suggested in RFC 2617).
*/
-#ifndef SQUID_RFC2617_H
-#define SQUID_RFC2617_H
+#ifndef SQUID_INCLUDE_RFC2617_H
+#define SQUID_INCLUDE_RFC2617_H
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
}
#endif
-#endif /* SQUID_RFC2617_H */
+#endif /* SQUID_INCLUDE_RFC2617_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_INTERNAL_H
-#define SQUID_SNMP_INTERNAL_H
+#ifndef SQUID_INCLUDE_SNMP_INTERNAL_H
+#define SQUID_INCLUDE_SNMP_INTERNAL_H
/**********************************************************************
*
#define SNMP_TRAP_PORT 162
#define SNMP_MAX_LEN 484
-#endif /* SQUID_SNMP_INTERNAL_H */
+#endif /* SQUID_INCLUDE_SNMP_INTERNAL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_MIB_H
-#define SQUID_SNMP_MIB_H
+#ifndef SQUID_INCLUDE_SNMP_MIB_H
+#define SQUID_INCLUDE_SNMP_MIB_H
/***************************************************************************
*
#include <asn1.h> /* Need OID Definition */
#include <snmp_vars.h> /* Need variable_list */
-#endif /* SQUID_SNMP_MIB_H */
+#endif /* SQUID_INCLUDE_SNMP_MIB_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_H
-#define SQUID_SNMP_H
+#ifndef SQUID_INCLUDE_SNMP_H
+#define SQUID_INCLUDE_SNMP_H
/*
* Definitions for the Simple Network Management Protocol (RFC 1067).
#include "snmp_debug.h"
#include "snmp_impl.h"
-#endif /* SQUID_SNMP_H */
+#endif /* SQUID_INCLUDE_SNMP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_API_H
-#define SQUID_SNMP_API_H
+#ifndef SQUID_INCLUDE_SNMP_API_H
+#define SQUID_INCLUDE_SNMP_API_H
/***********************************************************
Copyright 1989 by Carnegie Mellon University
#endif
-#endif /* SQUID_SNMP_API_H */
+#endif /* SQUID_INCLUDE_SNMP_API_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_API_ERROR_H
-#define SQUID_SNMP_API_ERROR_H
+#ifndef SQUID_INCLUDE_SNMP_API_ERROR_H
+#define SQUID_INCLUDE_SNMP_API_ERROR_H
/***************************************************************************
*
#endif
-#endif /* SQUID_SNMP_API_ERROR_H */
+#endif /* SQUID_INCLUDE_SNMP_API_ERROR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_API_UTIL_H
-#define SQUID_SNMP_API_UTIL_H
+#ifndef SQUID_INCLUDE_SNMP_API_UTIL_H
+#define SQUID_INCLUDE_SNMP_API_UTIL_H
/* NP: required for typedef ipaddr */
#include "snmp_pdu.h"
#endif
-#endif /* SQUID_SNMP_API_UTIL_H */
+#endif /* SQUID_INCLUDE_SNMP_API_UTIL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_CLIENT_H
-#define SQUID_SNMP_CLIENT_H
+#ifndef SQUID_INCLUDE_SNMP_CLIENT_H
+#define SQUID_INCLUDE_SNMP_CLIENT_H
/***********************************************************
Copyright 1988, 1989 by Carnegie Mellon University
}
#endif
-#endif /* SQUID_SNMP_CLIENT_H */
+#endif /* SQUID_INCLUDE_SNMP_CLIENT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_COEXISTANCE_H
-#define SQUID_SNMP_COEXISTANCE_H
+#ifndef SQUID_INCLUDE_SNMP_COEXIST_H
+#define SQUID_INCLUDE_SNMP_COEXIST_H
/**********************************************************************
*
}
#endif
-#endif /* SQUID_SNMP_COEXISTANCE_H */
+#endif /* SQUID_INCLUDE_SNMP_COEXIST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_DEBUG_H
-#define SQUID_SNMP_DEBUG_H
+#ifndef SQUID_INCLUDE_SNMP_DEBUG_H
+#define SQUID_INCLUDE_SNMP_DEBUG_H
SQUIDCEXTERN void snmplib_debug(int, const char *,...) PRINTF_FORMAT_ARG2;
-#endif /* SQUID_SNMP_DEBUG_H */
+#endif /* SQUID_INCLUDE_SNMP_DEBUG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_ERROR_H
-#define SQUID_SNMP_ERROR_H
+#ifndef SQUID_INCLUDE_SNMP_ERROR_H
+#define SQUID_INCLUDE_SNMP_ERROR_H
/**********************************************************************
*
}
#endif
-#endif /* SQUID_SNMP_ERROR_H */
+#endif /* SQUID_INCLUDE_SNMP_ERROR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_IMPL_H
-#define SQUID_SNMP_IMPL_H
+#ifndef SQUID_INCLUDE_SNMP_IMPL_H
+#define SQUID_INCLUDE_SNMP_IMPL_H
#include "asn1.h"
struct trapVar *next;
};
-#endif /* SQUID_SNMP_IMPL_H */
+#endif /* SQUID_INCLUDE_SNMP_IMPL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_MSG_H
-#define SQUID_SNMP_MSG_H
+#ifndef SQUID_INCLUDE_SNMP_MSG_H
+#define SQUID_INCLUDE_SNMP_MSG_H
/**********************************************************************
*
#endif
-#endif /* SQUID_SNMP_MSG_H */
+#endif /* SQUID_INCLUDE_SNMP_MSG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_PDU_H
-#define SQUID_SNMP_PDU_H
+#ifndef SQUID_INCLUDE_SNMP_PDU_H
+#define SQUID_INCLUDE_SNMP_PDU_H
/* required for oid typedef */
#include "asn1.h"
}
#endif
-#endif /* SQUID_SNMP_PDU_H */
+#endif /* SQUID_INCLUDE_SNMP_PDU_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_SESSION_H
-#define SQUID_SNMP_SESSION_H
+#ifndef SQUID_INCLUDE_SNMP_SESSION_H
+#define SQUID_INCLUDE_SNMP_SESSION_H
/**********************************************************************
*
#define RECEIVED_MESSAGE 1
#define TIMED_OUT 2
-#endif /* SQUID_SNMP_SESSION_H */
+#endif /* SQUID_INCLUDE_SNMP_SESSION_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_UTIL_H
-#define SQUID_SNMP_UTIL_H
+#ifndef SQUID_INCLUDE_SNMP_UTIL_H
+#define SQUID_INCLUDE_SNMP_UTIL_H
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
}
#endif
-#endif /* SQUID_SNMP_UTIL_H */
+#endif /* SQUID_INCLUDE_SNMP_UTIL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMP_VARS_H
-#define SQUID_SNMP_VARS_H
+#ifndef SQUID_INCLUDE_SNMP_VARS_H
+#define SQUID_INCLUDE_SNMP_VARS_H
/**********************************************************************
*
}
#endif
-#endif /* SQUID_SNMP_VARS_H */
+#endif /* SQUID_INCLUDE_SNMP_VARS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SPLAY_H
-#define SQUID_SPLAY_H
+#ifndef SQUID_INCLUDE_SPLAY_H
+#define SQUID_INCLUDE_SPLAY_H
#include "fatal.h"
#include <cstddef>
return toVisit.top()->data;
}
-#endif /* SQUID_SPLAY_H */
+#endif /* SQUID_INCLUDE_SPLAY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CONFIG_H
-#define SQUID_CONFIG_H
+#ifndef SQUID_INCLUDE_SQUID_H
+#define SQUID_INCLUDE_SQUID_H
#include "autoconf.h" /* For GNU autoconf variables */
#include "version.h"
#define LOCAL_ARRAY(type, name, size) static type name[size]
-#endif /* SQUID_CONFIG_H */
+#endif /* SQUID_INCLUDE_SQUID_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_UTIL_H
-#define SQUID_UTIL_H
+#ifndef SQUID_INCLUDE_UTIL_H
+#define SQUID_INCLUDE_UTIL_H
#if HAVE_ARPA_INET_H
#include <arpa/inet.h>
SQUIDCEXTERN unsigned int RoundTo(const unsigned int num, const unsigned int what);
-#endif /* SQUID_UTIL_H */
+#endif /* SQUID_INCLUDE_UTIL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_VERSION_H
-#define SQUID_VERSION_H
+#ifndef SQUID_INCLUDE_VERSION_H
+#define SQUID_INCLUDE_VERSION_H
#ifndef SQUID_RELEASE_TIME
#define SQUID_RELEASE_TIME squid_curtime
#define APP_FULLNAME PACKAGE "/" VERSION
#endif
-#endif /* SQUID_VERSION_H */
+#endif /* SQUID_INCLUDE_VERSION_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef LIBTRIE_SQUID_H
-#define LIBTRIE_SQUID_H
+#ifndef SQUID_LIB_LIBTRIE_TRIE_H
+#define SQUID_LIB_LIBTRIE_TRIE_H
#include "TrieNode.h"
#if HAVE_SYS_TYPES_H
return nullptr;
}
-#endif /* LIBTRIE_SQUID_H */
+#endif /* SQUID_LIB_LIBTRIE_TRIE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef LIBTRIE_TRIECHARTRANSFORM_H
-#define LIBTRIE_TRIECHARTRANSFORM_H
+#ifndef SQUID_LIB_LIBTRIE_TRIECHARTRANSFORM_H
+#define SQUID_LIB_LIBTRIE_TRIECHARTRANSFORM_H
/* This is an internal header for libTrie.
* libTrie provides both limited C and full C++
#endif /* __cplusplus */
-#endif /* LIBTRIE_TRIECHARTRANSFORM_H */
+#endif /* SQUID_LIB_LIBTRIE_TRIECHARTRANSFORM_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef LIBTRIE_TRIENODE_H
-#define LIBTRIE_TRIENODE_H
+#ifndef SQUID_LIB_LIBTRIE_TRIENODE_H
+#define SQUID_LIB_LIBTRIE_TRIENODE_H
#include "TrieCharTransform.h"
return _privateData;
}
}
-#endif /* LIBTRIE_TRIENODE_H */
+#endif /* SQUID_LIB_LIBTRIE_TRIENODE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_NTLMAUTH_H
-#define SQUID_NTLMAUTH_H
+#ifndef SQUID_LIB_NTLMAUTH_NTLMAUTH_H
+#define SQUID_LIB_NTLMAUTH_NTLMAUTH_H
/* NP: All of this cruft is little endian */
/* Endian functions are usually handled by the OS but not always. */
char *domain,
const int32_t size);
-#endif /* SQUID_NTLMAUTH_H */
+#endif /* SQUID_LIB_NTLMAUTH_NTLMAUTH_H */
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef _RFCNB_RFCNB_COMMON_H
-#define _RFCNB_RFCNB_COMMON_H
+#ifndef SQUID_LIB_RFCNB_RFCNB_COMMON_H
+#define SQUID_LIB_RFCNB_RFCNB_COMMON_H
#if defined(__cplusplus)
extern "C" {
#if defined(__cplusplus)
}
#endif
-#endif /* _RFCNB_RFCNB_COMMON_H */
+#endif /* SQUID_LIB_RFCNB_RFCNB_COMMON_H */
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef _RFCNB_ERROR_H_
-#define _RFCNB_ERROR_H_
+#ifndef SQUID_LIB_RFCNB_RFCNB_ERROR_H
+#define SQUID_LIB_RFCNB_RFCNB_ERROR_H
#ifdef __cplusplus
extern "C" {
}
#endif
-#endif /* _RFCNB_ERROR_H_ */
+#endif /* SQUID_LIB_RFCNB_RFCNB_ERROR_H */
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef _SQUID__LIB_RFCNB_RFCNB_IO_H
-#define _SQUID__LIB_RFCNB_RFCNB_IO_H
+#ifndef SQUID_LIB_RFCNB_RFCNB_IO_H
+#define SQUID_LIB_RFCNB_RFCNB_IO_H
#include "rfcnb/rfcnb.h"
int RFCNB_Get_Pkt(struct RFCNB_Con *con, struct RFCNB_Pkt *pkt, int len);
-#endif
+#endif /* SQUID_LIB_RFCNB_RFCNB_IO_H */
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef _RFCNB_RFCNB_PRIV_H
-#define _RFCNB_RFCNB_PRIV_H
+#ifndef SQUID_LIB_RFCNB_RFCNB_PRIV_H
+#define SQUID_LIB_RFCNB_RFCNB_PRIV_H
/* Defines we need */
extern int RFCNB_saved_errno; /* Save this from point of error */
#endif
-#endif /* _RFCNB_RFCNB_PRIV_H */
+#endif /* SQUID_LIB_RFCNB_RFCNB_PRIV_H */
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef _RFCNB_RFCNB_UTIL_H
-#define _RFCNB_RFCNB_UTIL_H
+#ifndef SQUID_LIB_RFCNB_RFCNB_UTIL_H
+#define SQUID_LIB_RFCNB_RFCNB_UTIL_H
#include "rfcnb/std-includes.h"
typedef void RFCNB_Prot_Print_Routine(FILE * fd, int dir, struct RFCNB_Pkt *pkt, int header, int payload);
extern RFCNB_Prot_Print_Routine *Prot_Print_Routine;
-#endif /* _RFCNB_RFCNB_UTIL_H */
+#endif /* SQUID_LIB_RFCNB_RFCNB_UTIL_H */
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef _RFCNB_RFCNB_H
-#define _RFCNB_RFCNB_H
+#ifndef SQUID_LIB_RFCNB_RFCNB_H
+#define SQUID_LIB_RFCNB_RFCNB_H
/* Error responses */
}
#endif
-#endif /* _RFCNB_RFCNB_H */
+#endif /* SQUID_LIB_RFCNB_RFCNB_H */
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef _RFCNB_STD_INCLUDES_H
-#define _RFCNB_STD_INCLUDES_H
+#ifndef SQUID_LIB_RFCNB_STD_INCLUDES_H
+#define SQUID_LIB_RFCNB_STD_INCLUDES_H
/* RFCNB Standard includes ... */
/* One day we will conditionalize these on OS types ... */
#define INADDR_NONE -1
#endif
-#endif /* _RFCNB_STD_INCLUDES_H */
+#endif /* SQUID_LIB_RFCNB_STD_INCLUDES_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef __SMB_LM_SMBVAL_MD4_H
-#define __SMB_LM_SMBVAL_MD4_H
+#ifndef SQUID_LIB_SMBLIB_MD4_H
+#define SQUID_LIB_SMBLIB_MD4_H
extern void mdfour(unsigned char *out, unsigned char *in, int n);
-#endif /* __SMB_LM_SMBVAL_MD4_H */
+#endif /* SQUID_LIB_SMBLIB_MD4_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SMBLIB_SMBENCRYPT_H
-#define _SMBLIB_SMBENCRYPT_H
+#ifndef SQUID_LIB_SMBLIB_SMBENCRYPT_H
+#define SQUID_LIB_SMBLIB_SMBENCRYPT_H
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
}
#endif
-#endif /* _SMBLIB_SMBENCRYPT_H */
+#endif /* SQUID_LIB_SMBLIB_SMBENCRYPT_H */
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef _SMBLIB_SMBLIB_COMMON_H
-#define _SMBLIB_SMBLIB_COMMON_H
+#ifndef SQUID_LIB_SMBLIB_SMBLIB_COMMON_H
+#define SQUID_LIB_SMBLIB_SMBLIB_COMMON_H
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
}
#endif
-#endif /* _SMBLIB_SMBLIB_COMMON_H */
+#endif /* SQUID_LIB_SMBLIB_SMBLIB_COMMON_H */
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef _SMBLIB_PRIV_H_
-#define _SMBLIB_PRIV_H_
+#ifndef SQUID_LIB_SMBLIB_SMBLIB_PRIV_H
+#define SQUID_LIB_SMBLIB_SMBLIB_PRIV_H
#include "smblib/smblib-common.h"
#include "smblib/std-defines.h"
void SMB_Get_My_Name(char *name, int len);
-#endif /* _SMBLIB_PRIV_H_ */
+#endif /* SQUID_LIB_SMBLIB_SMBLIB_PRIV_H */
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef _SMBLIB_SMBLIB_H
-#define _SMBLIB_SMBLIB_H
+#ifndef SQUID_LIB_SMBLIB_SMBLIB_H
+#define SQUID_LIB_SMBLIB_SMBLIB_H
#include "smblib-common.h"
#include "smblib/smbencrypt.h"
#ifdef __cplusplus
}
#endif
-#endif /* _SMBLIB_SMBLIB_H */
+#endif /* SQUID_LIB_SMBLIB_SMBLIB_H */
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef _SMBLIB_STD_DEFINES_H
-#define _SMBLIB_STD_DEFINES_H
+#ifndef SQUID_LIB_SMBLIB_STD_DEFINES_H
+#define SQUID_LIB_SMBLIB_STD_DEFINES_H
/* RFCNB Standard includes ... */
/* One day we will conditionalize these on OS types ... */
#define TRUE 1
#define FALSE 0
-#endif /* _SMBLIB_STD_DEFINES_H */
+#endif /* SQUID_LIB_SMBLIB_STD_DEFINES_H */
* Based on previous work of Francesco Chemolli, Robert Collins and Andrew Doran
*/
-#ifndef _LIBSSPWIN32_H_
-#define _LIBSSPWIN32_H_
+#ifndef SQUID_LIB_SSPI_SSPWIN32_H
+#define SQUID_LIB_SSPI_SSPWIN32_H
#define SECURITY_WIN32
#define NTLM_PACKAGE_NAME "NTLM"
const char * WINAPI SSP_ValidateNegotiateCredentials(PVOID, int, PBOOL, int *, char *);
#endif
-#endif /* LIBSSPWIN32_H_ */
+#endif /* SQUID_LIB_SSPI_SSPWIN32_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPACCESSLOGENTRY_H
-#define SQUID_HTTPACCESSLOGENTRY_H
+#ifndef SQUID_SRC_ACCESSLOGENTRY_H
+#define SQUID_SRC_ACCESSLOGENTRY_H
#include "anyp/PortCfg.h"
#include "base/CodeContext.h"
void accessLogInit(void);
const char *accessLogTime(time_t);
-#endif /* SQUID_HTTPACCESSLOGENTRY_H */
+#endif /* SQUID_SRC_ACCESSLOGENTRY_H */
#include "acl/Method.h"
#include "acl/MethodData.h"
#include "acl/MyPortName.h"
-#include "acl/Note.h"
#include "acl/Node.h"
+#include "acl/Note.h"
#include "acl/NoteData.h"
#include "acl/PeerName.h"
#include "acl/Protocol.h"
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ASYNCENGINE_H
-#define SQUID_ASYNCENGINE_H
+#ifndef SQUID_SRC_ASYNCENGINE_H
+#define SQUID_SRC_ASYNCENGINE_H
/* Abstract interface for async engines which an event loop can utilise.
*
virtual int checkEvents(int timeout) = 0;
};
-#endif /* SQUID_ASYNCENGINE_H */
+#endif /* SQUID_SRC_ASYNCENGINE_H */
/* DEBUG: section 29 Authenticator */
-#ifndef SQUID_AUTHREG_H_
-#define SQUID_AUTHREG_H_
+#ifndef SQUID_SRC_AUTHREG_H
+#define SQUID_SRC_AUTHREG_H
namespace Auth
{
#endif /* USE_AUTH */
} // namespace Auth
-#endif /* SQUID_AUTHREG_H_ */
+#endif /* SQUID_SRC_AUTHREG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef BANDWIDTHBUCKET_H
-#define BANDWIDTHBUCKET_H
+#ifndef SQUID_SRC_BANDWIDTHBUCKET_H
+#define SQUID_SRC_BANDWIDTHBUCKET_H
#if USE_DELAY_POOLS
#endif /* USE_DELAY_POOLS */
-#endif
+#endif /* SQUID_SRC_BANDWIDTHBUCKET_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_BODY_PIPE_H
-#define SQUID_BODY_PIPE_H
+#ifndef SQUID_SRC_BODYPIPE_H
+#define SQUID_SRC_BODYPIPE_H
#include "base/AsyncJob.h"
#include "base/CbcPointer.h"
bool isCheckedOut; // to keep track of checkout violations
};
-#endif /* SQUID_BODY_PIPE_H */
+#endif /* SQUID_SRC_BODYPIPE_H */
/* DEBUG: section 70 Cache Digest */
-#ifndef SQUID_CACHEDIGEST_H_
-#define SQUID_CACHEDIGEST_H_
+#ifndef SQUID_SRC_CACHEDIGEST_H
+#define SQUID_SRC_CACHEDIGEST_H
#include "mem/forward.h"
#include "store_key_md5.h"
void cacheDigestGuessStatsReport(const CacheDigestGuessStats * stats, StoreEntry * sentry, const SBuf &label);
void cacheDigestReport(CacheDigest * cd, const SBuf &label, StoreEntry * e);
-#endif /* SQUID_CACHEDIGEST_H_ */
+#endif /* SQUID_SRC_CACHEDIGEST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CACHEMANAGER_H
-#define SQUID_CACHEMANAGER_H
+#ifndef SQUID_SRC_CACHEMANAGER_H
+#define SQUID_SRC_CACHEMANAGER_H
#include "anyp/forward.h"
#include "comm/forward.h"
Menu menu_;
};
-#endif /* SQUID_CACHEMANAGER_H */
+#endif /* SQUID_SRC_CACHEMANAGER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CACHEPEER_H_
-#define SQUID_CACHEPEER_H_
+#ifndef SQUID_SRC_CACHEPEER_H
+#define SQUID_SRC_CACHEPEER_H
#include "acl/forward.h"
#include "base/CbcPointer.h"
/// identify the given cache peer in cache.log messages and such
std::ostream &operator <<(std::ostream &, const CachePeer &);
-#endif /* SQUID_CACHEPEER_H_ */
+#endif /* SQUID_SRC_CACHEPEER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CACHEPEERS_H
-#define SQUID_CACHEPEERS_H
+#ifndef SQUID_SRC_CACHEPEERS_H
+#define SQUID_SRC_CACHEPEERS_H
#include "base/forward.h"
#include "CachePeer.h"
/// Temporary, local storage of raw pointers to zero or more Config.peers.
using RawCachePeers = std::vector<CachePeer *, PoolingAllocator<CachePeer*> >;
-#endif /* SQUID_CACHEPEERS_H */
+#endif /* SQUID_SRC_CACHEPEERS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CLIENTDELAYCONFIG_H
-#define SQUID_CLIENTDELAYCONFIG_H
+#ifndef SQUID_SRC_CLIENTDELAYCONFIG_H
+#define SQUID_SRC_CLIENTDELAYCONFIG_H
#include "acl/forward.h"
#include "base/RefCount.h"
ClientDelayPool &pool(const int i) { return *(ClientDelayPools::Instance()->pools.at(i)); }
};
-#endif // SQUID_CLIENTDELAYCONFIG_H
+#endif /* SQUID_SRC_CLIENTDELAYCONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID__SRC_CLIENTINFO_H
-#define SQUID__SRC_CLIENTINFO_H
+#ifndef SQUID_SRC_CLIENTINFO_H
+#define SQUID_SRC_CLIENTINFO_H
#if USE_DELAY_POOLS
#include "BandwidthBucket.h"
};
#endif /* USE_DELAY_POOLS */
-#endif
+#endif /* SQUID_SRC_CLIENTINFO_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CLIENTREQUESTCONTEXT_H
-#define SQUID_CLIENTREQUESTCONTEXT_H
+#ifndef SQUID_SRC_CLIENTREQUESTCONTEXT_H
+#define SQUID_SRC_CLIENTREQUESTCONTEXT_H
#include "acl/forward.h"
#include "base/RefCount.h"
#endif
};
-#endif /* SQUID_CLIENTREQUESTCONTEXT_H */
+#endif /* SQUID_SRC_CLIENTREQUESTCONTEXT_H */
/* DEBUG: section 17 Request Forwarding */
-#ifndef SQUID_COLLAPSED_FORWARDING_H
-#define SQUID_COLLAPSED_FORWARDING_H
+#ifndef SQUID_SRC_COLLAPSEDFORWARDING_H
+#define SQUID_SRC_COLLAPSEDFORWARDING_H
#include "ipc/forward.h"
#include "ipc/Queue.h"
static std::unique_ptr<Queue> queue; ///< IPC queue
};
-#endif /* SQUID_COLLAPSED_FORWARDING_H */
+#endif /* SQUID_SRC_COLLAPSEDFORWARDING_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_COLLAPSING_HISTORY_H
-#define SQUID_COLLAPSING_HISTORY_H
+#ifndef SQUID_SRC_COLLAPSINGHISTORY_H
+#define SQUID_SRC_COLLAPSINGHISTORY_H
/// collapsed forwarding history of a master transaction
class CollapsingHistory
int otherCollapses = 0;
};
-#endif /* SQUID_COLLAPSING_HISTORY_H */
+#endif /* SQUID_SRC_COLLAPSINGHISTORY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_COMMCALLS_H
-#define SQUID_COMMCALLS_H
+#ifndef SQUID_SRC_COMMCALLS_H
+#define SQUID_SRC_COMMCALLS_H
#include "base/AsyncCall.h"
#include "base/AsyncJobCalls.h"
dialer.dial();
}
-#endif /* SQUID_COMMCALLS_H */
+#endif /* SQUID_SRC_COMMCALLS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_COMMANDLINE_H
-#define SQUID_COMMANDLINE_H
+#ifndef SQUID_SRC_COMMANDLINE_H
+#define SQUID_SRC_COMMANDLINE_H
#if HAVE_GETOPT_H
#include <getopt.h>
std::vector<LongOption> longOptions_; ///< long --option rules
};
-#endif /* SQUID_COMMANDLINE_H */
+#endif /* SQUID_SRC_COMMANDLINE_H */
/* DEBUG: section 77 Delay Pools */
-#ifndef COMMONPOOL_H
-#define COMMONPOOL_H
+#ifndef SQUID_SRC_COMMONPOOL_H
+#define SQUID_SRC_COMMONPOOL_H
#if USE_DELAY_POOLS
#include "CompositePoolNode.h"
};
#endif /* USE_DELAY_POOLS */
-#endif /* COMMONPOOL_H */
+#endif /* SQUID_SRC_COMMONPOOL_H */
/* DEBUG: section 77 Delay Pools */
-#ifndef COMPOSITEPOOLNODE_H
-#define COMPOSITEPOOLNODE_H
+#ifndef SQUID_SRC_COMPOSITEPOOLNODE_H
+#define SQUID_SRC_COMPOSITEPOOLNODE_H
#if USE_DELAY_POOLS
#include "auth/UserRequest.h"
};
#endif /* USE_DELAY_POOLS */
-#endif /* COMPOSITEPOOLNODE_H */
+#endif /* SQUID_SRC_COMPOSITEPOOLNODE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CONFIGOPTION_H
-#define SQUID_CONFIGOPTION_H
+#ifndef SQUID_SRC_CONFIGOPTION_H
+#define SQUID_SRC_CONFIGOPTION_H
#include <iosfwd>
#include <vector>
void (C::*dumper)(StoreEntry * e) const;
};
-#endif /* SQUID_CONFIGOPTION_H */
+#endif /* SQUID_SRC_CONFIGOPTION_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CONFIGPARSER_H
-#define SQUID_CONFIGPARSER_H
+#ifndef SQUID_SRC_CONFIGPARSER_H
+#define SQUID_SRC_CONFIGPARSER_H
#include "acl/forward.h"
#include "base/forward.h"
int parseConfigFile(const char *file_name);
-#endif /* SQUID_CONFIGPARSER_H */
+#endif /* SQUID_SRC_CONFIGPARSER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CPU_AFFINITY_H
-#define SQUID_CPU_AFFINITY_H
+#ifndef SQUID_SRC_CPUAFFINITY_H
+#define SQUID_SRC_CPUAFFINITY_H
/// set CPU affinity for this process on startup
void CpuAffinityInit();
/// check CPU affinity configuration and print warnings if needed
void CpuAffinityCheck();
-#endif // SQUID_CPU_AFFINITY_H
+#endif /* SQUID_SRC_CPUAFFINITY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CPU_AFFINITY_MAP_H
-#define SQUID_CPU_AFFINITY_MAP_H
+#ifndef SQUID_SRC_CPUAFFINITYMAP_H
+#define SQUID_SRC_CPUAFFINITYMAP_H
#include <vector>
std::vector<int> theCores; ///< list of cores
};
-#endif // SQUID_CPU_AFFINITY_MAP_H
+#endif /* SQUID_SRC_CPUAFFINITYMAP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CPU_AFFINITY_SET_H
-#define SQUID_CPU_AFFINITY_SET_H
+#ifndef SQUID_SRC_CPUAFFINITYSET_H
+#define SQUID_SRC_CPUAFFINITYSET_H
#include "compat/cpu.h"
cpu_set_t theOrigCpuSet; ///< CPU affinity for this process before apply()
};
-#endif // SQUID_CPU_AFFINITY_SET_H
+#endif /* SQUID_SRC_CPUAFFINITYSET_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DELAYBUCKET_H
-#define SQUID_DELAYBUCKET_H
+#ifndef SQUID_SRC_DELAYBUCKET_H
+#define SQUID_SRC_DELAYBUCKET_H
class DelaySpec;
class StoreEntry;
int level_;
};
-#endif /* SQUID_DELAYBUCKET_H */
+#endif /* SQUID_SRC_DELAYBUCKET_H */
/* DEBUG: section 03 Configuration Settings */
-#ifndef SQUID_DELAYCONFIG_H
-#define SQUID_DELAYCONFIG_H
+#ifndef SQUID_SRC_DELAYCONFIG_H
+#define SQUID_SRC_DELAYCONFIG_H
class StoreEntry;
class ConfigParser;
};
-#endif /* SQUID_DELAYCONFIG_H */
+#endif /* SQUID_SRC_DELAYCONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DELAYID_H
-#define SQUID_DELAYID_H
+#ifndef SQUID_SRC_DELAYID_H
+#define SQUID_SRC_DELAYID_H
#if USE_DELAY_POOLS
};
#endif /* USE_DELAY_POOLS */
-#endif /* SQUID_DELAYID_H */
+#endif /* SQUID_SRC_DELAYID_H */
/* DEBUG: section 77 Delay Pools */
-#ifndef DELAYIDCOMPOSITE_H
-#define DELAYIDCOMPOSITE_H
+#ifndef SQUID_SRC_DELAYIDCOMPOSITE_H
+#define SQUID_SRC_DELAYIDCOMPOSITE_H
#if USE_DELAY_POOLS
#include "base/forward.h"
};
#endif /* USE_DELAY_POOLS */
-#endif /* DELAYIDCOMPOSITE_H */
+#endif /* SQUID_SRC_DELAYIDCOMPOSITE_H */
/* DEBUG: section 77 Delay Pools */
-#ifndef DELAYPOOL_H
-#define DELAYPOOL_H
+#ifndef SQUID_SRC_DELAYPOOL_H
+#define SQUID_SRC_DELAYPOOL_H
#if USE_DELAY_POOLS
#include "acl/forward.h"
};
#endif /* USE_DELAY_POOLS */
-#endif /* DELAYPOOL_H */
+#endif /* SQUID_SRC_DELAYPOOL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DELAYPOOLS_H
-#define SQUID_DELAYPOOLS_H
+#ifndef SQUID_SRC_DELAYPOOLS_H
+#define SQUID_SRC_DELAYPOOLS_H
#include <vector>
static void RegisterWithCacheManager(void);
};
-#endif /* SQUID_DELAYPOOLS_H */
+#endif /* SQUID_SRC_DELAYPOOLS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DELAYSPEC_H
-#define SQUID_DELAYSPEC_H
+#ifndef SQUID_SRC_DELAYSPEC_H
+#define SQUID_SRC_DELAYSPEC_H
class StoreEntry;
int64_t max_bytes;
};
-#endif /* SQUID_DELAYSPEC_H */
+#endif /* SQUID_SRC_DELAYSPEC_H */
/* DEBUG: section 77 Delay Pools */
-#ifndef DELAYTAGGED_H
-#define DELAYTAGGED_H
+#ifndef SQUID_SRC_DELAYTAGGED_H
+#define SQUID_SRC_DELAYTAGGED_H
#if USE_DELAY_POOLS
};
#endif /* USE_DELAY_POOLS */
-#endif /* DELAYTAGGED_H */
+#endif /* SQUID_SRC_DELAYTAGGED_H */
/* DEBUG: section 77 Delay Pools */
-#ifndef DELAYUSER_H
-#define DELAYUSER_H
+#ifndef SQUID_SRC_DELAYUSER_H
+#define SQUID_SRC_DELAYUSER_H
#if USE_DELAY_POOLS && USE_AUTH
};
#endif /* USE_DELAY_POOLS && USE_AUTH */
-#endif /* DELAYUSER_H */
+#endif /* SQUID_SRC_DELAYUSER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DELAYVECTOR_H
-#define SQUID_DELAYVECTOR_H
+#ifndef SQUID_SRC_DELAYVECTOR_H
+#define SQUID_SRC_DELAYVECTOR_H
#if USE_DELAY_POOLS
};
#endif /* USE_DELAY_POOLS */
-#endif /* SQUID_DELAYVECTOR_H */
+#endif /* SQUID_SRC_DELAYVECTOR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DESCRIPTOR_SET_H
-#define SQUID_DESCRIPTOR_SET_H
+#ifndef SQUID_SRC_DESCRIPTORSET_H
+#define SQUID_SRC_DESCRIPTORSET_H
#include <iosfwd>
return os;
}
-#endif /* SQUID_DESCRIPTOR_SET_H */
+#endif /* SQUID_SRC_DESCRIPTORSET_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_AIODISKFILE_H
-#define SQUID_AIODISKFILE_H
+#ifndef SQUID_SRC_DISKIO_AIO_AIODISKFILE_H
+#define SQUID_SRC_DISKIO_AIO_AIODISKFILE_H
#if HAVE_DISKIO_MODULE_AIO
};
#endif /* HAVE_DISKIO_MODULE_AIO */
-#endif /* SQUID_AIODISKFILE_H */
+#endif /* SQUID_SRC_DISKIO_AIO_AIODISKFILE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_AIODISKIOMODULE_H
-#define SQUID_AIODISKIOMODULE_H
+#ifndef SQUID_SRC_DISKIO_AIO_AIODISKIOMODULE_H
+#define SQUID_SRC_DISKIO_AIO_AIODISKIOMODULE_H
#if HAVE_DISKIO_MODULE_AIO
};
#endif /* HAVE_DISKIO_MODULE_AIO */
-#endif /* SQUID_AIODISKIOMODULE_H */
+#endif /* SQUID_SRC_DISKIO_AIO_AIODISKIOMODULE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef __WIN32_AIO_H__
-#define __WIN32_AIO_H__
+#ifndef SQUID_SRC_DISKIO_AIO_AIO_WIN32_H
+#define SQUID_SRC_DISKIO_AIO_AIO_WIN32_H
#if HAVE_DISKIO_MODULE_AIO
#endif /* _SQUID_WINDOWS_ */
#endif /* HAVE_DISKIO_MODULE_AIO */
-#endif /* __WIN32_AIO_H__ */
+#endif /* SQUID_SRC_DISKIO_AIO_AIO_WIN32_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef __ASYNC_IO_H__
-#define __ASYNC_IO_H__
+#ifndef SQUID_SRC_DISKIO_AIO_ASYNC_IO_H
+#define SQUID_SRC_DISKIO_AIO_ASYNC_IO_H
#if HAVE_DISKIO_MODULE_AIO
};
#endif /* HAVE_DISKIO_MODULE_AIO */
-#endif /* __ASYNC_IO_H_ */
+#endif /* SQUID_SRC_DISKIO_AIO_ASYNC_IO_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_BLOCKINGDISKIOMODULE_H
-#define SQUID_BLOCKINGDISKIOMODULE_H
+#ifndef SQUID_SRC_DISKIO_BLOCKING_BLOCKINGDISKIOMODULE_H
+#define SQUID_SRC_DISKIO_BLOCKING_BLOCKINGDISKIOMODULE_H
#include "DiskIO/DiskIOModule.h"
static BlockingDiskIOModule Instance;
};
-#endif /* SQUID_BLOCKINGDISKIOMODULE_H */
+#endif /* SQUID_SRC_DISKIO_BLOCKING_BLOCKINGDISKIOMODULE_H */
/* DEBUG: section 47 Store Directory Routines */
-#ifndef SQUID_BLOCKINGFILE_H
-#define SQUID_BLOCKINGFILE_H
+#ifndef SQUID_SRC_DISKIO_BLOCKING_BLOCKINGFILE_H
+#define SQUID_SRC_DISKIO_BLOCKING_BLOCKINGFILE_H
#include "cbdata.h"
#include "DiskIO/DiskFile.h"
void writeDone(int fd, int errflag, size_t len);
};
-#endif /* SQUID_BLOCKINGFILE_H */
+#endif /* SQUID_SRC_DISKIO_BLOCKING_BLOCKINGFILE_H */
/* DEBUG: section 47 Store Directory Routines */
-#ifndef SQUID_BLOCKINGIOSTRATEGY_H
-#define SQUID_BLOCKINGIOSTRATEGY_H
+#ifndef SQUID_SRC_DISKIO_BLOCKING_BLOCKINGIOSTRATEGY_H
+#define SQUID_SRC_DISKIO_BLOCKING_BLOCKINGIOSTRATEGY_H
#include "DiskIO/DiskIOStrategy.h"
class BlockingIOStrategy : public DiskIOStrategy
void unlinkFile (char const *) override;
};
-#endif /* SQUID_BLOCKINGIOSTRATEGY_H */
+#endif /* SQUID_SRC_DISKIO_BLOCKING_BLOCKINGIOSTRATEGY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DISKDAEMONDISKIOMODULE_H
-#define SQUID_DISKDAEMONDISKIOMODULE_H
+#ifndef SQUID_SRC_DISKIO_DISKDAEMON_DISKDAEMONDISKIOMODULE_H
+#define SQUID_SRC_DISKIO_DISKDAEMON_DISKDAEMONDISKIOMODULE_H
#include "DiskIO/DiskIOModule.h"
void registerWithCacheManager(void);
};
-#endif /* SQUID_DISKDAEMONDISKIOMODULE_H */
+#endif /* SQUID_SRC_DISKIO_DISKDAEMON_DISKDAEMONDISKIOMODULE_H */
/* DEBUG: section 79 Squid-side DISKD I/O functions. */
-#ifndef SQUID_DISKD_ACTION_H
-#define SQUID_DISKD_ACTION_H
+#ifndef SQUID_SRC_DISKIO_DISKDAEMON_DISKDACTION_H
+#define SQUID_SRC_DISKIO_DISKDAEMON_DISKDACTION_H
#include "ipc/forward.h"
#include "mgr/Action.h"
DiskdActionData data;
};
-#endif /* SQUID_DISKD_ACTION_H */
+#endif /* SQUID_SRC_DISKIO_DISKDAEMON_DISKDACTION_H */
/* DEBUG: section 79 Squid-side DISKD I/O functions. */
-#ifndef __STORE_DISKDFILE_H__
-#define __STORE_DISKDFILE_H__
+#ifndef SQUID_SRC_DISKIO_DISKDAEMON_DISKDFILE_H
+#define SQUID_SRC_DISKIO_DISKDAEMON_DISKDFILE_H
#include "cbdata.h"
#include "DiskIO/DiskFile.h"
size_t inProgressIOs;
};
-#endif
+#endif /* SQUID_SRC_DISKIO_DISKDAEMON_DISKDFILE_H */
/* DEBUG: section 79 Squid-side DISKD I/O functions. */
-#ifndef __STORE_DISKDIOSTRATEGY_H__
-#define __STORE_DISKDIOSTRATEGY_H__
+#ifndef SQUID_SRC_DISKIO_DISKDAEMON_DISKDIOSTRATEGY_H
+#define SQUID_SRC_DISKIO_DISKDAEMON_DISKDIOSTRATEGY_H
struct diomsg;
/// \ingroup diskd
extern diskd_stats_t diskd_stats;
-#endif
+#endif /* SQUID_SRC_DISKIO_DISKDAEMON_DISKDIOSTRATEGY_H */
* Internal declarations for the diskd routines
*/
-#ifndef SQUID_DIOMSG_H__
-#define SQUID_DIOMSG_H__
+#ifndef SQUID_SRC_DISKIO_DISKDAEMON_DIOMSG_H
+#define SQUID_SRC_DISKIO_DISKDAEMON_DIOMSG_H
enum {
_MQD_NOP,
static const int msg_snd_rcv_sz;
};
-#endif /* SQUID_DIOMSG_H__ */
+#endif /* SQUID_SRC_DISKIO_DISKDAEMON_DIOMSG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DISKFILE_H
-#define SQUID_DISKFILE_H
+#ifndef SQUID_SRC_DISKIO_DISKFILE_H
+#define SQUID_SRC_DISKIO_DISKFILE_H
#include "base/RefCount.h"
#include "time/gadgets.h"
virtual bool ioInProgress() const = 0;
};
-#endif /* SQUID_DISKFILE_H */
+#endif /* SQUID_SRC_DISKIO_DISKFILE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DISKIOMODULE_H
-#define SQUID_DISKIOMODULE_H
+#ifndef SQUID_SRC_DISKIO_DISKIOMODULE_H
+#define SQUID_SRC_DISKIO_DISKIOMODULE_H
#include <vector>
static std::vector<DiskIOModule*> *_Modules;
};
-#endif /* SQUID_DISKIOMODULE_H */
+#endif /* SQUID_SRC_DISKIO_DISKIOMODULE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DISKIOSTRATEGY_H
-#define SQUID_DISKIOSTRATEGY_H
+#ifndef SQUID_SRC_DISKIO_DISKIOSTRATEGY_H
+#define SQUID_SRC_DISKIO_DISKIOSTRATEGY_H
#include "base/RefCount.h"
#include "Store.h"
DiskIOStrategy *io;
};
-#endif /* SQUID_DISKIOSTRATEGY_H */
+#endif /* SQUID_SRC_DISKIO_DISKIOSTRATEGY_H */
* Internal declarations for the DiskThreads routines
*/
-#ifndef __DISKTHREADS_H__
-#define __DISKTHREADS_H__
+#ifndef SQUID_SRC_DISKIO_DISKTHREADS_DISKTHREADS_H
+#define SQUID_SRC_DISKIO_DISKTHREADS_DISKTHREADS_H
#include "dlink.h"
#include "mem/forward.h"
extern AIOCounts squidaio_counts;
extern dlink_list used_list;
-#endif
+#endif /* SQUID_SRC_DISKIO_DISKTHREADS_DISKTHREADS_H */
/* DEBUG: section 79 Disk IO Routines */
-#ifndef SQUID_DISKTHREADSDISKFILE_H
-#define SQUID_DISKTHREADSDISKFILE_H
+#ifndef SQUID_SRC_DISKIO_DISKTHREADS_DISKTHREADSDISKFILE_H
+#define SQUID_SRC_DISKIO_DISKTHREADS_DISKTHREADSDISKFILE_H
#include "cbdata.h"
#include "DiskIO/DiskFile.h"
IoResult<RT>
IOResult(RefCount<RT> aRequest, RefCount<DiskThreadsDiskFile> aFile) { return IoResult<RT>(aFile, aRequest);}
-#endif /* SQUID_DISKTHREADSDISKFILE_H */
+#endif /* SQUID_SRC_DISKIO_DISKTHREADS_DISKTHREADSDISKFILE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DISKTHREADSDISKIOMODULE_H
-#define SQUID_DISKTHREADSDISKIOMODULE_H
+#ifndef SQUID_SRC_DISKIO_DISKTHREADS_DISKTHREADSDISKIOMODULE_H
+#define SQUID_SRC_DISKIO_DISKTHREADS_DISKTHREADSDISKIOMODULE_H
#include "DiskIO/DiskIOModule.h"
static DiskThreadsDiskIOModule Instance;
};
-#endif /* SQUID_DISKTHREADSDISKIOMODULE_H */
+#endif /* SQUID_SRC_DISKIO_DISKTHREADS_DISKTHREADSDISKIOMODULE_H */
/* DEBUG: section 79 Squid-side Disk I/O functions. */
-#ifndef __STORE_DISKTHREADEDIOSTRATEGY_H__
-#define __STORE_DISKTHREADEDIOSTRATEGY_H__
+#ifndef SQUID_SRC_DISKIO_DISKTHREADS_DISKTHREADSIOSTRATEGY_H
+#define SQUID_SRC_DISKIO_DISKTHREADS_DISKTHREADSIOSTRATEGY_H
#define _AIO_OPEN 0
#define _AIO_READ 1
void registerWithCacheManager(void);
};
-#endif
+#endif /* SQUID_SRC_DISKIO_DISKTHREADS_DISKTHREADSIOSTRATEGY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IOREQUESTOR_H
-#define SQUID_IOREQUESTOR_H
+#ifndef SQUID_SRC_DISKIO_IOREQUESTOR_H
+#define SQUID_SRC_DISKIO_IOREQUESTOR_H
#include "base/RefCount.h"
virtual void writeCompleted(int errflag, size_t len, RefCount<WriteRequest>) = 0;
};
-#endif /* SQUID_IOREQUESTOR_H */
+#endif /* SQUID_SRC_DISKIO_IOREQUESTOR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_IODISKIOMODULE_H
-#define SQUID_IPC_IODISKIOMODULE_H
+#ifndef SQUID_SRC_DISKIO_IPCIO_IPCIODISKIOMODULE_H
+#define SQUID_SRC_DISKIO_IPCIO_IPCIODISKIOMODULE_H
#include "DiskIO/DiskIOModule.h"
static IpcIoDiskIOModule Instance;
};
-#endif /* SQUID_IPC_IODISKIOMODULE_H */
+#endif /* SQUID_SRC_DISKIO_IPCIO_IPCIODISKIOMODULE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_IOFILE_H
-#define SQUID_IPC_IOFILE_H
+#ifndef SQUID_SRC_DISKIO_IPCIO_IPCIOFILE_H
+#define SQUID_SRC_DISKIO_IPCIO_IPCIOFILE_H
#include "base/AsyncCall.h"
#include "cbdata.h"
IpcIoPendingRequest &operator =(const IpcIoPendingRequest &d); // ditto
};
-#endif /* SQUID_IPC_IOFILE_H */
+#endif /* SQUID_SRC_DISKIO_IPCIO_IPCIOFILE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_IOIOSTRATEGY_H
-#define SQUID_IPC_IOIOSTRATEGY_H
+#ifndef SQUID_SRC_DISKIO_IPCIO_IPCIOIOSTRATEGY_H
+#define SQUID_SRC_DISKIO_IPCIO_IPCIOIOSTRATEGY_H
#include "DiskIO/DiskIOStrategy.h"
class IpcIoIOStrategy : public DiskIOStrategy
void unlinkFile (char const *) override;
};
-#endif /* SQUID_IPC_IOIOSTRATEGY_H */
+#endif /* SQUID_SRC_DISKIO_IPCIO_IPCIOIOSTRATEGY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_MMAPPEDDISKIOMODULE_H
-#define SQUID_MMAPPEDDISKIOMODULE_H
+#ifndef SQUID_SRC_DISKIO_MMAPPED_MMAPPEDDISKIOMODULE_H
+#define SQUID_SRC_DISKIO_MMAPPED_MMAPPEDDISKIOMODULE_H
#include "DiskIO/DiskIOModule.h"
static MmappedDiskIOModule Instance;
};
-#endif /* SQUID_MMAPPEDDISKIOMODULE_H */
+#endif /* SQUID_SRC_DISKIO_MMAPPED_MMAPPEDDISKIOMODULE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_MMAPPEDFILE_H
-#define SQUID_MMAPPEDFILE_H
+#ifndef SQUID_SRC_DISKIO_MMAPPED_MMAPPEDFILE_H
+#define SQUID_SRC_DISKIO_MMAPPED_MMAPPEDFILE_H
#include "cbdata.h"
#include "DiskIO/DiskFile.h"
void doClose();
};
-#endif /* SQUID_MMAPPEDFILE_H */
+#endif /* SQUID_SRC_DISKIO_MMAPPED_MMAPPEDFILE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_MMAPPEDIOSTRATEGY_H
-#define SQUID_MMAPPEDIOSTRATEGY_H
+#ifndef SQUID_SRC_DISKIO_MMAPPED_MMAPPEDIOSTRATEGY_H
+#define SQUID_SRC_DISKIO_MMAPPED_MMAPPEDIOSTRATEGY_H
#include "DiskIO/DiskIOStrategy.h"
class MmappedIOStrategy : public DiskIOStrategy
void unlinkFile (char const *) override;
};
-#endif /* SQUID_MMAPPEDIOSTRATEGY_H */
+#endif /* SQUID_SRC_DISKIO_MMAPPED_MMAPPEDIOSTRATEGY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_READREQUEST_H
-#define SQUID_READREQUEST_H
+#ifndef SQUID_SRC_DISKIO_READREQUEST_H
+#define SQUID_SRC_DISKIO_READREQUEST_H
#include "base/RefCount.h"
#include "cbdata.h"
size_t len;
};
-#endif /* SQUID_READREQUEST_H */
+#endif /* SQUID_SRC_DISKIO_READREQUEST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_WRITEREQUEST_H
-#define SQUID_WRITEREQUEST_H
+#ifndef SQUID_SRC_DISKIO_WRITEREQUEST_H
+#define SQUID_SRC_DISKIO_WRITEREQUEST_H
#include "base/RefCount.h"
#include "cbdata.h"
FREE *free_func;
};
-#endif /* SQUID_WRITEREQUEST_H */
+#endif /* SQUID_SRC_DISKIO_WRITEREQUEST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DOWNLOADER_H
-#define SQUID_DOWNLOADER_H
+#ifndef SQUID_SRC_DOWNLOADER_H
+#define SQUID_SRC_DOWNLOADER_H
#include "base/AsyncCallbacks.h"
#include "base/AsyncJob.h"
DownloaderContextPointer context_;
};
-#endif
+#endif /* SQUID_SRC_DOWNLOADER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_ETAG_H
-#define _SQUID_ETAG_H
+#ifndef SQUID_SRC_ETAG_H
+#define SQUID_SRC_ETAG_H
/**
* ETag support is rudimantal; this struct is likely to change
/// whether etags are weak-equal
bool etagIsWeakEqual(const ETag &tag1, const ETag &tag2);
-#endif /* _SQUIDETAG_H */
+#endif /* SQUID_SRC_ETAG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_EVENTLOOP_H
-#define SQUID_EVENTLOOP_H
+#ifndef SQUID_SRC_EVENTLOOP_H
+#define SQUID_SRC_EVENTLOOP_H
#include "time/forward.h"
bool runOnceResult; /**< the result from runOnce */
};
-#endif /* SQUID_EVENTLOOP_H */
+#endif /* SQUID_SRC_EVENTLOOP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_EXTERNALACL_H
-#define SQUID_EXTERNALACL_H
+#ifndef SQUID_SRC_EXTERNALACL_H
+#define SQUID_SRC_EXTERNALACL_H
#include "acl/Acl.h"
#include "acl/Checklist.h"
void externalAclInit(void);
void externalAclShutdown(void);
-#endif /* SQUID_EXTERNALACL_H */
+#endif /* SQUID_SRC_EXTERNALACL_H */
/* DEBUG: section 82 External ACL */
-#ifndef SQUID_EXTERNALACLENTRY_H
-#define SQUID_EXTERNALACLENTRY_H
+#ifndef SQUID_SRC_EXTERNALACLENTRY_H
+#define SQUID_SRC_EXTERNALACLENTRY_H
#include "acl/Acl.h"
#include "acl/forward.h"
external_acl *def;
};
-#endif
+#endif /* SQUID_SRC_EXTERNALACLENTRY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FADING_COUNTER_H
-#define SQUID_FADING_COUNTER_H
+#ifndef SQUID_SRC_FADINGCOUNTER_H
+#define SQUID_SRC_FADINGCOUNTER_H
#include <vector>
int total; ///< number of remembered events (possibly stale)
};
-#endif /* SQUID_FADING_COUNTER_H */
+#endif /* SQUID_SRC_FADINGCOUNTER_H */
/* DEBUG: section 08 Swap File Bitmap */
-#ifndef FILEMAP_H_
-#define FILEMAP_H_
+#ifndef SQUID_SRC_FILEMAP_H
+#define SQUID_SRC_FILEMAP_H
#include "store/forward.h"
unsigned long *bitmap;
};
-#endif /* FILEMAP_H_ */
+#endif /* SQUID_SRC_FILEMAP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FORWARD_H
-#define SQUID_FORWARD_H
+#ifndef SQUID_SRC_FWDSTATE_H
+#define SQUID_SRC_FWDSTATE_H
#include "base/forward.h"
#include "base/JobWait.h"
/// a collection of previously used persistent Squid-to-peer HTTP(S) connections
extern PconnPool *fwdPconnPool;
-#endif /* SQUID_FORWARD_H */
+#endif /* SQUID_SRC_FWDSTATE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_GENERIC_H
-#define SQUID_GENERIC_H
+#ifndef SQUID_SRC_GENERIC_H
+#define SQUID_SRC_GENERIC_H
#include "dlink.h"
std::string delimiter;
};
-#endif /* SQUID_GENERIC_H */
+#endif /* SQUID_SRC_GENERIC_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HAPPYCONNOPENER_H
-#define SQUID_HAPPYCONNOPENER_H
+#ifndef SQUID_SRC_HAPPYCONNOPENER_H
+#define SQUID_SRC_HAPPYCONNOPENER_H
#include "base/AsyncCallbacks.h"
#include "base/JobWait.h"
#include "base/RefCount.h"
mutable const char *ranOutOfTimeOrAttemptsEarlier_ = nullptr;
};
-#endif
+#endif /* SQUID_SRC_HAPPYCONNOPENER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPHIERARCHYLOGENTRY_H
-#define SQUID_HTTPHIERARCHYLOGENTRY_H
+#ifndef SQUID_SRC_HIERARCHYLOGENTRY_H
+#define SQUID_SRC_HIERARCHYLOGENTRY_H
#include "comm/Connection.h"
#include "enums.h"
struct timeval totalResponseTime_; ///< cumulative for all peers
};
-#endif /* SQUID_HTTPHIERARCHYLOGENTRY_H */
+#endif /* SQUID_SRC_HIERARCHYLOGENTRY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef HTTPBODY_H_
-#define HTTPBODY_H_
+#ifndef SQUID_SRC_HTTPBODY_H
+#define SQUID_SRC_HTTPBODY_H
#include "sbuf/SBuf.h"
SBuf raw_; // body bytes
};
-#endif /* HTTPBODY_H_ */
+#endif /* SQUID_SRC_HTTPBODY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTP_CONTROL_MSG_H
-#define SQUID_HTTP_CONTROL_MSG_H
+#ifndef SQUID_SRC_HTTPCONTROLMSG_H
+#define SQUID_SRC_HTTPCONTROLMSG_H
#include "base/AsyncCall.h"
#include "HttpReply.h"
return os << msg.reply << ", " << msg.cbSuccess;
}
-#endif /* SQUID_HTTP_CONTROL_MSG_H */
+#endif /* SQUID_SRC_HTTPCONTROLMSG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPHDRCC_H
-#define SQUID_HTTPHDRCC_H
+#ifndef SQUID_SRC_HTTPHDRCC_H
+#define SQUID_SRC_HTTPHDRCC_H
#include "defines.h"
#include "dlink.h"
std::ostream & operator<< (std::ostream &, HttpHdrCcType);
-#endif /* SQUID_HTTPHDRCC_H */
+#endif /* SQUID_SRC_HTTPHDRCC_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPHDRCONTRANGE_H
-#define SQUID_HTTPHDRCONTRANGE_H
+#ifndef SQUID_SRC_HTTPHDRCONTRANGE_H
+#define SQUID_SRC_HTTPHDRCONTRANGE_H
#include "HttpHeaderRange.h"
void httpHdrContRangeSet(HttpHdrContRange *, HttpHdrRangeSpec, int64_t);
void httpHeaderAddContRange(HttpHeader *, HttpHdrRangeSpec, int64_t);
-#endif /* SQUID_HTTPHDRCONTRANGE_H */
+#endif /* SQUID_SRC_HTTPHDRCONTRANGE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPHDRSURROGATECONTROL_H
-#define SQUID_HTTPHDRSURROGATECONTROL_H
+#ifndef SQUID_SRC_HTTPHDRSC_H
+#define SQUID_SRC_HTTPHDRSC_H
#include "http/forward.h"
#include "HttpHdrScTarget.h"
void httpHdrScSetMaxAge(HttpHdrSc *, char const *, int);
http_hdr_sc_type &operator++(http_hdr_sc_type &);
-#endif /* SQUID_HTTPHDRSURROGATECONTROL_H */
+#endif /* SQUID_SRC_HTTPHDRSC_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPHDRSURROGATECONTROLTARGET_H
-#define SQUID_HTTPHDRSURROGATECONTROLTARGET_H
+#ifndef SQUID_SRC_HTTPHDRSCTARGET_H
+#define SQUID_SRC_HTTPHDRSCTARGET_H
#include "defines.h" //for bit mask operations
#include "http/forward.h"
void httpHdrScTargetStatDumper(StoreEntry * sentry, int idx, double val, double size, int count);
-#endif /* SQUID_HTTPHDRSURROGATECONTROLTARGET_H */
+#endif /* SQUID_SRC_HTTPHDRSCTARGET_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPHEADER_H
-#define SQUID_HTTPHEADER_H
+#ifndef SQUID_SRC_HTTPHEADER_H
+#define SQUID_SRC_HTTPHEADER_H
#include "anyp/ProtocolVersion.h"
#include "base/LookupTable.h"
void httpHeaderInitModule(void);
-#endif /* SQUID_HTTPHEADER_H */
+#endif /* SQUID_SRC_HTTPHEADER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPHEADERFIELDSTAT_H_
-#define SQUID_HTTPHEADERFIELDSTAT_H_
+#ifndef SQUID_SRC_HTTPHEADERFIELDSTAT_H
+#define SQUID_SRC_HTTPHEADERFIELDSTAT_H
/// per field statistics. Currently a POD.
class HttpHeaderFieldStat
int repCount; /* number of repetitons */
};
-#endif /* SQUID_HTTPHEADERFIELDSTAT_H_ */
+#endif /* SQUID_SRC_HTTPHEADERFIELDSTAT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPHEADERMASK_H
-#define SQUID_HTTPHEADERMASK_H
+#ifndef SQUID_SRC_HTTPHEADERMASK_H
+#define SQUID_SRC_HTTPHEADERMASK_H
/* big mask for http headers */
typedef char HttpHeaderMask[12];
void httpHeaderMaskInit(HttpHeaderMask * mask, int value);
-#endif /* SQUID_HTTPHEADERMASK_H */
+#endif /* SQUID_SRC_HTTPHEADERMASK_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPHEADERRANGE_H
-#define SQUID_HTTPHEADERRANGE_H
+#ifndef SQUID_SRC_HTTPHEADERRANGE_H
+#define SQUID_SRC_HTTPHEADERRANGE_H
#include "base/Range.h"
#include "mem/forward.h"
bool valid = false;
};
-#endif /* SQUID_HTTPHEADERRANGE_H */
+#endif /* SQUID_SRC_HTTPHEADERRANGE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef HTTPHEADERSTAT_H_
-#define HTTPHEADERSTAT_H_
+#ifndef SQUID_SRC_HTTPHEADERSTAT_H
+#define SQUID_SRC_HTTPHEADERSTAT_H
#include "HttpHdrCc.h"
#include "HttpHdrSc.h"
int busyDestroyedCount;
};
-#endif /* HTTPHEADERSTAT_H_ */
+#endif /* SQUID_SRC_HTTPHEADERSTAT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPHEADERTOOLS_H
-#define SQUID_HTTPHEADERTOOLS_H
+#ifndef SQUID_SRC_HTTPHEADERTOOLS_H
+#define SQUID_SRC_HTTPHEADERTOOLS_H
#include "acl/forward.h"
#include "format/Format.h"
void httpHdrMangleList(HttpHeader *, HttpRequest *, const AccessLogEntryPointer &al, req_or_rep_t req_or_rep);
-#endif
+#endif /* SQUID_SRC_HTTPHEADERTOOLS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPREPLY_H
-#define SQUID_HTTPREPLY_H
+#ifndef SQUID_SRC_HTTPREPLY_H
+#define SQUID_SRC_HTTPREPLY_H
#include "http/StatusLine.h"
#include "HttpBody.h"
bool parseFirstLine(const char *start, const char *end) override;
};
-#endif /* SQUID_HTTPREPLY_H */
+#endif /* SQUID_SRC_HTTPREPLY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPREQUEST_H
-#define SQUID_HTTPREQUEST_H
+#ifndef SQUID_SRC_HTTPREQUEST_H
+#define SQUID_SRC_HTTPREQUEST_H
#include "anyp/Uri.h"
#include "base/CbcPointer.h"
/// nil parameter(s) indicate missing caller information and are handled safely
AnyP::Port FindListeningPortNumber(const HttpRequest *, const AccessLogEntry *);
-#endif /* SQUID_HTTPREQUEST_H */
+#endif /* SQUID_SRC_HTTPREQUEST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTP_UPGRADE_H
-#define SQUID_HTTP_UPGRADE_H
+#ifndef SQUID_SRC_HTTPUPGRADEPROTOCOLACCESS_H
+#define SQUID_SRC_HTTPUPGRADEPROTOCOLACCESS_H
#include "acl/forward.h"
#include "sbuf/SBuf.h"
(void)visitor(ProtoOther, other);
}
-#endif /* SQUID_HTTP_UPGRADE_H */
+#endif /* SQUID_SRC_HTTPUPGRADEPROTOCOLACCESS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ICP_H
-#define SQUID_ICP_H
+#ifndef SQUID_SRC_ICP_H
+#define SQUID_SRC_ICP_H
/**
\defgroup ServerProtocolICPAPI ICP
/// \ingroup ServerProtocolICPAPI
const cache_key *icpGetCacheKey(const char *url, int reqnum);
-#endif /* SQUID_ICP_H */
+#endif /* SQUID_SRC_ICP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_INSTANCE_H
-#define SQUID_INSTANCE_H
+#ifndef SQUID_SRC_INSTANCE_H
+#define SQUID_SRC_INSTANCE_H
#if HAVE_SYS_TYPES_H
#include <sys/types.h>
} // namespace Instance
-#endif
+#endif /* SQUID_SRC_INSTANCE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IOSTATS_H_
-#define SQUID_IOSTATS_H_
+#ifndef SQUID_SRC_IOSTATS_H
+#define SQUID_SRC_IOSTATS_H
/// IO statistics. Currently a POD.
class IoStats
Http, Ftp;
};
-#endif /* SQUID_IOSTATS_H_ */
+#endif /* SQUID_SRC_IOSTATS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_LOADABLE_MODULE_H
-#define SQUID_LOADABLE_MODULE_H
+#ifndef SQUID_SRC_LOADABLEMODULE_H
+#define SQUID_SRC_LOADABLEMODULE_H
#include "SquidString.h"
const char *errorMsg();
};
-#endif
+#endif /* SQUID_SRC_LOADABLEMODULE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_LOADABLE_MODULES_H
-#define SQUID_LOADABLE_MODULES_H
+#ifndef SQUID_SRC_LOADABLEMODULES_H
+#define SQUID_SRC_LOADABLEMODULES_H
// TODO: add reporting for cachemgr
// TODO: add reconfiguration support
class wordlist;
void LoadableModulesConfigure(const wordlist *names);
-#endif /* SQUID_LOADABLE_MODULES_H */
+#endif /* SQUID_SRC_LOADABLEMODULES_H */
return aLogType;
}
-#endif
+#endif /* SQUID_SRC_LOGTAGS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_MEMBUF_H
-#define SQUID_MEMBUF_H
+#ifndef SQUID_SRC_MEMBUF_H
+#define SQUID_SRC_MEMBUF_H
#include "base/Packable.h"
#include "cbdata.h"
/** returns free() function to be used, _freezes_ the object! */
void memBufReport(MemBuf * mb);
-#endif /* SQUID_MEMBUF_H */
+#endif /* SQUID_SRC_MEMBUF_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_MEMOBJECT_H
-#define SQUID_MEMOBJECT_H
+#ifndef SQUID_SRC_MEMOBJECT_H
+#define SQUID_SRC_MEMOBJECT_H
#include "base/DelayedAsyncCalls.h"
#include "dlink.h"
/** global current memory removal policy */
extern RemovalPolicy *mem_policy;
-#endif /* SQUID_MEMOBJECT_H */
+#endif /* SQUID_SRC_MEMOBJECT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_MEMSTORE_H
-#define SQUID_MEMSTORE_H
+#ifndef SQUID_SRC_MEMSTORE_H
+#define SQUID_SRC_MEMSTORE_H
#include "ipc/mem/Page.h"
#include "ipc/mem/PageStack.h"
// to check/update memory cache separately from the disk cache. And same API
// would hurt because we can support synchronous get/put, unlike the disks.
-#endif /* SQUID_MEMSTORE_H */
+#endif /* SQUID_SRC_MEMSTORE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef MESSAGEBUCKET_H
-#define MESSAGEBUCKET_H
+#ifndef SQUID_SRC_MESSAGEBUCKET_H
+#define SQUID_SRC_MESSAGEBUCKET_H
#if USE_DELAY_POOLS
#endif /* USE_DELAY_POOLS */
-#endif
+#endif /* SQUID_SRC_MESSAGEBUCKET_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef MESSAGEDELAYPOOLS_H
-#define MESSAGEDELAYPOOLS_H
+#ifndef SQUID_SRC_MESSAGEDELAYPOOLS_H
+#define SQUID_SRC_MESSAGEDELAYPOOLS_H
#if USE_DELAY_POOLS
}
#endif
-#endif
+#endif /* SQUID_SRC_MESSAGEDELAYPOOLS_H */
uint64_t messageTotal() const {return header + payloadData;}
};
-#endif /* SQUID_SRC_MESSAGESIZES_H */
+#endif /* SQUID_SRC_MESSAGESIZES_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_NEIGHBORTYPEDOMAINLIST_H_
-#define SQUID_NEIGHBORTYPEDOMAINLIST_H_
+#ifndef SQUID_SRC_NEIGHBORTYPEDOMAINLIST_H
+#define SQUID_SRC_NEIGHBORTYPEDOMAINLIST_H
#include "enums.h"
NeighborTypeDomainList *next;
};
-#endif /* SQUID_NEIGHBORTYPEDOMAINLIST_H_ */
+#endif /* SQUID_SRC_NEIGHBORTYPEDOMAINLIST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_NOTES_H
-#define SQUID_NOTES_H
+#ifndef SQUID_SRC_NOTES_H
+#define SQUID_SRC_NOTES_H
#include "acl/forward.h"
#include "base/RefCount.h"
Entries entries; ///< The key/value pair entries
};
-#endif
+#endif /* SQUID_SRC_NOTES_H */
/* DEBUG: section 77 Delay Pools */
-#ifndef NULLDELAYID_H
-#define NULLDELAYID_H
+#ifndef SQUID_SRC_NULLDELAYID_H
+#define SQUID_SRC_NULLDELAYID_H
#if USE_DELAY_POOLS
#include "DelayIdComposite.h"
void bytesIn(int) override {}
};
#endif
-#endif /* NULLDELAYID_H */
+#endif /* SQUID_SRC_NULLDELAYID_H */
/* DEBUG: section 03 Configuration File Parsing */
-#ifndef SQUID_PARSING_H
-#define SQUID_PARSING_H
+#ifndef SQUID_SRC_PARSING_H
+#define SQUID_SRC_PARSING_H
#include "ip/Address.h"
*/
bool GetHostWithPort(char *token, Ip::Address *ipa);
-#endif /* SQUID_PARSING_H */
+#endif /* SQUID_SRC_PARSING_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_PEERDIGEST_H
-#define SQUID_PEERDIGEST_H
+#ifndef SQUID_SRC_PEERDIGEST_H
+#define SQUID_SRC_PEERDIGEST_H
#if USE_CACHE_DIGESTS
#endif /* USE_CACHE_DIGESTS */
-#endif /* SQUID_PEERDIGEST_H */
+#endif /* SQUID_SRC_PEERDIGEST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_PEERPOOLMGR_H
-#define SQUID_PEERPOOLMGR_H
+#ifndef SQUID_SRC_PEERPOOLMGR_H
+#define SQUID_SRC_PEERPOOLMGR_H
#include "base/AsyncJob.h"
#include "base/JobWait.h"
unsigned int addrUsed; ///< counter for cycling through peer addresses
};
-#endif /* SQUID_PEERPOOLMGR_H */
+#endif /* SQUID_SRC_PEERPOOLMGR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_PEERSELECTSTATE_H
-#define SQUID_PEERSELECTSTATE_H
+#ifndef SQUID_SRC_PEERSELECTSTATE_H
+#define SQUID_SRC_PEERSELECTSTATE_H
#include "AccessLogEntry.h"
#include "acl/Checklist.h"
const InstanceId<PeerSelector> id; ///< unique identification in worker log
};
-#endif /* SQUID_PEERSELECTSTATE_H */
+#endif /* SQUID_SRC_PEERSELECTSTATE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_PINGDATA_H
-#define SQUID_PINGDATA_H
+#ifndef SQUID_SRC_PINGDATA_H
+#define SQUID_SRC_PINGDATA_H
#include "mem/PoolingAllocator.h"
WaitingPeerSelectorPosition monitorRegistration;
};
-#endif /* SQUID_PINGDATA_H */
+#endif /* SQUID_SRC_PINGDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_REFRESHPATTERN_H_
-#define SQUID_REFRESHPATTERN_H_
+#ifndef SQUID_SRC_REFRESHPATTERN_H
+#define SQUID_SRC_REFRESHPATTERN_H
#include "base/RegexPattern.h"
return os;
}
-#endif /* SQUID_REFRESHPATTERN_H_ */
+#endif /* SQUID_SRC_REFRESHPATTERN_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_REMOVALPOLICY_H
-#define SQUID_REMOVALPOLICY_H
+#ifndef SQUID_SRC_REMOVALPOLICY_H
+#define SQUID_SRC_REMOVALPOLICY_H
#include "cbdata.h"
typedef RemovalPolicy *REMOVALPOLICYCREATE(wordlist * args);
-#endif /* SQUID_REMOVALPOLICY_H */
+#endif /* SQUID_SRC_REMOVALPOLICY_H */
/* DEBUG: section 73 HTTP Request */
-#ifndef SQUID_REQUESTFLAGS_H_
-#define SQUID_REQUESTFLAGS_H_
+#ifndef SQUID_SRC_REQUESTFLAGS_H
+#define SQUID_SRC_REQUESTFLAGS_H
#include "base/SupportOrVeto.h"
void disableCacheUse(const char *reason);
};
-#endif /* SQUID_REQUESTFLAGS_H_ */
+#endif /* SQUID_SRC_REQUESTFLAGS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_RESOLVEDPEERS_H
-#define SQUID_RESOLVEDPEERS_H
+#ifndef SQUID_SRC_RESOLVEDPEERS_H
+#define SQUID_SRC_RESOLVEDPEERS_H
#include "base/RefCount.h"
#include "comm/Connection.h"
return os;
}
-#endif /* SQUID_RESOLVEDPEERS_H */
+#endif /* SQUID_SRC_RESOLVEDPEERS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SBUFEXTRAS_H
-#define SQUID_SBUFEXTRAS_H
+#ifndef SQUID_SRC_SBUFSTATSACTION_H
+#define SQUID_SRC_SBUFSTATSACTION_H
#include "mgr/Action.h"
#include "StatHist.h"
StatHist mbsizesatdestruct;
};
-#endif /* SQUID_SBUFSTATSACTION_H */
+#endif /* SQUID_SRC_SBUFSTATSACTION_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SNMPREQUEST_H_
-#define SQUID_SNMPREQUEST_H_
+#ifndef SQUID_SRC_SNMPREQUEST_H
+#define SQUID_SRC_SNMPREQUEST_H
#if SQUID_SNMP
#include "acl/forward.h"
#endif /* SQUID_SNMP */
-#endif /* SQUID_SNMPREQUEST_H_ */
+#endif /* SQUID_SRC_SNMPREQUEST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SQUIDCONFIG_H_
-#define SQUID_SQUIDCONFIG_H_
+#ifndef SQUID_SRC_SQUIDCONFIG_H
+#define SQUID_SRC_SQUIDCONFIG_H
#include "acl/forward.h"
#include "base/RefCount.h"
extern SquidConfig2 Config2;
-#endif /* SQUID_SQUIDCONFIG_H_ */
+#endif /* SQUID_SRC_SQUIDCONFIG_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_SQUIDIPC_H_
-#define SQUID_SQUIDIPC_H_
+#ifndef SQUID_SRC_SQUIDIPC_H
+#define SQUID_SRC_SQUIDIPC_H
namespace Ip
{
int *wfd,
void **hIpc);
-#endif /* SQUID_SQUIDIPC_H_ */
+#endif /* SQUID_SRC_SQUIDIPC_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_SQUIDMATH_H
-#define _SQUID_SRC_SQUIDMATH_H
+#ifndef SQUID_SRC_SQUIDMATH_H
+#define SQUID_SRC_SQUIDMATH_H
#include "base/forward.h"
#include "base/TypeTraits.h"
return NaturalSum<Result>(s).value();
}
-#endif /* _SQUID_SRC_SQUIDMATH_H */
+#endif /* SQUID_SRC_SQUIDMATH_H */
/* DEBUG: section 67 String */
-#ifndef SQUID_STRING_H
-#define SQUID_STRING_H
+#ifndef SQUID_SRC_SQUIDSTRING_H
+#define SQUID_SRC_SQUIDSTRING_H
#include "base/TextException.h"
#include "debug/Stream.h"
int stringHasCntl(const char *);
char *strwordtok(char *buf, char **t);
-#endif /* SQUID_STRING_H */
+#endif /* SQUID_SRC_SQUIDSTRING_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef STATCOUNTERS_H_
-#define STATCOUNTERS_H_
+#ifndef SQUID_SRC_STATCOUNTERS_H
+#define SQUID_SRC_STATCOUNTERS_H
#include "base/ByteCounter.h"
#include "comm/Incoming.h"
extern StatCounters statCounter;
-#endif /* STATCOUNTERS_H_ */
+#endif /* SQUID_SRC_STATCOUNTERS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef STATHIST_H_
-#define STATHIST_H_
+#ifndef SQUID_SRC_STATHIST_H
+#define SQUID_SRC_STATHIST_H
/* for StoreEntry */
#include "Store.h"
return *this;
}
-#endif /* STATHIST_H_ */
+#endif /* SQUID_SRC_STATHIST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STORE_H
-#define SQUID_STORE_H
+#ifndef SQUID_SRC_STORE_H
+#define SQUID_SRC_STORE_H
#include "base/DelayedAsyncCalls.h"
#include "base/Packable.h"
/// \ingroup StoreAPI
void storeGetMemSpace(int size);
-#endif /* SQUID_STORE_H */
+#endif /* SQUID_SRC_STORE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STORECLIENT_H
-#define SQUID_STORECLIENT_H
+#ifndef SQUID_SRC_STORECLIENT_H
+#define SQUID_SRC_STORECLIENT_H
#include "acl/ChecklistFiller.h"
#include "base/AsyncCall.h"
int storePendingNClients(const StoreEntry * e);
int storeClientIsThisAClient(store_client * sc, void *someClient);
-#endif /* SQUID_STORECLIENT_H */
+#endif /* SQUID_SRC_STORECLIENT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STOREFILESYSTEM_H
-#define SQUID_STOREFILESYSTEM_H
+#ifndef SQUID_SRC_STOREFILESYSTEM_H
+#define SQUID_SRC_STOREFILESYSTEM_H
#include "base/TypeTraits.h"
#include "store/forward.h"
// TODO: Kill this typedef!
typedef StoreFileSystem storefs_entry_t;
-#endif /* SQUID_STOREFILESYSTEM_H */
+#endif /* SQUID_SRC_STOREFILESYSTEM_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STOREIOBUFFER_H
-#define SQUID_STOREIOBUFFER_H
+#ifndef SQUID_SRC_STOREIOBUFFER_H
+#define SQUID_SRC_STOREIOBUFFER_H
#include "base/Range.h"
#include "MemBuf.h"
(void*)b.data << (b.flags.error ? ", ERR" : "") << ')';
}
-#endif /* SQUID_STOREIOBUFFER_H */
+#endif /* SQUID_SRC_STOREIOBUFFER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STOREIOSTATE_H
-#define SQUID_STOREIOSTATE_H
+#ifndef SQUID_SRC_STOREIOSTATE_H
+#define SQUID_SRC_STOREIOSTATE_H
#include "base/RefCount.h"
#include "cbdata.h"
void storeRead(StoreIOState::Pointer, char *, size_t, off_t, StoreIOState::STRCB *, void *);
void storeIOWrite(StoreIOState::Pointer, char const *, size_t, off_t, FREE *);
-#endif /* SQUID_STOREIOSTATE_H */
+#endif /* SQUID_SRC_STOREIOSTATE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STORESEARCH_H
-#define SQUID_STORESEARCH_H
+#ifndef SQUID_SRC_STORESEARCH_H
+#define SQUID_SRC_STORESEARCH_H
#include "base/RefCount.h"
#include "Store.h"
typedef RefCount<StoreSearch> StoreSearchPointer;
-#endif /* SQUID_STORESEARCH_H */
+#endif /* SQUID_SRC_STORESEARCH_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STORE_STATS_H
-#define SQUID_STORE_STATS_H
+#ifndef SQUID_SRC_STORESTATS_H
+#define SQUID_SRC_STORESTATS_H
/// High-level store statistics used by mgr:info action. Used inside PODs!
class StoreInfoStats
} create; ///< cache_dir selection and disk entry creation stats
};
-#endif /* SQUID_STORE_STATS_H */
+#endif /* SQUID_SRC_STORESTATS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STORESWAPLOGDATA_H
-#define SQUID_STORESWAPLOGDATA_H
+#ifndef SQUID_SRC_STORESWAPLOGDATA_H
+#define SQUID_SRC_STORESWAPLOGDATA_H
/**
\defgroup FileFormatSwapStateAPI swap.state File Structure
int32_t record_size;
};
-#endif /* SQUID_STORESWAPLOGDATA_H */
+#endif /* SQUID_SRC_STORESWAPLOGDATA_H */
/* DEBUG: section 66 HTTP Header Tools */
-#ifndef SQUID_STRLIST_H_
-#define SQUID_STRLIST_H_
+#ifndef SQUID_SRC_STRLIST_H
+#define SQUID_SRC_STRLIST_H
#include "sbuf/forward.h"
/// \returns the value of the found pair or an empty string.
SBuf getListMember(const String &list, const char *key, const char delimiter);
-#endif /* SQUID_STRLIST_H_ */
+#endif /* SQUID_SRC_STRLIST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_TIMEORTAG_H
-#define _SQUID_TIMEORTAG_H
+#ifndef SQUID_SRC_TIMEORTAG_H
+#define SQUID_SRC_TIMEORTAG_H
#include "ETag.h"
int valid; /* true if struct is usable */
};
-#endif /* _SQUID_TIMEORTAG_H */
+#endif /* SQUID_SRC_TIMEORTAG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_TRANSIENTS_H
-#define SQUID_TRANSIENTS_H
+#ifndef SQUID_SRC_TRANSIENTS_H
+#define SQUID_SRC_TRANSIENTS_H
#include "ipc/mem/Page.h"
#include "ipc/mem/PageStack.h"
// TODO: Why use Store as a base? We are not really a cache.
-#endif /* SQUID_TRANSIENTS_H */
+#endif /* SQUID_SRC_TRANSIENTS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_XACTION_INITIATOR_H
-#define SQUID_SRC_XACTION_INITIATOR_H
+#ifndef SQUID_SRC_XACTIONINITIATOR_H
+#define SQUID_SRC_XACTIONINITIATOR_H
/// identifies a protocol agent or Squid feature initiating transactions
class XactionInitiator {
Initiator initiator;
};
-#endif // SQUID_SRC_XACTION_INITIATOR_H
+#endif /* SQUID_SRC_XACTIONINITIATOR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_XACTIONSTEPS_H
-#define SQUID_XACTIONSTEPS_H
+#ifndef SQUID_SRC_XACTIONSTEP_H
+#define SQUID_SRC_XACTIONSTEP_H
enum class XactionStep {
enumBegin_ = 0, // for WholeEnum iteration
enumEnd_ // for WholeEnum iteration
};
-#endif /* SQUID_XACTIONSTEPS_H */
+#endif /* SQUID_SRC_XACTIONSTEP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_H
-#define SQUID_ACL_H
+#ifndef SQUID_SRC_ACL_ACL_H
+#define SQUID_SRC_ACL_ACL_H
#include "acl/forward.h"
#include "defines.h"
/// XXX: find a way to remove or at least use a refcounted Acl::Node pointer
extern const char *AclMatchedName; /* NULL */
-#endif /* SQUID_ACL_H */
+#endif /* SQUID_SRC_ACL_ACL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLDENYINFOLIST_H_
-#define SQUID_ACLDENYINFOLIST_H_
+#ifndef SQUID_SRC_ACL_ACLDENYINFOLIST_H
+#define SQUID_SRC_ACL_ACLDENYINFOLIST_H
#include "acl/forward.h"
#include "error/forward.h"
AclDenyInfoList *next = nullptr;
};
-#endif /* SQUID_ACLDENYINFOLIST_H_ */
+#endif /* SQUID_SRC_ACL_ACLDENYINFOLIST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLSIZELIMIT_H_
-#define SQUID_ACLSIZELIMIT_H_
+#ifndef SQUID_SRC_ACL_ACLSIZELIMIT_H
+#define SQUID_SRC_ACL_ACLSIZELIMIT_H
#include "acl/forward.h"
#include "cbdata.h"
int64_t size;
};
-#endif /* SQUID_ACLSIZELIMIT_H_ */
+#endif /* SQUID_SRC_ACL_ACLSIZELIMIT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLADAPTATIONSERVICE_H
-#define SQUID_ACLADAPTATIONSERVICE_H
+#ifndef SQUID_SRC_ACL_ADAPTATIONSERVICE_H
+#define SQUID_SRC_ACL_ADAPTATIONSERVICE_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLADAPTATIONSERVICE_H */
+#endif /* SQUID_SRC_ACL_ADAPTATIONSERVICE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATIONSERVICEDATA_H
-#define SQUID_ADAPTATIONSERVICEDATA_H
+#ifndef SQUID_SRC_ACL_ADAPTATIONSERVICEDATA_H
+#define SQUID_SRC_ACL_ADAPTATIONSERVICEDATA_H
#include "acl/Acl.h"
#include "acl/Data.h"
void parse() override;
};
-#endif /* SQUID_ADAPTATIONSERVICEDATA_H */
+#endif /* SQUID_SRC_ACL_ADAPTATIONSERVICEDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_ACL_ADDRESS_H
-#define _SQUID_SRC_ACL_ADDRESS_H
+#ifndef SQUID_SRC_ACL_ADDRESS_H
+#define SQUID_SRC_ACL_ADDRESS_H
#include "acl/Acl.h"
#include "cbdata.h"
} // namespace Acl
-#endif /* _SQUID_SRC_ACL_ADDRESS_H */
+#endif /* SQUID_SRC_ACL_ADDRESS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_ALL_OF_H
-#define SQUID_ACL_ALL_OF_H
+#ifndef SQUID_SRC_ACL_ALLOF_H
+#define SQUID_SRC_ACL_ALLOF_H
#include "acl/InnerNode.h"
} // namespace Acl
-#endif /* SQUID_ACL_ALL_OF_H */
+#endif /* SQUID_SRC_ACL_ALLOF_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLANNOTATIONDATA_H
-#define SQUID_ACLANNOTATIONDATA_H
+#ifndef SQUID_SRC_ACL_ANNOTATIONDATA_H
+#define SQUID_SRC_ACL_ANNOTATIONDATA_H
#include "AccessLogEntry.h"
#include "acl/Data.h"
Notes::Pointer notes;
};
-#endif /* SQUID_ACLANNOTATIONDATA_H */
+#endif /* SQUID_SRC_ACL_ANNOTATIONDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_ANY_OF_H
-#define SQUID_ACL_ANY_OF_H
+#ifndef SQUID_SRC_ACL_ANYOF_H
+#define SQUID_SRC_ACL_ANYOF_H
#include "acl/BoolOps.h"
} // namespace Acl
-#endif /* SQUID_ACL_ANY_OF_H */
+#endif /* SQUID_SRC_ACL_ANYOF_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLARP_H
-#define SQUID_ACLARP_H
+#ifndef SQUID_SRC_ACL_ARP_H
+#define SQUID_SRC_ACL_ARP_H
#include "acl/Node.h"
#include "eui/Eui48.h"
AclArpData_t aclArpData;
};
-#endif /* SQUID_ACLARP_H */
+#endif /* SQUID_SRC_ACL_ARP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLASN_H
-#define SQUID_ACLASN_H
+#ifndef SQUID_SRC_ACL_ASN_H
+#define SQUID_SRC_ACL_ASN_H
#include "acl/Data.h"
#include "base/CbDataList.h"
CbDataList<int> *data;
};
-#endif /* SQUID_ACLASN_H */
+#endif /* SQUID_SRC_ACL_ASN_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLATSTEP_H
-#define SQUID_ACLATSTEP_H
+#ifndef SQUID_SRC_ACL_ATSTEP_H
+#define SQUID_SRC_ACL_ATSTEP_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLATSTEP_H */
+#endif /* SQUID_SRC_ACL_ATSTEP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLATSTEPDATA_H
-#define SQUID_ACLATSTEPDATA_H
+#ifndef SQUID_SRC_ACL_ATSTEPDATA_H
+#define SQUID_SRC_ACL_ATSTEPDATA_H
#include "acl/Acl.h"
#include "acl/Data.h"
std::list<XactionStep> values;
};
-#endif /* SQUID_ACLSSL_ERRORDATA_H */
+#endif /* SQUID_SRC_ACL_ATSTEPDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_LOGIC_H
-#define SQUID_ACL_LOGIC_H
+#ifndef SQUID_SRC_ACL_BOOLOPS_H
+#define SQUID_SRC_ACL_BOOLOPS_H
#include "acl/InnerNode.h"
} // namespace Acl
-#endif /* SQUID_ACL_LOGIC_H */
+#endif /* SQUID_SRC_ACL_BOOLOPS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLCERTIFICATE_H
-#define SQUID_ACLCERTIFICATE_H
+#ifndef SQUID_SRC_ACL_CERTIFICATE_H
+#define SQUID_SRC_ACL_CERTIFICATE_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLCERTIFICATE_H */
+#endif /* SQUID_SRC_ACL_CERTIFICATE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLCERTIFICATEDATA_H
-#define SQUID_ACLCERTIFICATEDATA_H
+#ifndef SQUID_SRC_ACL_CERTIFICATEDATA_H
+#define SQUID_SRC_ACL_CERTIFICATEDATA_H
#include "acl/Acl.h"
#include "acl/Data.h"
Ssl::GETX509ATTRIBUTE *sslAttributeCall;
};
-#endif /* SQUID_ACLCERTIFICATEDATA_H */
+#endif /* SQUID_SRC_ACL_CERTIFICATEDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_CHARACTER_SET_OPTION_H
-#define SQUID_ACL_CHARACTER_SET_OPTION_H
+#ifndef SQUID_SRC_ACL_CHARACTERSETOPTION_H
+#define SQUID_SRC_ACL_CHARACTERSETOPTION_H
#include "acl/Options.h"
#include "base/CharacterSet.h"
} // namespace Acl
-#endif /* SQUID_ACL_CHARACTER_SET_OPTION_H */
+#endif /* SQUID_SRC_ACL_CHARACTERSETOPTION_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLCHECKLIST_H
-#define SQUID_ACLCHECKLIST_H
+#ifndef SQUID_SRC_ACL_CHECKLIST_H
+#define SQUID_SRC_ACL_CHECKLIST_H
#include "acl/Acl.h"
#include "acl/InnerNode.h"
std::vector<Acl::Answer> bannedActions_;
};
-#endif /* SQUID_ACLCHECKLIST_H */
+#endif /* SQUID_SRC_ACL_CHECKLIST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_CHECKLIST_FILLER_H
-#define SQUID_ACL_CHECKLIST_FILLER_H
+#ifndef SQUID_SRC_ACL_CHECKLISTFILLER_H
+#define SQUID_SRC_ACL_CHECKLISTFILLER_H
#include "acl/forward.h"
} // namespace Acl
-#endif /* SQUID_ACL_CHECKLIST_FILLER_H */
+#endif /* SQUID_SRC_ACL_CHECKLISTFILLER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLCONNMARK_H
-#define SQUID_ACLCONNMARK_H
+#ifndef SQUID_SRC_ACL_CONNMARK_H
+#define SQUID_SRC_ACL_CONNMARK_H
#include "acl/Node.h"
#include "ip/forward.h"
} // namespace Acl
-#endif /* SQUID_ACLCONNMARK_H */
+#endif /* SQUID_SRC_ACL_CONNMARK_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_CONNECTIONS_ENCRYPTED_H
-#define SQUID_ACL_CONNECTIONS_ENCRYPTED_H
+#ifndef SQUID_SRC_ACL_CONNECTIONSENCRYPTED_H
+#define SQUID_SRC_ACL_CONNECTIONSENCRYPTED_H
#include "acl/Acl.h"
#include "acl/Checklist.h"
} // namespace Acl
-#endif /* SQUID_ACL_CONNECTIONS_ENCRYPTED_H */
+#endif /* SQUID_SRC_ACL_CONNECTIONSENCRYPTED_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLDATA_H
-#define SQUID_ACLDATA_H
+#ifndef SQUID_SRC_ACL_DATA_H
+#define SQUID_SRC_ACL_DATA_H
#include "acl/Options.h"
#include "sbuf/List.h"
virtual bool empty() const =0;
};
-#endif /* SQUID_ACLDATA_H */
+#endif /* SQUID_SRC_ACL_DATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLDESTINATIONASN_H
-#define SQUID_ACLDESTINATIONASN_H
+#ifndef SQUID_SRC_ACL_DESTINATIONASN_H
+#define SQUID_SRC_ACL_DESTINATIONASN_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLDESTINATIONASN_H */
+#endif /* SQUID_SRC_ACL_DESTINATIONASN_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLDESTINATIONDOMAIN_H
-#define SQUID_ACLDESTINATIONDOMAIN_H
+#ifndef SQUID_SRC_ACL_DESTINATIONDOMAIN_H
+#define SQUID_SRC_ACL_DESTINATIONDOMAIN_H
#include "acl/Checklist.h"
#include "acl/Data.h"
} // namespace Acl
-#endif /* SQUID_ACLDESTINATIONDOMAIN_H */
+#endif /* SQUID_SRC_ACL_DESTINATIONDOMAIN_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLDESTINATIONIP_H
-#define SQUID_ACLDESTINATIONIP_H
+#ifndef SQUID_SRC_ACL_DESTINATIONIP_H
+#define SQUID_SRC_ACL_DESTINATIONIP_H
#include "acl/Checklist.h"
#include "acl/Ip.h"
Acl::BooleanOptionValue lookupBanned; ///< are DNS lookups allowed?
};
-#endif /* SQUID_ACLDESTINATIONIP_H */
+#endif /* SQUID_SRC_ACL_DESTINATIONIP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLDOMAINDATA_H
-#define SQUID_ACLDOMAINDATA_H
+#ifndef SQUID_SRC_ACL_DOMAINDATA_H
+#define SQUID_SRC_ACL_DOMAINDATA_H
#include "acl/Acl.h"
#include "acl/Data.h"
Splay<char *> *domains;
};
-#endif /* SQUID_ACLDOMAINDATA_H */
+#endif /* SQUID_SRC_ACL_DOMAINDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLEUI64_H
-#define SQUID_ACLEUI64_H
+#ifndef SQUID_SRC_ACL_EUI64_H
+#define SQUID_SRC_ACL_EUI64_H
#include "acl/Node.h"
#include "eui/Eui64.h"
char const *class_;
};
-#endif /* SQUID_ACLEUI64_H */
+#endif /* SQUID_SRC_ACL_EUI64_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_EXTUSER_H
-#define SQUID_EXTUSER_H
+#ifndef SQUID_SRC_ACL_EXTUSER_H
+#define SQUID_SRC_ACL_EXTUSER_H
#if USE_AUTH
};
#endif /* USE_AUTH */
-#endif /* SQUID_EXTUSER_H */
+#endif /* SQUID_SRC_ACL_EXTUSER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLFILLED_CHECKLIST_H
-#define SQUID_ACLFILLED_CHECKLIST_H
+#ifndef SQUID_SRC_ACL_FILLEDCHECKLIST_H
+#define SQUID_SRC_ACL_FILLEDCHECKLIST_H
#include "AccessLogEntry.h"
#include "acl/Acl.h"
return dynamic_cast<ACLFilledChecklist*>(checklist);
}
-#endif /* SQUID_ACLFILLED_CHECKLIST_H */
+#endif /* SQUID_SRC_ACL_FILLEDCHECKLIST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_GADGETS_H
-#define SQUID_ACL_GADGETS_H
+#ifndef SQUID_SRC_ACL_GADGETS_H
+#define SQUID_SRC_ACL_GADGETS_H
#include "acl/forward.h"
#include "error/forward.h"
/// \ingroup ACLAPI
void dump_acl_list(StoreEntry * entry, ACLList * head);
-#endif /* SQUID_ACL_GADGETS_H */
+#endif /* SQUID_SRC_ACL_GADGETS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLHASCOMPONENT_H
-#define SQUID_ACLHASCOMPONENT_H
+#ifndef SQUID_SRC_ACL_HASCOMPONENT_H
+#define SQUID_SRC_ACL_HASCOMPONENT_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif
+#endif /* SQUID_SRC_ACL_HASCOMPONENT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLHASCOMPONENTDATA_H
-#define SQUID_ACLHASCOMPONENTDATA_H
+#ifndef SQUID_SRC_ACL_HASCOMPONENTDATA_H
+#define SQUID_SRC_ACL_HASCOMPONENTDATA_H
#include "acl/Checklist.h"
#include "acl/Data.h"
std::vector<ComponentCheck> componentMethods;
};
-#endif
+#endif /* SQUID_SRC_ACL_HASCOMPONENTDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLHIERCODE_H
-#define SQUID_ACLHIERCODE_H
+#ifndef SQUID_SRC_ACL_HIERCODE_H
+#define SQUID_SRC_ACL_HIERCODE_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLHIERCODE_H */
+#endif /* SQUID_SRC_ACL_HIERCODE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLHIERCODEDATA_H
-#define SQUID_ACLHIERCODEDATA_H
+#ifndef SQUID_SRC_ACL_HIERCODEDATA_H
+#define SQUID_SRC_ACL_HIERCODEDATA_H
#include "acl/Acl.h"
#include "acl/Data.h"
bool values[HIER_MAX];
};
-#endif /* SQUID_ACLHIERCODEDATA_H */
+#endif /* SQUID_SRC_ACL_HIERCODEDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLHTTPHEADERDATA_H
-#define SQUID_ACLHTTPHEADERDATA_H
+#ifndef SQUID_SRC_ACL_HTTPHEADERDATA_H
+#define SQUID_SRC_ACL_HTTPHEADERDATA_H
#include "acl/Data.h"
#include "HttpHeader.h"
ACLData<char const *> * regex_rule;
};
-#endif /* SQUID_ACLHTTPHEADERDATA_H */
+#endif /* SQUID_SRC_ACL_HTTPHEADERDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLHTTPREPHEADER_H
-#define SQUID_ACLHTTPREPHEADER_H
+#ifndef SQUID_SRC_ACL_HTTPREPHEADER_H
+#define SQUID_SRC_ACL_HTTPREPHEADER_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLHTTPREPHEADER_H */
+#endif /* SQUID_SRC_ACL_HTTPREPHEADER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLHTTPREQHEADER_H
-#define SQUID_ACLHTTPREQHEADER_H
+#ifndef SQUID_SRC_ACL_HTTPREQHEADER_H
+#define SQUID_SRC_ACL_HTTPREQHEADER_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLHTTPREQHEADER_H */
+#endif /* SQUID_SRC_ACL_HTTPREQHEADER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLHTTPSTATUS_H
-#define SQUID_ACLHTTPSTATUS_H
+#ifndef SQUID_SRC_ACL_HTTPSTATUS_H
+#define SQUID_SRC_ACL_HTTPSTATUS_H
#include "acl/Acl.h"
#include "acl/Checklist.h"
char const *class_;
};
-#endif /* SQUID_ACLHTTPSTATUS_H */
+#endif /* SQUID_SRC_ACL_HTTPSTATUS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_INNER_NODE_H
-#define SQUID_ACL_INNER_NODE_H
+#ifndef SQUID_SRC_ACL_INNERNODE_H
+#define SQUID_SRC_ACL_INNERNODE_H
#include "acl/Node.h"
#include <vector>
} // namespace Acl
-#endif /* SQUID_ACL_INNER_NODE_H */
+#endif /* SQUID_SRC_ACL_INNERNODE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLINTRANGE_H
-#define SQUID_ACLINTRANGE_H
+#ifndef SQUID_SRC_ACL_INTRANGE_H
+#define SQUID_SRC_ACL_INTRANGE_H
#include "acl/Data.h"
#include "base/Range.h"
std::list<RangeType> ranges;
};
-#endif /* SQUID_ACLINTRANGE_H */
+#endif /* SQUID_SRC_ACL_INTRANGE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLIP_H
-#define SQUID_ACLIP_H
+#ifndef SQUID_SRC_ACL_IP_H
+#define SQUID_SRC_ACL_IP_H
#include "acl/Data.h"
#include "acl/Node.h"
bool matchAnyIpv6 = false;
};
-#endif /* SQUID_ACLIP_H */
+#endif /* SQUID_SRC_ACL_IP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLLOCALIP_H
-#define SQUID_ACLLOCALIP_H
+#ifndef SQUID_SRC_ACL_LOCALIP_H
+#define SQUID_SRC_ACL_LOCALIP_H
#include "acl/Ip.h"
int match(ACLChecklist *checklist) override;
};
-#endif /* SQUID_ACLLOCALIP_H */
+#endif /* SQUID_SRC_ACL_LOCALIP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLLOCALPORT_H
-#define SQUID_ACLLOCALPORT_H
+#ifndef SQUID_SRC_ACL_LOCALPORT_H
+#define SQUID_SRC_ACL_LOCALPORT_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLLOCALPORT_H */
+#endif /* SQUID_SRC_ACL_LOCALPORT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLMAXCONNECTION_H
-#define SQUID_ACLMAXCONNECTION_H
+#ifndef SQUID_SRC_ACL_MAXCONNECTION_H
+#define SQUID_SRC_ACL_MAXCONNECTION_H
#include "acl/Node.h"
int limit;
};
-#endif /* SQUID_ACLMAXCONNECTION_H */
+#endif /* SQUID_SRC_ACL_MAXCONNECTION_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLMETHOD_H
-#define SQUID_ACLMETHOD_H
+#ifndef SQUID_SRC_ACL_METHOD_H
+#define SQUID_SRC_ACL_METHOD_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLMETHOD_H */
+#endif /* SQUID_SRC_ACL_METHOD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLMETHODDATA_H
-#define SQUID_ACLMETHODDATA_H
+#ifndef SQUID_SRC_ACL_METHODDATA_H
+#define SQUID_SRC_ACL_METHODDATA_H
#include "acl/Acl.h"
#include "acl/Data.h"
static int ThePurgeCount; ///< PURGE methods seen by parse()
};
-#endif /* SQUID_ACLMETHODDATA_H */
+#endif /* SQUID_SRC_ACL_METHODDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLMYPORTNAME_H
-#define SQUID_ACLMYPORTNAME_H
+#ifndef SQUID_SRC_ACL_MYPORTNAME_H
+#define SQUID_SRC_ACL_MYPORTNAME_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLMYPORTNAME_H */
+#endif /* SQUID_SRC_ACL_MYPORTNAME_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLNOTE_H
-#define SQUID_ACLNOTE_H
+#ifndef SQUID_SRC_ACL_NOTE_H
+#define SQUID_SRC_ACL_NOTE_H
#include "acl/CharacterSetOption.h"
#include "acl/Data.h"
} // namespace Acl
-#endif /* SQUID_ACLNOTE_H */
+#endif /* SQUID_SRC_ACL_NOTE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLNOTEDATA_H
-#define SQUID_ACLNOTEDATA_H
+#ifndef SQUID_SRC_ACL_NOTEDATA_H
+#define SQUID_SRC_ACL_NOTEDATA_H
#include "acl/Data.h"
#include "Notes.h"
ACLStringData *values; ///< if set, at least one value must match
};
-#endif /* SQUID_ACLNOTEDATA_H */
+#endif /* SQUID_SRC_ACL_NOTEDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_OPTIONS_H
-#define SQUID_ACL_OPTIONS_H
+#ifndef SQUID_SRC_ACL_OPTIONS_H
+#define SQUID_SRC_ACL_OPTIONS_H
#include "acl/forward.h"
#include "sbuf/forward.h"
} // namespace Acl
-#endif /* SQUID_ACL_OPTIONS_H */
+#endif /* SQUID_SRC_ACL_OPTIONS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLPEERNAME_H
-#define SQUID_ACLPEERNAME_H
+#ifndef SQUID_SRC_ACL_PEERNAME_H
+#define SQUID_SRC_ACL_PEERNAME_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLPEERNAME_H */
+#endif /* SQUID_SRC_ACL_PEERNAME_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLPROTOCOL_H
-#define SQUID_ACLPROTOCOL_H
+#ifndef SQUID_SRC_ACL_PROTOCOL_H
+#define SQUID_SRC_ACL_PROTOCOL_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLPROTOCOL_H */
+#endif /* SQUID_SRC_ACL_PROTOCOL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLPROTOCOLDATA_H
-#define SQUID_ACLPROTOCOLDATA_H
+#ifndef SQUID_SRC_ACL_PROTOCOLDATA_H
+#define SQUID_SRC_ACL_PROTOCOLDATA_H
#include "acl/Acl.h"
#include "acl/Data.h"
std::list<AnyP::ProtocolType> values;
};
-#endif /* SQUID_ACLPROTOCOLDATA_H */
+#endif /* SQUID_SRC_ACL_PROTOCOLDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_RANDOM_H
-#define SQUID_ACL_RANDOM_H
+#ifndef SQUID_SRC_ACL_RANDOM_H
+#define SQUID_SRC_ACL_RANDOM_H
#include "acl/Node.h"
char const *class_;
};
-#endif /* SQUID_ACL_RANDOM_H */
+#endif /* SQUID_SRC_ACL_RANDOM_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLREGEXDATA_H
-#define SQUID_ACLREGEXDATA_H
+#ifndef SQUID_SRC_ACL_REGEXDATA_H
+#define SQUID_SRC_ACL_REGEXDATA_H
#include "acl/Data.h"
std::list<RegexPattern> data;
};
-#endif /* SQUID_ACLREGEXDATA_H */
+#endif /* SQUID_SRC_ACL_REGEXDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLREPLYHEADERSTRATEGY_H
-#define SQUID_ACLREPLYHEADERSTRATEGY_H
+#ifndef SQUID_SRC_ACL_REPLYHEADERSTRATEGY_H
+#define SQUID_SRC_ACL_REPLYHEADERSTRATEGY_H
#include "acl/Data.h"
#include "acl/FilledChecklist.h"
return data->match(theHeader);
}
-#endif /* SQUID_REPLYHEADERSTRATEGY_H */
+#endif /* SQUID_SRC_ACL_REPLYHEADERSTRATEGY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLREPLYMIMETYPE_H
-#define SQUID_ACLREPLYMIMETYPE_H
+#ifndef SQUID_SRC_ACL_REPLYMIMETYPE_H
+#define SQUID_SRC_ACL_REPLYMIMETYPE_H
#include "acl/Data.h"
#include "acl/FilledChecklist.h"
return data->match(theHeader);
}
-#endif /* SQUID_ACLREPLYMIMETYPE_H */
+#endif /* SQUID_SRC_ACL_REPLYMIMETYPE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLREQUESTHEADERSTRATEGY_H
-#define SQUID_ACLREQUESTHEADERSTRATEGY_H
+#ifndef SQUID_SRC_ACL_REQUESTHEADERSTRATEGY_H
+#define SQUID_SRC_ACL_REQUESTHEADERSTRATEGY_H
#include "acl/Data.h"
#include "acl/FilledChecklist.h"
return data->match(theHeader);
}
-#endif /* SQUID_REQUESTHEADERSTRATEGY_H */
+#endif /* SQUID_SRC_ACL_REQUESTHEADERSTRATEGY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLREQUESTMIMETYPE_H
-#define SQUID_ACLREQUESTMIMETYPE_H
+#ifndef SQUID_SRC_ACL_REQUESTMIMETYPE_H
+#define SQUID_SRC_ACL_REQUESTMIMETYPE_H
#include "acl/Data.h"
#include "acl/FilledChecklist.h"
return data->match(theHeader);
}
-#endif /* SQUID_ACLREQUESTMIMETYPE_H */
+#endif /* SQUID_SRC_ACL_REQUESTMIMETYPE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLSERVERCERTIFICATE_H
-#define SQUID_ACLSERVERCERTIFICATE_H
+#ifndef SQUID_SRC_ACL_SERVERCERTIFICATE_H
+#define SQUID_SRC_ACL_SERVERCERTIFICATE_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLSERVERCERTIFICATE_H */
+#endif /* SQUID_SRC_ACL_SERVERCERTIFICATE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLSERVERNAME_H
-#define SQUID_ACLSERVERNAME_H
+#ifndef SQUID_SRC_ACL_SERVERNAME_H
+#define SQUID_SRC_ACL_SERVERNAME_H
#include "acl/DomainData.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLSERVERNAME_H */
+#endif /* SQUID_SRC_ACL_SERVERNAME_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_SOURCEASN_H
-#define SQUID_ACL_SOURCEASN_H
+#ifndef SQUID_SRC_ACL_SOURCEASN_H
+#define SQUID_SRC_ACL_SOURCEASN_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACL_SOURCEASN_H */
+#endif /* SQUID_SRC_ACL_SOURCEASN_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLSOURCEDOMAIN_H
-#define SQUID_ACLSOURCEDOMAIN_H
+#ifndef SQUID_SRC_ACL_SOURCEDOMAIN_H
+#define SQUID_SRC_ACL_SOURCEDOMAIN_H
#include "acl/Checklist.h"
#include "acl/Data.h"
} // namespace Acl
-#endif /* SQUID_ACLSOURCEDOMAIN_H */
+#endif /* SQUID_SRC_ACL_SOURCEDOMAIN_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLSOURCEIP_H
-#define SQUID_ACLSOURCEIP_H
+#ifndef SQUID_SRC_ACL_SOURCEIP_H
+#define SQUID_SRC_ACL_SOURCEIP_H
#include "acl/Ip.h"
int match(ACLChecklist *checklist) override;
};
-#endif /* SQUID_ACLSOURCEIP_H */
+#endif /* SQUID_SRC_ACL_SOURCEIP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLSQUIDERROR_H
-#define SQUID_ACLSQUIDERROR_H
+#ifndef SQUID_SRC_ACL_SQUIDERROR_H
+#define SQUID_SRC_ACL_SQUIDERROR_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLSQUIDERROR_H */
+#endif /* SQUID_SRC_ACL_SQUIDERROR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLSQUIDERRORDATA_H
-#define SQUID_ACLSQUIDERRORDATA_H
+#ifndef SQUID_SRC_ACL_SQUIDERRORDATA_H
+#define SQUID_SRC_ACL_SQUIDERRORDATA_H
#include "acl/Data.h"
#include "base/CbDataList.h"
CbDataListContainer <err_type> errors;
};
-#endif //SQUID_ACLSQUIDERRORDATA_H
+#endif /* SQUID_SRC_ACL_SQUIDERRORDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLSSL_ERROR_H
-#define SQUID_ACLSSL_ERROR_H
+#ifndef SQUID_SRC_ACL_SSLERROR_H
+#define SQUID_SRC_ACL_SSLERROR_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLSSL_ERROR_H */
+#endif /* SQUID_SRC_ACL_SSLERROR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLSSL_ERRORDATA_H
-#define SQUID_ACLSSL_ERRORDATA_H
+#ifndef SQUID_SRC_ACL_SSLERRORDATA_H
+#define SQUID_SRC_ACL_SSLERRORDATA_H
#include "acl/Acl.h"
#include "acl/Data.h"
Security::Errors values;
};
-#endif /* SQUID_ACLSSL_ERRORDATA_H */
+#endif /* SQUID_SRC_ACL_SSLERRORDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLSTRINGDATA_H
-#define SQUID_ACLSTRINGDATA_H
+#ifndef SQUID_SRC_ACL_STRINGDATA_H
+#define SQUID_SRC_ACL_STRINGDATA_H
#include "acl/Acl.h"
#include "acl/Data.h"
StringValues_t stringValues;
};
-#endif /* SQUID_ACLSTRINGDATA_H */
+#endif /* SQUID_SRC_ACL_STRINGDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLTAG_H
-#define SQUID_ACLTAG_H
+#ifndef SQUID_SRC_ACL_TAG_H
+#define SQUID_SRC_ACL_TAG_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLMYPORTNAME_H */
+#endif /* SQUID_SRC_ACL_TAG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLTIME_H
-#define SQUID_ACLTIME_H
+#ifndef SQUID_SRC_ACL_TIME_H
+#define SQUID_SRC_ACL_TIME_H
#include "acl/ParameterizedNode.h"
#include "acl/TimeData.h"
} // namespace Acl
-#endif /* SQUID_ACLTIME_H */
+#endif /* SQUID_SRC_ACL_TIME_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLTIMEDATA_H
-#define SQUID_ACLTIMEDATA_H
+#ifndef SQUID_SRC_ACL_TIMEDATA_H
+#define SQUID_SRC_ACL_TIMEDATA_H
#include "acl/Acl.h"
#include "acl/Data.h"
ACLTimeData *next;
};
-#endif /* SQUID_ACLTIMEDATA_H */
+#endif /* SQUID_SRC_ACL_TIMEDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_TRANSACTION_INITIATOR_H
-#define SQUID_ACL_TRANSACTION_INITIATOR_H
+#ifndef SQUID_SRC_ACL_TRANSACTIONINITIATOR_H
+#define SQUID_SRC_ACL_TRANSACTIONINITIATOR_H
#include "acl/Acl.h"
#include "acl/Checklist.h"
} // namespace Acl
-#endif /* SQUID_ACL_TRANSACTION_INITIATOR_H */
+#endif /* SQUID_SRC_ACL_TRANSACTIONINITIATOR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_TREE_H
-#define SQUID_ACL_TREE_H
+#ifndef SQUID_SRC_ACL_TREE_H
+#define SQUID_SRC_ACL_TREE_H
#include "acl/Acl.h"
#include "acl/BoolOps.h"
} // namespace Acl
-#endif /* SQUID_ACL_TREE_H */
+#endif /* SQUID_SRC_ACL_TREE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLURL_H
-#define SQUID_ACLURL_H
+#ifndef SQUID_SRC_ACL_URL_H
+#define SQUID_SRC_ACL_URL_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLURL_H */
+#endif /* SQUID_SRC_ACL_URL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLURLLOGIN_H
-#define SQUID_ACLURLLOGIN_H
+#ifndef SQUID_SRC_ACL_URLLOGIN_H
+#define SQUID_SRC_ACL_URLLOGIN_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLURLLOGIN_H */
+#endif /* SQUID_SRC_ACL_URLLOGIN_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLURLPATH_H
-#define SQUID_ACLURLPATH_H
+#ifndef SQUID_SRC_ACL_URLPATH_H
+#define SQUID_SRC_ACL_URLPATH_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLURLPATH_H */
+#endif /* SQUID_SRC_ACL_URLPATH_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLURLPORT_H
-#define SQUID_ACLURLPORT_H
+#ifndef SQUID_SRC_ACL_URLPORT_H
+#define SQUID_SRC_ACL_URLPORT_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_ACLURLPORT_H */
+#endif /* SQUID_SRC_ACL_URLPORT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLUSERDATA_H
-#define SQUID_ACLUSERDATA_H
+#ifndef SQUID_SRC_ACL_USERDATA_H
+#define SQUID_SRC_ACL_USERDATA_H
#include "acl/Acl.h"
#include "acl/Data.h"
};
-#endif /* SQUID_ACLUSERDATA_H */
+#endif /* SQUID_SRC_ACL_USERDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACL_FORWARD_H
-#define SQUID_ACL_FORWARD_H
+#ifndef SQUID_SRC_ACL_FORWARD_H
+#define SQUID_SRC_ACL_FORWARD_H
#include "base/RefCount.h"
class ExternalACLEntry;
typedef RefCount<ExternalACLEntry> ExternalACLEntryPointer;
-#endif /* SQUID_ACL_FORWARD_H */
+#endif /* SQUID_SRC_ACL_FORWARD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__ACCESS_CHECK_H
-#define SQUID_ADAPTATION__ACCESS_CHECK_H
+#ifndef SQUID_SRC_ADAPTATION_ACCESSCHECK_H
+#define SQUID_SRC_ADAPTATION_ACCESSCHECK_H
#include "acl/Acl.h"
#include "adaptation/Elements.h"
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION__ACCESS_CHECK_H */
+#endif /* SQUID_SRC_ADAPTATION_ACCESSCHECK_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__ACCESS_RULE_H
-#define SQUID_ADAPTATION__ACCESS_RULE_H
+#ifndef SQUID_SRC_ADAPTATION_ACCESSRULE_H
+#define SQUID_SRC_ADAPTATION_ACCESSRULE_H
#include "acl/forward.h"
#include "adaptation/forward.h"
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION__ACCESS_RULE_H */
+#endif /* SQUID_SRC_ADAPTATION_ACCESSRULE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__ANSWER_H
-#define SQUID_ADAPTATION__ANSWER_H
+#ifndef SQUID_SRC_ADAPTATION_ANSWER_H
+#define SQUID_SRC_ADAPTATION_ANSWER_H
#include "adaptation/forward.h"
#include "http/forward.h"
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION__ANSWER_H */
+#endif /* SQUID_SRC_ADAPTATION_ANSWER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__CONFIG_H
-#define SQUID_ADAPTATION__CONFIG_H
+#ifndef SQUID_SRC_ADAPTATION_CONFIG_H
+#define SQUID_SRC_ADAPTATION_CONFIG_H
#include "acl/forward.h"
#include "adaptation/Elements.h"
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION__CONFIG_H */
+#endif /* SQUID_SRC_ADAPTATION_CONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__DYNAMIC_GROUP_CFG_H
-#define SQUID_ADAPTATION__DYNAMIC_GROUP_CFG_H
+#ifndef SQUID_SRC_ADAPTATION_DYNAMICGROUPCFG_H
+#define SQUID_SRC_ADAPTATION_DYNAMICGROUPCFG_H
#include "SquidString.h"
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION__DYNAMIC_GROUP_CFG_H */
+#endif /* SQUID_SRC_ADAPTATION_DYNAMICGROUPCFG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__ELEMENTS_H
-#define SQUID_ADAPTATION__ELEMENTS_H
+#ifndef SQUID_SRC_ADAPTATION_ELEMENTS_H
+#define SQUID_SRC_ADAPTATION_ELEMENTS_H
// widely used adaptation primitives
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION_ELEMENTS_H */
+#endif /* SQUID_SRC_ADAPTATION_ELEMENTS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPT_HISTORY_H
-#define SQUID_ADAPT_HISTORY_H
+#ifndef SQUID_SRC_ADAPTATION_HISTORY_H
+#define SQUID_SRC_ADAPTATION_HISTORY_H
#include "adaptation/DynamicGroupCfg.h"
#include "adaptation/forward.h"
} // namespace Adaptation
-#endif
+#endif /* SQUID_SRC_ADAPTATION_HISTORY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__INITIATE_H
-#define SQUID_ADAPTATION__INITIATE_H
+#ifndef SQUID_SRC_ADAPTATION_INITIATE_H
+#define SQUID_SRC_ADAPTATION_INITIATE_H
#include "adaptation/forward.h"
#include "base/AsyncJob.h"
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION__INITIATE_H */
+#endif /* SQUID_SRC_ADAPTATION_INITIATE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__INITIATOR_H
-#define SQUID_ADAPTATION__INITIATOR_H
+#ifndef SQUID_SRC_ADAPTATION_INITIATOR_H
+#define SQUID_SRC_ADAPTATION_INITIATOR_H
#include "adaptation/forward.h"
#include "base/AsyncJob.h"
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION__INITIATOR_H */
+#endif /* SQUID_SRC_ADAPTATION_INITIATOR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__ITERATOR_H
-#define SQUID_ADAPTATION__ITERATOR_H
+#ifndef SQUID_SRC_ADAPTATION_ITERATOR_H
+#define SQUID_SRC_ADAPTATION_ITERATOR_H
#include "adaptation/Initiate.h"
#include "adaptation/Initiator.h"
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION__ITERATOR_H */
+#endif /* SQUID_SRC_ADAPTATION_ITERATOR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID__ADAPTATION__MESSAGE_H
-#define SQUID__ADAPTATION__MESSAGE_H
+#ifndef SQUID_SRC_ADAPTATION_MESSAGE_H
+#define SQUID_SRC_ADAPTATION_MESSAGE_H
#include "base/RefCount.h"
#include "http/forward.h"
// TODO: replace ICAPInOut with Adaptation::Message (adding one for "cause")
-#endif /* SQUID__ADAPTATION__MESSAGE_H */
+#endif /* SQUID_SRC_ADAPTATION_MESSAGE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__SERVICE_H
-#define SQUID_ADAPTATION__SERVICE_H
+#ifndef SQUID_SRC_ADAPTATION_SERVICE_H
+#define SQUID_SRC_ADAPTATION_SERVICE_H
#include "AccessLogEntry.h"
#include "adaptation/Elements.h"
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION__SERVICE_H */
+#endif /* SQUID_SRC_ADAPTATION_SERVICE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__SERVICE_CONFIG_H
-#define SQUID_ADAPTATION__SERVICE_CONFIG_H
+#ifndef SQUID_SRC_ADAPTATION_SERVICECONFIG_H
+#define SQUID_SRC_ADAPTATION_SERVICECONFIG_H
#include "adaptation/Elements.h"
#include "base/RefCount.h"
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION__SERVICE_CONFIG_H */
+#endif /* SQUID_SRC_ADAPTATION_SERVICECONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__SERVICE_FILTER_H
-#define SQUID_ADAPTATION__SERVICE_FILTER_H
+#ifndef SQUID_SRC_ADAPTATION_SERVICEFILTER_H
+#define SQUID_SRC_ADAPTATION_SERVICEFILTER_H
#include "AccessLogEntry.h"
#include "adaptation/Elements.h"
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION__SERVICE_FILTER_H */
+#endif /* SQUID_SRC_ADAPTATION_SERVICEFILTER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__SERVICE_GROUPS_H
-#define SQUID_ADAPTATION__SERVICE_GROUPS_H
+#ifndef SQUID_SRC_ADAPTATION_SERVICEGROUPS_H
+#define SQUID_SRC_ADAPTATION_SERVICEGROUPS_H
#include "adaptation/Elements.h"
#include "adaptation/forward.h"
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION__SERVICE_GROUPS_H */
+#endif /* SQUID_SRC_ADAPTATION_SERVICEGROUPS_H */
/* DEBUG: section 93 eCAP Interface */
-#ifndef SQUID_ECAP_CONFIG_H
-#define SQUID_ECAP_CONFIG_H
+#ifndef SQUID_SRC_ADAPTATION_ECAP_CONFIG_H
+#define SQUID_SRC_ADAPTATION_ECAP_CONFIG_H
#include "adaptation/Config.h"
#include "adaptation/ServiceConfig.h"
} // namespace Ecap
} // namespace Adaptation
-#endif /* SQUID_ECAP_CONFIG_H */
+#endif /* SQUID_SRC_ADAPTATION_ECAP_CONFIG_H */
/* DEBUG: section 93 eCAP Interface */
-#ifndef SQUID_ECAP_HOST_H
-#define SQUID_ECAP_HOST_H
+#ifndef SQUID_SRC_ADAPTATION_ECAP_HOST_H
+#define SQUID_SRC_ADAPTATION_ECAP_HOST_H
#include <libecap/host/host.h>
} // namespace Ecap
} // namespace Adaptation
-#endif /* SQUID_ECAP_HOST_H */
+#endif /* SQUID_SRC_ADAPTATION_ECAP_HOST_H */
/* DEBUG: section 93 eCAP Interface */
-#ifndef SQUID__ECAP__MESSAGE_REP_H
-#define SQUID__ECAP__MESSAGE_REP_H
+#ifndef SQUID_SRC_ADAPTATION_ECAP_MESSAGEREP_H
+#define SQUID_SRC_ADAPTATION_ECAP_MESSAGEREP_H
#include "adaptation/forward.h"
#include "adaptation/Message.h"
} // namespace Ecap
} // namespace Adaptation
-#endif /* SQUID__E_CAP__MESSAGE_REP_H */
+#endif /* SQUID_SRC_ADAPTATION_ECAP_MESSAGEREP_H */
/* DEBUG: section 93 eCAP Interface */
-#ifndef SQUID_ECAP_SERVICE_REP_H
-#define SQUID_ECAP_SERVICE_REP_H
+#ifndef SQUID_SRC_ADAPTATION_ECAP_SERVICEREP_H
+#define SQUID_SRC_ADAPTATION_ECAP_SERVICEREP_H
#include "adaptation/forward.h"
#include "adaptation/Service.h"
} // namespace Ecap
} // namespace Adaptation
-#endif /* SQUID_ECAP_SERVICE_REP_H */
+#endif /* SQUID_SRC_ADAPTATION_ECAP_SERVICEREP_H */
/* DEBUG: section 93 eCAP Interface */
-#ifndef SQUID_ECAP_XACTION_REP_H
-#define SQUID_ECAP_XACTION_REP_H
+#ifndef SQUID_SRC_ADAPTATION_ECAP_XACTIONREP_H
+#define SQUID_SRC_ADAPTATION_ECAP_XACTIONREP_H
#include "adaptation/ecap/MessageRep.h"
#include "adaptation/ecap/ServiceRep.h"
} // namespace Ecap
} // namespace Adaptation
-#endif /* SQUID_ECAP_XACTION_REP_H */
+#endif /* SQUID_SRC_ADAPTATION_ECAP_XACTIONREP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ADAPTATION__FORWARD_H
-#define SQUID_ADAPTATION__FORWARD_H
+#ifndef SQUID_SRC_ADAPTATION_FORWARD_H
+#define SQUID_SRC_ADAPTATION_FORWARD_H
// forward-declarations for commonly used adaptation classes
} // namespace Adaptation
-#endif /* SQUID_ADAPTATION__FORWARD_H */
+#endif /* SQUID_SRC_ADAPTATION_FORWARD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ICAPCLIENT_H
-#define SQUID_ICAPCLIENT_H
+#ifndef SQUID_SRC_ADAPTATION_ICAP_CLIENT_H
+#define SQUID_SRC_ADAPTATION_ICAP_CLIENT_H
// ICAP-related things needed by code unaware of ICAP internals.
} // namespace Icap
} // namespace Adaptation
-#endif /* SQUID_ICAPCLIENT_H */
+#endif /* SQUID_SRC_ADAPTATION_ICAP_CLIENT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ICAPCONFIG_H
-#define SQUID_ICAPCONFIG_H
+#ifndef SQUID_SRC_ADAPTATION_ICAP_CONFIG_H
+#define SQUID_SRC_ADAPTATION_ICAP_CONFIG_H
#include "acl/forward.h"
#include "adaptation/Config.h"
} // namespace Icap
} // namespace Adaptation
-#endif /* SQUID_ICAPCONFIG_H */
+#endif /* SQUID_SRC_ADAPTATION_ICAP_CONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ICAPELEMENTS_H
-#define SQUID_ICAPELEMENTS_H
+#ifndef SQUID_SRC_ADAPTATION_ICAP_ELEMENTS_H
+#define SQUID_SRC_ADAPTATION_ICAP_ELEMENTS_H
#include "adaptation/Elements.h"
} // namespace Icap
} // namespace Adaptation
-#endif /* SQUID_ICAPCLIENT_H */
+#endif /* SQUID_SRC_ADAPTATION_ICAP_ELEMENTS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ICAPHISTORY_H
-#define SQUID_ICAPHISTORY_H
+#ifndef SQUID_SRC_ADAPTATION_ICAP_HISTORY_H
+#define SQUID_SRC_ADAPTATION_ICAP_HISTORY_H
#include "base/RefCount.h"
#include "enums.h"
} // namespace Icap
} // namespace Adaptation
-#endif /*SQUID_HISTORY_H*/
+#endif /* SQUID_SRC_ADAPTATION_ICAP_HISTORY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ICAPINOUT_H
-#define SQUID_ICAPINOUT_H
+#ifndef SQUID_SRC_ADAPTATION_ICAP_INOUT_H
+#define SQUID_SRC_ADAPTATION_ICAP_INOUT_H
#include "HttpReply.h"
} // namespace Icap
} // namespace Adaptation
-#endif /* SQUID_ICAPINOUT_H */
+#endif /* SQUID_SRC_ADAPTATION_ICAP_INOUT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ICAPLAUNCHER_H
-#define SQUID_ICAPLAUNCHER_H
+#ifndef SQUID_SRC_ADAPTATION_ICAP_LAUNCHER_H
+#define SQUID_SRC_ADAPTATION_ICAP_LAUNCHER_H
#include "adaptation/icap/ServiceRep.h"
#include "adaptation/Initiate.h"
} // namespace Icap
} // namespace Adaptation
-#endif /* SQUID_ICAPLAUNCHER_H */
+#endif /* SQUID_SRC_ADAPTATION_ICAP_LAUNCHER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ICAPMODXACT_H
-#define SQUID_ICAPMODXACT_H
+#ifndef SQUID_SRC_ADAPTATION_ICAP_MODXACT_H
+#define SQUID_SRC_ADAPTATION_ICAP_MODXACT_H
#include "AccessLogEntry.h"
#include "adaptation/icap/InOut.h"
} // namespace Icap
} // namespace Adaptation
-#endif /* SQUID_ICAPMOD_XACT_H */
+#endif /* SQUID_SRC_ADAPTATION_ICAP_MODXACT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ICAPOPTXACT_H
-#define SQUID_ICAPOPTXACT_H
+#ifndef SQUID_SRC_ADAPTATION_ICAP_OPTXACT_H
+#define SQUID_SRC_ADAPTATION_ICAP_OPTXACT_H
#include "adaptation/icap/Launcher.h"
#include "adaptation/icap/Xaction.h"
} // namespace Icap
} // namespace Adaptation
-#endif /* SQUID_ICAPOPTXACT_H */
+#endif /* SQUID_SRC_ADAPTATION_ICAP_OPTXACT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ICAPOPTIONS_H
-#define SQUID_ICAPOPTIONS_H
+#ifndef SQUID_SRC_ADAPTATION_ICAP_OPTIONS_H
+#define SQUID_SRC_ADAPTATION_ICAP_OPTIONS_H
#include "adaptation/icap/ServiceRep.h"
} // namespace Icap
} // namespace Adaptation
-#endif /* SQUID_ICAPOPTIONS_H */
+#endif /* SQUID_SRC_ADAPTATION_ICAP_OPTIONS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ICAPSERVICEREP_H
-#define SQUID_ICAPSERVICEREP_H
+#ifndef SQUID_SRC_ADAPTATION_ICAP_SERVICEREP_H
+#define SQUID_SRC_ADAPTATION_ICAP_SERVICEREP_H
#include "adaptation/forward.h"
#include "adaptation/icap/Elements.h"
} // namespace Icap
} // namespace Adaptation
-#endif /* SQUID_ICAPSERVICEREP_H */
+#endif /* SQUID_SRC_ADAPTATION_ICAP_SERVICEREP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ICAPXACTION_H
-#define SQUID_ICAPXACTION_H
+#ifndef SQUID_SRC_ADAPTATION_ICAP_XACTION_H
+#define SQUID_SRC_ADAPTATION_ICAP_XACTION_H
#include "AccessLogEntry.h"
#include "adaptation/icap/ServiceRep.h"
} // namespace Icap
} // namespace Adaptation
-#endif /* SQUID_ICAPXACTION_H */
+#endif /* SQUID_SRC_ADAPTATION_ICAP_XACTION_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef ICAP_LOG_H_
-#define ICAP_LOG_H_
+#ifndef SQUID_SRC_ADAPTATION_ICAP_ICAP_LOG_H
+#define SQUID_SRC_ADAPTATION_ICAP_ICAP_LOG_H
#include "AccessLogEntry.h"
#include "base/RefCount.h"
extern int IcapLogfileStatus;
-#endif /*ICAP_LOG_H_*/
+#endif /* SQUID_SRC_ADAPTATION_ICAP_ICAP_LOG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ANYP_PORTCFG_H
-#define SQUID_ANYP_PORTCFG_H
+#ifndef SQUID_SRC_ANYP_PORTCFG_H
+#define SQUID_SRC_ANYP_PORTCFG_H
#include "anyp/forward.h"
#include "anyp/ProtocolVersion.h"
extern int NHttpSockets;
extern int HttpSockets[MAXTCPLISTENPORTS];
-#endif /* SQUID_ANYP_PORTCFG_H */
+#endif /* SQUID_SRC_ANYP_PORTCFG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_ANYP_PROTOCOLTYPE_H
-#define _SQUID_SRC_ANYP_PROTOCOLTYPE_H
+#ifndef SQUID_SRC_ANYP_PROTOCOLTYPE_H
+#define SQUID_SRC_ANYP_PROTOCOLTYPE_H
#include <ostream>
} // namespace AnyP
-#endif /* _SQUID_SRC_ANYP_PROTOCOLTYPE_H */
+#endif /* SQUID_SRC_ANYP_PROTOCOLTYPE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ANYP_PROTOCOLVERSION_H
-#define SQUID_ANYP_PROTOCOLVERSION_H
+#ifndef SQUID_SRC_ANYP_PROTOCOLVERSION_H
+#define SQUID_SRC_ANYP_PROTOCOLVERSION_H
#include "anyp/ProtocolType.h"
} // namespace AnyP
-#endif /* SQUID_ANYP_PROTOCOLVERSION_H */
+#endif /* SQUID_SRC_ANYP_PROTOCOLVERSION_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ANYP_TRAFFIC_MODE_H
-#define SQUID_ANYP_TRAFFIC_MODE_H
+#ifndef SQUID_SRC_ANYP_TRAFFICMODE_H
+#define SQUID_SRC_ANYP_TRAFFICMODE_H
namespace AnyP
{
} // namespace AnyP
-#endif
+#endif /* SQUID_SRC_ANYP_TRAFFICMODE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ANYP_URISCHEME_H
-#define SQUID_ANYP_URISCHEME_H
+#ifndef SQUID_SRC_ANYP_URISCHEME_H
+#define SQUID_SRC_ANYP_URISCHEME_H
#include "anyp/ProtocolType.h"
#include "sbuf/SBuf.h"
} // namespace AnyP
-#endif /* SQUID_ANYP_URISCHEME_H */
+#endif /* SQUID_SRC_ANYP_URISCHEME_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_ANYP_FORWARD_H
-#define _SQUID_SRC_ANYP_FORWARD_H
+#ifndef SQUID_SRC_ANYP_FORWARD_H
+#define SQUID_SRC_ANYP_FORWARD_H
#include "base/RefCount.h"
} // namespace AnyP
-#endif /* _SQUID_SRC_ANYP_FORWARD_H */
+#endif /* SQUID_SRC_ANYP_FORWARD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_AUTH_ACL_H
-#define SQUID_AUTH_ACL_H
+#ifndef SQUID_SRC_AUTH_ACL_H
+#define SQUID_SRC_AUTH_ACL_H
#if USE_AUTH
Acl::Answer AuthenticateAcl(ACLChecklist *, const Acl::Node &);
#endif /* USE_AUTH */
-#endif /* SQUID_AUTH_ACL_H */
+#endif /* SQUID_SRC_AUTH_ACL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLMAXUSERIP_H
-#define SQUID_ACLMAXUSERIP_H
+#ifndef SQUID_SRC_AUTH_ACLMAXUSERIP_H
+#define SQUID_SRC_AUTH_ACLMAXUSERIP_H
#if USE_AUTH
};
#endif /* USE_AUTH */
-#endif /* SQUID_ACLMAXUSERIP_H */
+#endif /* SQUID_SRC_AUTH_ACLMAXUSERIP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ACLPROXYAUTH_H
-#define SQUID_ACLPROXYAUTH_H
+#ifndef SQUID_SRC_AUTH_ACLPROXYAUTH_H
+#define SQUID_SRC_AUTH_ACLPROXYAUTH_H
#if USE_AUTH
};
#endif /* USE_AUTH */
-#endif /* SQUID_ACLPROXYAUTH_H */
+#endif /* SQUID_SRC_AUTH_ACLPROXYAUTH_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID__SRC_AUTH_AUTHACLSTATE_H
-#define _SQUID__SRC_AUTH_AUTHACLSTATE_H
+#ifndef SQUID_SRC_AUTH_AUTHACLSTATE_H
+#define SQUID_SRC_AUTH_AUTHACLSTATE_H
#if USE_AUTH
} AuthAclState;
#endif /* USE_AUTH */
-#endif /* _SQUID__SRC_AUTH_AUTHACLSTATE_H */
+#endif /* SQUID_SRC_AUTH_AUTHACLSTATE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_AUTH_CREDENTIALSTATE_H
-#define _SQUID_AUTH_CREDENTIALSTATE_H
+#ifndef SQUID_SRC_AUTH_CREDENTIALSTATE_H
+#define SQUID_SRC_AUTH_CREDENTIALSTATE_H
namespace Auth
{
} // namespace Auth
-#endif /* _SQUID_AUTH_CREDENTIALSTATE_H */
+#endif /* SQUID_SRC_AUTH_CREDENTIALSTATE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_AUTH_GADGETS_H
-#define SQUID_AUTH_GADGETS_H
+#ifndef SQUID_SRC_AUTH_GADGETS_H
+#define SQUID_SRC_AUTH_GADGETS_H
#if USE_AUTH
std::vector<Auth::User::Pointer> authenticateCachedUsersList();
#endif /* USE_AUTH */
-#endif /* SQUID_AUTH_GADGETS_H */
+#endif /* SQUID_SRC_AUTH_GADGETS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_AUTH_SCHEME_H
-#define SQUID_AUTH_SCHEME_H
+#ifndef SQUID_SRC_AUTH_SCHEME_H
+#define SQUID_SRC_AUTH_SCHEME_H
#if USE_AUTH
} // namespace Auth
#endif /* USE_AUTH */
-#endif /* SQUID_AUTH_SCHEME_H */
+#endif /* SQUID_SRC_AUTH_SCHEME_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SCHEMES_CONFIG_H
-#define SQUID_SCHEMES_CONFIG_H
+#ifndef SQUID_SRC_AUTH_SCHEMESCONFIG_H
+#define SQUID_SRC_AUTH_SCHEMESCONFIG_H
#if USE_AUTH
} // namespace Auth
#endif /* USE_AUTH */
-#endif /* SQUID_SCHEMES_CONFIG_H */
+#endif /* SQUID_SRC_AUTH_SCHEMESCONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID__SRC_AUTH_AUTHTYPE_H
-#define _SQUID__SRC_AUTH_AUTHTYPE_H
+#ifndef SQUID_SRC_AUTH_TYPE_H
+#define SQUID_SRC_AUTH_TYPE_H
#if USE_AUTH
}; // namespace Auth
#endif /* USE_AUTH */
-#endif
+#endif /* SQUID_SRC_AUTH_TYPE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_AUTH_USER_H
-#define SQUID_AUTH_USER_H
+#ifndef SQUID_SRC_AUTH_USER_H
+#define SQUID_SRC_AUTH_USER_H
#if USE_AUTH
} // namespace Auth
#endif /* USE_AUTH */
-#endif /* SQUID_AUTH_USER_H */
+#endif /* SQUID_SRC_AUTH_USER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_AUTH_USERREQUEST_H
-#define SQUID_AUTH_USERREQUEST_H
+#ifndef SQUID_SRC_AUTH_USERREQUEST_H
+#define SQUID_SRC_AUTH_USERREQUEST_H
#if USE_AUTH
int authenticateUserAuthenticated(Auth::UserRequest::Pointer);
#endif /* USE_AUTH */
-#endif /* SQUID_AUTHUSERREQUEST_H */
+#endif /* SQUID_SRC_AUTH_USERREQUEST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef __AUTH_BASIC_H__
-#define __AUTH_BASIC_H__
+#ifndef SQUID_SRC_AUTH_BASIC_CONFIG_H
+#define SQUID_SRC_AUTH_BASIC_CONFIG_H
#if HAVE_AUTH_MODULE_BASIC
extern Helper::ClientPointer basicauthenticators;
#endif /* HAVE_AUTH_MODULE_BASIC */
-#endif /* __AUTH_BASIC_H__ */
+#endif /* SQUID_SRC_AUTH_BASIC_CONFIG_H */
* to64(salt+4, rand(), 4);
* salt[0] = '\0';
*/
-#ifndef _CRYPT_MD5_H
-#define _CRYPT_MD5_H
+#ifndef SQUID_SRC_AUTH_BASIC_NCSA_CRYPT_MD5_H
+#define SQUID_SRC_AUTH_BASIC_NCSA_CRYPT_MD5_H
char *crypt_md5(const char *pw, const char *salt);
/* MD5 hash without salt */
char *md5sum(const char *s);
-#endif /* _CRYPT_MD5_H */
+#endif /* SQUID_SRC_AUTH_BASIC_NCSA_CRYPT_MD5_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_HELPERS_BASIC_AUTH_MSNT_MSNTAUTH_H
-#define _SQUID_HELPERS_BASIC_AUTH_MSNT_MSNTAUTH_H
+#ifndef SQUID_SRC_AUTH_BASIC_SMB_LM_MSNTAUTH_H
+#define SQUID_SRC_AUTH_BASIC_SMB_LM_MSNTAUTH_H
extern int QueryServers(char *, char *);
extern void Check_forallowchange(void);
-#endif /* _SQUID_HELPERS_BASIC_AUTH_MSNT_MSNTAUTH_H */
+#endif /* SQUID_SRC_AUTH_BASIC_SMB_LM_MSNTAUTH_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _VALID_H_
-#define _VALID_H_
+#ifndef SQUID_SRC_AUTH_BASIC_SMB_LM_VALID_H
+#define SQUID_SRC_AUTH_BASIC_SMB_LM_VALID_H
/* SMB User verification function */
#define NTV_NO_ERROR 0
int Valid_User(char *USERNAME, char *PASSWORD, const char *SERVER, char *BACKUP, const char *DOMAIN);
-#endif
+#endif /* SQUID_SRC_AUTH_BASIC_SMB_LM_VALID_H */
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
*/
-#ifndef _VALID_H_
-#define _VALID_H_
+#ifndef SQUID_SRC_AUTH_BASIC_SSPI_VALID_H
+#define SQUID_SRC_AUTH_BASIC_SSPI_VALID_H
#include "sspi/sspwin32.h"
}
#endif /* __GNUC__ */
-#endif
+#endif /* SQUID_SRC_AUTH_BASIC_SSPI_VALID_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_AUTH_BASIC_SCHEME_H
-#define SQUID_AUTH_BASIC_SCHEME_H
+#ifndef SQUID_SRC_AUTH_BASIC_SCHEME_H
+#define SQUID_SRC_AUTH_BASIC_SCHEME_H
#if HAVE_AUTH_MODULE_BASIC
} // namespace Auth
#endif /* HAVE_AUTH_MODULE_BASIC */
-#endif /* SQUID_AUTH_BASIC_SCHEME_H */
+#endif /* SQUID_SRC_AUTH_BASIC_SCHEME_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_AUTH_BASIC_USER_H
-#define _SQUID_AUTH_BASIC_USER_H
+#ifndef SQUID_SRC_AUTH_BASIC_USER_H
+#define SQUID_SRC_AUTH_BASIC_USER_H
#if HAVE_AUTH_MODULE_BASIC
} // namespace Auth
#endif /* HAVE_AUTH_MODULE_BASIC */
-#endif /* _SQUID_AUTH_BASIC_USER_H */
+#endif /* SQUID_SRC_AUTH_BASIC_USER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_AUTH_BASIC_USERREQUEST_H
-#define _SQUID_SRC_AUTH_BASIC_USERREQUEST_H
+#ifndef SQUID_SRC_AUTH_BASIC_USERREQUEST_H
+#define SQUID_SRC_AUTH_BASIC_USERREQUEST_H
#if HAVE_AUTH_MODULE_BASIC
} // namespace Auth
#endif /* HAVE_AUTH_MODULE_BASIC */
-#endif /* _SQUID_SRC_AUTH_BASIC_USERREQUEST_H */
+#endif /* SQUID_SRC_AUTH_BASIC_USERREQUEST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef __AUTH_DIGEST_H__
-#define __AUTH_DIGEST_H__
+#ifndef SQUID_SRC_AUTH_DIGEST_CONFIG_H
+#define SQUID_SRC_AUTH_DIGEST_CONFIG_H
#if HAVE_AUTH_MODULE_DIGEST
extern Helper::ClientPointer digestauthenticators;
#endif /* HAVE_AUTH_MODULE_DIGEST */
-#endif
+#endif /* SQUID_SRC_AUTH_DIGEST_CONFIG_H */
* Digest helper API details.
*/
-#ifndef SQUID_DIGEST_COMMON_H_
-#define SQUID_DIGEST_COMMON_H_
+#ifndef SQUID_SRC_AUTH_DIGEST_LDAP_DIGEST_COMMON_H
+#define SQUID_SRC_AUTH_DIGEST_LDAP_DIGEST_COMMON_H
#include "hash.h"
#include "rfc2617.h"
typedef void HandleArguments(int, char **);
typedef void HHA1Creator(RequestData *);
-#endif /* SQUID_DIGEST_COMMON_H_ */
+#endif /* SQUID_SRC_AUTH_DIGEST_LDAP_DIGEST_COMMON_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_AUTH_DIGEST_SCHEME_H
-#define SQUID_AUTH_DIGEST_SCHEME_H
+#ifndef SQUID_SRC_AUTH_DIGEST_SCHEME_H
+#define SQUID_SRC_AUTH_DIGEST_SCHEME_H
#if HAVE_AUTH_MODULE_DIGEST
} // namespace Auth
#endif /* HAVE_AUTH_MODULE_DIGEST */
-#endif /* SQUID_AUTH_DIGEST_SCHEME_H */
+#endif /* SQUID_SRC_AUTH_DIGEST_SCHEME_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_AUTH_DIGEST_USER_H
-#define _SQUID_AUTH_DIGEST_USER_H
+#ifndef SQUID_SRC_AUTH_DIGEST_USER_H
+#define SQUID_SRC_AUTH_DIGEST_USER_H
#if HAVE_AUTH_MODULE_DIGEST
} // namespace Auth
#endif /* HAVE_AUTH_MODULE_DIGEST */
-#endif /* _SQUID_AUTH_DIGEST_USER_H */
+#endif /* SQUID_SRC_AUTH_DIGEST_USER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_AUTH_DIGEST_USERREQUEST_H
-#define _SQUID_SRC_AUTH_DIGEST_USERREQUEST_H
+#ifndef SQUID_SRC_AUTH_DIGEST_USERREQUEST_H
+#define SQUID_SRC_AUTH_DIGEST_USERREQUEST_H
#if HAVE_AUTH_MODULE_DIGEST
} // namespace Auth
#endif /* HAVE_AUTH_MODULE_DIGEST */
-#endif /* _SQUID_SRC_AUTH_DIGEST_USERREQUEST_H */
+#endif /* SQUID_SRC_AUTH_DIGEST_USERREQUEST_H */
* Digest helper API details.
*/
-#ifndef SQUID_DIGEST_COMMON_H_
-#define SQUID_DIGEST_COMMON_H_
+#ifndef SQUID_SRC_AUTH_DIGEST_EDIRECTORY_DIGEST_COMMON_H
+#define SQUID_SRC_AUTH_DIGEST_EDIRECTORY_DIGEST_COMMON_H
#include "hash.h"
#include "rfc2617.h"
typedef void HandleArguments(int, char **);
typedef void HHA1Creator(RequestData *);
-#endif /* SQUID_DIGEST_COMMON_H_ */
+#endif /* SQUID_SRC_AUTH_DIGEST_EDIRECTORY_DIGEST_COMMON_H */
* Digest helper API details.
*/
-#ifndef SQUID_DIGEST_COMMON_H_
-#define SQUID_DIGEST_COMMON_H_
+#ifndef SQUID_SRC_AUTH_DIGEST_FILE_DIGEST_COMMON_H
+#define SQUID_SRC_AUTH_DIGEST_FILE_DIGEST_COMMON_H
#include "hash.h"
#include "rfc2617.h"
typedef void HandleArguments(int, char **);
typedef void HHA1Creator(RequestData *);
-#endif /* SQUID_DIGEST_COMMON_H_ */
+#endif /* SQUID_SRC_AUTH_DIGEST_FILE_DIGEST_COMMON_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef __AUTH_NEGOTIATE_H__
-#define __AUTH_NEGOTIATE_H__
+#ifndef SQUID_SRC_AUTH_NEGOTIATE_CONFIG_H
+#define SQUID_SRC_AUTH_NEGOTIATE_CONFIG_H
#if HAVE_AUTH_MODULE_NEGOTIATE
extern Helper::StatefulClientPointer negotiateauthenticators;
#endif /* HAVE_AUTH_MODULE_NEGOTIATE */
-#endif
+#endif /* SQUID_SRC_AUTH_NEGOTIATE_CONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_AUTH_NEGOTIATE_SCHEME_H
-#define SQUID_AUTH_NEGOTIATE_SCHEME_H
+#ifndef SQUID_SRC_AUTH_NEGOTIATE_SCHEME_H
+#define SQUID_SRC_AUTH_NEGOTIATE_SCHEME_H
#if HAVE_AUTH_MODULE_NEGOTIATE
} // namespace Auth
#endif /* HAVE_AUTH_MODULE_NEGOTIATE */
-#endif /* SQUID_AUTH_NEGOTIATE_SCHEME_H */
+#endif /* SQUID_SRC_AUTH_NEGOTIATE_SCHEME_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_AUTH_NEGOTIATE_USER_H
-#define _SQUID_AUTH_NEGOTIATE_USER_H
+#ifndef SQUID_SRC_AUTH_NEGOTIATE_USER_H
+#define SQUID_SRC_AUTH_NEGOTIATE_USER_H
#if HAVE_AUTH_MODULE_NEGOTIATE
} // namespace Auth
#endif /* HAVE_AUTH_MODULE_NEGOTIATE */
-#endif /* _SQUID_AUTH_NEGOTIATE_USER_H */
+#endif /* SQUID_SRC_AUTH_NEGOTIATE_USER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_AUTH_NEGOTIATE_USERREQUEST_H
-#define _SQUID_SRC_AUTH_NEGOTIATE_USERREQUEST_H
+#ifndef SQUID_SRC_AUTH_NEGOTIATE_USERREQUEST_H
+#define SQUID_SRC_AUTH_NEGOTIATE_USERREQUEST_H
#if HAVE_AUTH_MODULE_NEGOTIATE
} // namespace Auth
#endif /* HAVE_AUTH_MODULE_NEGOTIATE */
-#endif /* _SQUID_SRC_AUTH_NEGOTIATE_USERREQUEST_H */
+#endif /* SQUID_SRC_AUTH_NEGOTIATE_USERREQUEST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef __AUTH_NTLM_H__
-#define __AUTH_NTLM_H__
+#ifndef SQUID_SRC_AUTH_NTLM_CONFIG_H
+#define SQUID_SRC_AUTH_NTLM_CONFIG_H
#if HAVE_AUTH_MODULE_NTLM
extern Helper::StatefulClientPointer ntlmauthenticators;
#endif /* HAVE_AUTH_MODULE_NTLM */
-#endif
+#endif /* SQUID_SRC_AUTH_NTLM_CONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_AUTH_NTLM_SCHEME_H
-#define SQUID_AUTH_NTLM_SCHEME_H
+#ifndef SQUID_SRC_AUTH_NTLM_SCHEME_H
+#define SQUID_SRC_AUTH_NTLM_SCHEME_H
#if HAVE_AUTH_MODULE_NTLM
} // namespace Auth
#endif /* HAVE_AUTH_MODULE_NTLM */
-#endif /* SQUID_AUTH_NTLM_SCHEME_H */
+#endif /* SQUID_SRC_AUTH_NTLM_SCHEME_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_AUTH_NTLM_USER_H
-#define _SQUID_AUTH_NTLM_USER_H
+#ifndef SQUID_SRC_AUTH_NTLM_USER_H
+#define SQUID_SRC_AUTH_NTLM_USER_H
#if HAVE_AUTH_MODULE_NTLM
} // namespace Auth
#endif /* HAVE_AUTH_MODULE_NTLM */
-#endif /* _SQUID_AUTH_NTLM_USER_H */
+#endif /* SQUID_SRC_AUTH_NTLM_USER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_AUTH_NTLM_USERREQUEST_H
-#define _SQUID_SRC_AUTH_NTLM_USERREQUEST_H
+#ifndef SQUID_SRC_AUTH_NTLM_USERREQUEST_H
+#define SQUID_SRC_AUTH_NTLM_USERREQUEST_H
#if HAVE_AUTH_MODULE_NTLM
} // namespace Auth
#endif /* HAVE_AUTH_MODULE_NTLM */
-#endif /* _SQUID_SRC_AUTH_NTLM_USERREQUEST_H */
+#endif /* SQUID_SRC_AUTH_NTLM_USERREQUEST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_CHARSET_H
-#define _SQUID_CHARSET_H
+#ifndef SQUID_SRC_AUTH_TOUTF_H
+#define SQUID_SRC_AUTH_TOUTF_H
#include "sbuf/forward.h"
/// returns whether the given input is a valid (or empty) sequence of UTF-8 code points
bool isValidUtf8String(const char *source, const char *sourceEnd);
-#endif /* _SQUID_CHARSET_H */
+#endif /* SQUID_SRC_AUTH_TOUTF_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ASYNCCALL_H
-#define SQUID_ASYNCCALL_H
+#ifndef SQUID_SRC_BASE_ASYNCCALL_H
+#define SQUID_SRC_BASE_ASYNCCALL_H
#include "base/CodeContext.h"
#include "base/forward.h"
/** Call scheduling helper. */
#define ScheduleCallHere(call) ScheduleCall(__FILE__, __LINE__, (call))
-#endif /* SQUID_ASYNCCALL_H */
+#endif /* SQUID_SRC_BASE_ASYNCCALL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_BASE_ASYNCCALLLIST_H
-#define SQUID_BASE_ASYNCCALLLIST_H
+#ifndef SQUID_SRC_BASE_ASYNCCALLLIST_H
+#define SQUID_SRC_BASE_ASYNCCALLLIST_H
#include "base/AsyncCall.h"
#include "base/RefCount.h"
size_t length = 0; ///< \copydoc size()
};
-#endif /* SQUID_BASE_ASYNCCALLLIST_H */
+#endif /* SQUID_SRC_BASE_ASYNCCALLLIST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ASYNCCALLQUEUE_H
-#define SQUID_ASYNCCALLQUEUE_H
+#ifndef SQUID_SRC_BASE_ASYNCCALLQUEUE_H
+#define SQUID_SRC_BASE_ASYNCCALLQUEUE_H
#include "base/AsyncCallList.h"
#include "base/forward.h"
static AsyncCallQueue *TheInstance;
};
-#endif /* SQUID_ASYNCCALLQUEUE_H */
+#endif /* SQUID_SRC_BASE_ASYNCCALLQUEUE_H */
AsyncCallback_(asyncCall((dbgSection), (dbgLevel), #function, \
callbackDialer(&function)))
-#endif // SQUID_SRC_BASE_ASYNCCALLBACKS_H
+#endif /* SQUID_SRC_BASE_ASYNCCALLBACKS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_BASE_ASYNCCBDATACALLS_H
-#define SQUID_BASE_ASYNCCBDATACALLS_H
+#ifndef SQUID_SRC_BASE_ASYNCCBDATACALLS_H
+#define SQUID_SRC_BASE_ASYNCCBDATACALLS_H
#include "base/AsyncCall.h"
#include "base/CbcPointer.h"
return UnaryCbdataDialer<Argument1>(handler, arg1);
}
-#endif
+#endif /* SQUID_SRC_BASE_ASYNCCBDATACALLS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_BASE_ASYNCFUNCALLS_H
-#define SQUID_BASE_ASYNCFUNCALLS_H
+#ifndef SQUID_SRC_BASE_ASYNCFUNCALLS_H
+#define SQUID_SRC_BASE_ASYNCFUNCALLS_H
#include "base/AsyncCall.h"
return UnaryFunDialer<Argument1>(handler, arg1);
}
-#endif /* SQUID_BASE_ASYNCFUNCALLS_H */
+#endif /* SQUID_SRC_BASE_ASYNCFUNCALLS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ASYNC_JOB_H
-#define SQUID_ASYNC_JOB_H
+#ifndef SQUID_SRC_BASE_ASYNCJOB_H
+#define SQUID_SRC_BASE_ASYNCJOB_H
#include "base/AsyncCall.h"
#include "base/InstanceId.h"
bool swanSang_ = false; ///< swanSong() was called
};
-#endif /* SQUID_ASYNC_JOB_H */
+#endif /* SQUID_SRC_BASE_ASYNCJOB_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ASYNCJOBCALLS_H
-#define SQUID_ASYNCJOBCALLS_H
+#ifndef SQUID_SRC_BASE_ASYNCJOBCALLS_H
+#define SQUID_SRC_BASE_ASYNCJOBCALLS_H
#include "base/AsyncJob.h"
#include "base/CbcPointer.h"
job->callEnd(); // may delete job
}
-#endif /* SQUID_ASYNCJOBCALLS_H */
+#endif /* SQUID_SRC_BASE_ASYNCJOBCALLS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_BYTECOUNTER_H
-#define SQUID_SRC_BYTECOUNTER_H
+#ifndef SQUID_SRC_BASE_BYTECOUNTER_H
+#define SQUID_SRC_BASE_BYTECOUNTER_H
/// counter for accumulating byte values
class ByteCounter
size_t kb = 0;
};
-#endif /* SQUID_SRC_BYTECOUNTER_H */
+#endif /* SQUID_SRC_BASE_BYTECOUNTER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CBDATALIST_H
-#define SQUID_CBDATALIST_H
+#ifndef SQUID_SRC_BASE_CBDATALIST_H
+#define SQUID_SRC_BASE_CBDATALIST_H
#include "cbdata.h"
return head == nullptr;
}
-#endif /* SQUID_CBDATALIST_H */
+#endif /* SQUID_SRC_BASE_CBDATALIST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CBC_POINTER_H
-#define SQUID_CBC_POINTER_H
+#ifndef SQUID_SRC_BASE_CBCPOINTER_H
+#define SQUID_SRC_BASE_CBCPOINTER_H
#include "base/TextException.h"
#include "cbdata.h"
return os << cbc << '/' << lock;
}
-#endif /* SQUID_CBC_POINTER_H */
+#endif /* SQUID_SRC_BASE_CBCPOINTER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_PARSER_CHARACTERSET_H
-#define _SQUID_SRC_PARSER_CHARACTERSET_H
+#ifndef SQUID_SRC_BASE_CHARACTERSET_H
+#define SQUID_SRC_BASE_CHARACTERSET_H
#include <initializer_list>
#include <iosfwd>
std::ostream&
operator <<(std::ostream &, const CharacterSet &);
-#endif /* _SQUID_SRC_PARSER_CHARACTERSET_H */
+#endif /* SQUID_SRC_BASE_CHARACTERSET_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID__SRC_BASE_CLPMAP_H
-#define SQUID__SRC_BASE_CLPMAP_H
+#ifndef SQUID_SRC_BASE_CLPMAP_H
+#define SQUID_SRC_BASE_CLPMAP_H
#include "mem/PoolingAllocator.h"
#include "SquidMath.h"
SetToNaturalSumOrMax(expires, squid_curtime, ttl);
}
-#endif /* SQUID__SRC_BASE_CLPMAP_H */
+#endif /* SQUID_SRC_BASE_CLPMAP_H */
* Please see the COPYING and CONTRIBUTORS code_contexts for details.
*/
-#ifndef SQUID_BASE_CODE_CONTEXT_H
-#define SQUID_BASE_CODE_CONTEXT_H
+#ifndef SQUID_SRC_BASE_CODECONTEXT_H
+#define SQUID_SRC_BASE_CODECONTEXT_H
#include "base/InstanceId.h"
#include "base/RefCount.h"
/// @}
-#endif
+#endif /* SQUID_SRC_BASE_CODECONTEXT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_BASE_DELAYEDASYNCCALLS_H
-#define SQUID_BASE_DELAYEDASYNCCALLS_H
+#ifndef SQUID_SRC_BASE_DELAYEDASYNCCALLS_H
+#define SQUID_SRC_BASE_DELAYEDASYNCCALLS_H
#include "base/AsyncCallList.h"
AsyncCallList deferredReads;
};
-#endif /* SQUID_BASE_DELAYEDASYNCCALLS_H */
+#endif /* SQUID_SRC_BASE_DELAYEDASYNCCALLS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_BASE_ENUMITERATOR_H
-#define SQUID_BASE_ENUMITERATOR_H
+#ifndef SQUID_SRC_BASE_ENUMITERATOR_H
+#define SQUID_SRC_BASE_ENUMITERATOR_H
#include <iterator>
#include <type_traits>
WholeEnum() : EnumRangeT<EnumType>(EnumType::enumBegin_, EnumType::enumEnd_) {}
};
-#endif /* SQUID_BASE_ENUMITERATOR_H */
+#endif /* SQUID_SRC_BASE_ENUMITERATOR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_BASE_FILE_H
-#define SQUID_BASE_FILE_H
+#ifndef SQUID_SRC_BASE_FILE_H
+#define SQUID_SRC_BASE_FILE_H
#include "sbuf/SBuf.h"
Handle fd_ = InvalidHandle; ///< OS-specific file handle
};
-#endif
+#endif /* SQUID_SRC_BASE_FILE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_BASE_HARDFUN_H
-#define _SQUID_SRC_BASE_HARDFUN_H
+#ifndef SQUID_SRC_BASE_HARDFUN_H
+#define SQUID_SRC_BASE_HARDFUN_H
/**
* A functor that calls a hard-coded unary function.
ReturnType operator()(ArgType arg) { return fun(arg); }
};
-#endif /* _SQUID_SRC_BASE_HARDFUN_H */
+#endif /* SQUID_SRC_BASE_HARDFUN_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_BASE_HERE_H
-#define SQUID_BASE_HERE_H
+#ifndef SQUID_SRC_BASE_HERE_H
+#define SQUID_SRC_BASE_HERE_H
#include <iosfwd>
return cachedHash;
}
-#endif
+#endif /* SQUID_SRC_BASE_HERE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_BASE_INSTANCE_ID_H
-#define SQUID_BASE_INSTANCE_ID_H
+#ifndef SQUID_SRC_BASE_INSTANCEID_H
+#define SQUID_SRC_BASE_INSTANCEID_H
#include <iosfwd>
return id.print(os);
}
-#endif /* SQUID_BASE_INSTANCE_ID_H */
+#endif /* SQUID_SRC_BASE_INSTANCEID_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_BASE_IO_MANIP_H
-#define SQUID_SRC_BASE_IO_MANIP_H
+#ifndef SQUID_SRC_BASE_IOMANIP_H
+#define SQUID_SRC_BASE_IOMANIP_H
#include "debug/Stream.h"
template <typename Container>
inline auto asList(const Container &c) { return AsList<Container>(c); }
-#endif /* SQUID_SRC_BASE_IO_MANIP_H */
+#endif /* SQUID_SRC_BASE_IOMANIP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_BASE_JOBWAIT_H
-#define SQUID_BASE_JOBWAIT_H
+#ifndef SQUID_SRC_BASE_JOBWAIT_H
+#define SQUID_SRC_BASE_JOBWAIT_H
#include "base/AsyncJob.h"
#include "base/CbcPointer.h"
return os;
}
-#endif /* SQUID_BASE_JOBWAIT_H */
+#endif /* SQUID_SRC_BASE_JOBWAIT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_LOOKUPTABLE_H_
-#define SQUID_LOOKUPTABLE_H_
+#ifndef SQUID_SRC_BASE_LOOKUPTABLE_H
+#define SQUID_SRC_BASE_LOOKUPTABLE_H
#include "sbuf/Algorithms.h"
#include "sbuf/SBuf.h"
EnumType invalidValue;
};
-#endif /* SQUID_LOOKUPTABLE_H_ */
+#endif /* SQUID_SRC_BASE_LOOKUPTABLE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_RANGE_H
-#define SQUID_RANGE_H
+#ifndef SQUID_SRC_BASE_RANGE_H
+#define SQUID_SRC_BASE_RANGE_H
#include <iosfwd>
#include <ostream>
return (S) (end > start ? end - start : 0);
}
-#endif /* SQUID_RANGE_H */
+#endif /* SQUID_SRC_BASE_RANGE_H */
/* DEBUG: section -- Refcount allocator */
-#ifndef SQUID_REFCOUNT_H_
-#define SQUID_REFCOUNT_H_
+#ifndef SQUID_SRC_BASE_REFCOUNT_H
+#define SQUID_SRC_BASE_REFCOUNT_H
// reference counting requires the Lock API on base classes
#include "base/Lock.h"
return os << "NULL";
}
-#endif /* SQUID_REFCOUNT_H_ */
+#endif /* SQUID_SRC_BASE_REFCOUNT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_BASE_RUNNERSREGISTRY_H
-#define SQUID_BASE_RUNNERSREGISTRY_H
+#ifndef SQUID_SRC_BASE_RUNNERSREGISTRY_H
+#define SQUID_SRC_BASE_RUNNERSREGISTRY_H
/**
* This API allows virtually any module to register its interest in receiving
#define CallRunnerRegistrator(ClassName) \
CallRunnerRegistratorIn(Global, ClassName)
-#endif /* SQUID_BASE_RUNNERSREGISTRY_H */
+#endif /* SQUID_SRC_BASE_RUNNERSREGISTRY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_BASE_SUBSCRIPTION_H
-#define _SQUID_BASE_SUBSCRIPTION_H
+#ifndef SQUID_SRC_BASE_SUBSCRIPTION_H
+#define SQUID_SRC_BASE_SUBSCRIPTION_H
#include "base/AsyncCall.h"
const RefCount<Call_> call; ///< gets copied to create callback calls
};
-#endif /* _SQUID_BASE_SUBSCRIPTION_H */
+#endif /* SQUID_SRC_BASE_SUBSCRIPTION_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID__TEXTEXCEPTION_H
-#define SQUID__TEXTEXCEPTION_H
+#ifndef SQUID_SRC_BASE_TEXTEXCEPTION_H
+#define SQUID_SRC_BASE_TEXTEXCEPTION_H
#include "base/Assure.h"
#include "base/Here.h"
Debug::Extra << "ignored exception: " << CurrentException); \
}
-#endif /* SQUID__TEXTEXCEPTION_H */
+#endif /* SQUID_SRC_BASE_TEXTEXCEPTION_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_YESNONONE_H_
-#define SQUID_YESNONONE_H_
+#ifndef SQUID_SRC_BASE_YESNONONE_H
+#define SQUID_SRC_BASE_YESNONONE_H
#include "base/TextException.h"
#include "debug/Stream.h"
bool option; ///< specified yes/no value; meaningless if optUnspecified
};
-#endif /* SQUID_YESNONONE_H_ */
+#endif /* SQUID_SRC_BASE_YESNONONE_H */
/* DEBUG: section 03 Configuration File Parsing */
-#ifndef SQUID_CACHE_CF_H_
-#define SQUID_CACHE_CF_H_
+#ifndef SQUID_SRC_CACHE_CF_H
+#define SQUID_SRC_CACHE_CF_H
class wordlist;
extern int config_lineno;
extern char config_input_line[BUFSIZ];
-#endif /* SQUID_CACHE_CF_H_ */
+#endif /* SQUID_SRC_CACHE_CF_H */
/* DEBUG: section 39 Cache Array Routing Protocol */
-#ifndef SQUID_CARP_H_
-#define SQUID_CARP_H_
+#ifndef SQUID_SRC_CARP_H
+#define SQUID_SRC_CARP_H
class CachePeer;
class PeerSelector;
void carpInit(void);
CachePeer *carpSelectParent(PeerSelector *);
-#endif /* SQUID_CARP_H_ */
+#endif /* SQUID_SRC_CARP_H */
void *data_; ///< raw callback data, maybe invalid
};
-#endif /* SQUID_CBDATA_H */
+#endif /* SQUID_SRC_CBDATA_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CLIENTSTREAM_H
-#define SQUID_CLIENTSTREAM_H
+#ifndef SQUID_SRC_CLIENTSTREAM_H
+#define SQUID_SRC_CLIENTSTREAM_H
#include "base/RefCount.h"
#include "clientStreamForward.h"
*/
clientStream_status_t clientStreamStatus(clientStreamNode *thisObject, ClientHttpRequest *http);
-#endif /* SQUID_CLIENTSTREAM_H */
+#endif /* SQUID_SRC_CLIENTSTREAM_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CLIENTSTREAM_FORWARD_H
-#define SQUID_CLIENTSTREAM_FORWARD_H
+#ifndef SQUID_SRC_CLIENTSTREAMFORWARD_H
+#define SQUID_SRC_CLIENTSTREAMFORWARD_H
#include "enums.h" /* for clientStream_status_t */
typedef clientStream_status_t CSS(clientStreamNode *, ClientHttpRequest *);
-#endif /* SQUID_CLIENTSTREAM_FORWARD_H */
+#endif /* SQUID_SRC_CLIENTSTREAMFORWARD_H */
/* DEBUG: section 00 Client Database */
-#ifndef SQUID_CLIENT_DB_H_
-#define SQUID_CLIENT_DB_H_
+#ifndef SQUID_SRC_CLIENT_DB_H
+#define SQUID_SRC_CLIENT_DB_H
#include "anyp/ProtocolType.h"
#include "ip/Address.h"
variable_list *snmp_meshCtblFn(variable_list *, snint *);
#endif
-#endif /* SQUID_CLIENT_DB_H_ */
+#endif /* SQUID_SRC_CLIENT_DB_H */
/* DEBUG: section 33 Client-side Routines */
-#ifndef SQUID_CLIENTSIDE_H
-#define SQUID_CLIENTSIDE_H
+#ifndef SQUID_SRC_CLIENT_SIDE_H
+#define SQUID_SRC_CLIENT_SIDE_H
#include "acl/ChecklistFiller.h"
#include "base/RunnersRegistry.h"
std::ostream &operator <<(std::ostream &os, const ConnStateData::PinnedIdleContext &pic);
std::ostream &operator <<(std::ostream &, const ConnStateData::ServerConnectionContext &);
-#endif /* SQUID_CLIENTSIDE_H */
+#endif /* SQUID_SRC_CLIENT_SIDE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CLIENTSIDEREPLY_H
-#define SQUID_CLIENTSIDEREPLY_H
+#ifndef SQUID_SRC_CLIENT_SIDE_REPLY_H
+#define SQUID_SRC_CLIENT_SIDE_REPLY_H
#include "acl/forward.h"
#include "client_side_request.h"
// TODO: move to SideAgent parent, when we have one
void purgeEntriesByUrl(HttpRequest *, const char *);
-#endif /* SQUID_CLIENTSIDEREPLY_H */
+#endif /* SQUID_SRC_CLIENT_SIDE_REPLY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CLIENTSIDEREQUEST_H
-#define SQUID_CLIENTSIDEREQUEST_H
+#ifndef SQUID_SRC_CLIENT_SIDE_REQUEST_H
+#define SQUID_SRC_CLIENT_SIDE_REQUEST_H
#include "AccessLogEntry.h"
#include "client_side.h"
/* ones that should be elsewhere */
void tunnelStart(ClientHttpRequest *);
-#endif /* SQUID_CLIENTSIDEREQUEST_H */
+#endif /* SQUID_SRC_CLIENT_SIDE_REQUEST_H */
/* DEBUG: section 09 File Transfer Protocol (FTP) */
-#ifndef SQUID_FTP_CLIENT_H
-#define SQUID_FTP_CLIENT_H
+#ifndef SQUID_SRC_CLIENTS_FTPCLIENT_H
+#define SQUID_SRC_CLIENTS_FTPCLIENT_H
#include "clients/Client.h"
#include "error/Detail.h"
} // namespace Ftp
-#endif /* SQUID_FTP_CLIENT_H */
+#endif /* SQUID_SRC_CLIENTS_FTPCLIENT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_CLIENTS_HTTP_TUNNELER_H
-#define SQUID_SRC_CLIENTS_HTTP_TUNNELER_H
+#ifndef SQUID_SRC_CLIENTS_HTTPTUNNELER_H
+#define SQUID_SRC_CLIENTS_HTTPTUNNELER_H
#include "base/AsyncCallbacks.h"
#include "base/AsyncJob.h"
} // namespace Http
-#endif /* SQUID_SRC_CLIENTS_HTTP_TUNNELER_H */
+#endif /* SQUID_SRC_CLIENTS_HTTPTUNNELER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_CLIENTS_HTTP_TUNNELERANSWER_H
-#define SQUID_SRC_CLIENTS_HTTP_TUNNELERANSWER_H
+#ifndef SQUID_SRC_CLIENTS_HTTPTUNNELERANSWER_H
+#define SQUID_SRC_CLIENTS_HTTPTUNNELERANSWER_H
#include "base/CbcPointer.h"
#include "comm/Connection.h"
} // namespace Http
-#endif /* SQUID_SRC_CLIENTS_HTTP_TUNNELERANSWER_H */
+#endif /* SQUID_SRC_CLIENTS_HTTPTUNNELERANSWER_H */
/* DEBUG: section 75 WHOIS protocol */
-#ifndef SQUID_WHOIS_H_
-#define SQUID_WHOIS_H_
+#ifndef SQUID_SRC_CLIENTS_WHOISGATEWAY_H
+#define SQUID_SRC_CLIENTS_WHOISGATEWAY_H
#include "clients/forward.h"
/// \ingroup ServerProtocolWhoisAPI
void whoisStart(FwdState *);
-#endif /* SQUID_WHOIS_H_ */
+#endif /* SQUID_SRC_CLIENTS_WHOISGATEWAY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CLIENTS_FORWARD_H
-#define SQUID_CLIENTS_FORWARD_H
+#ifndef SQUID_SRC_CLIENTS_FORWARD_H
+#define SQUID_SRC_CLIENTS_FORWARD_H
#include "sbuf/forward.h"
} // namespace Ftp
-#endif /* SQUID_CLIENTS_FORWARD_H */
+#endif /* SQUID_SRC_CLIENTS_FORWARD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef __COMM_H__
-#define __COMM_H__
+#ifndef SQUID_SRC_COMM_H
+#define SQUID_SRC_COMM_H
#include "comm/IoCallback.h"
#include "CommCalls.h"
int checkEvents(int timeout) override;
};
-#endif
+#endif /* SQUID_SRC_COMM_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_COMM_ACCEPT_LIMITER_H
-#define _SQUID_SRC_COMM_ACCEPT_LIMITER_H
+#ifndef SQUID_SRC_COMM_ACCEPTLIMITER_H
+#define SQUID_SRC_COMM_ACCEPTLIMITER_H
#include "comm/TcpAcceptor.h"
}; // namespace Comm
-#endif /* _SQUID_SRC_COMM_ACCEPT_LIMITER_H */
+#endif /* SQUID_SRC_COMM_ACCEPTLIMITER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_COMM_OPENERSTATEDATA_H
-#define _SQUID_SRC_COMM_OPENERSTATEDATA_H
+#ifndef SQUID_SRC_COMM_CONNOPENER_H
+#define SQUID_SRC_COMM_CONNOPENER_H
#include "base/AsyncCall.h"
#include "base/AsyncJob.h"
}; // namespace Comm
-#endif /* _SQUID_SRC_COMM_CONNOPENER_H */
+#endif /* SQUID_SRC_COMM_CONNOPENER_H */
/* DEBUG: section 05 Socket Functions */
-#ifndef _SQUIDCONNECTIONDETAIL_H_
-#define _SQUIDCONNECTIONDETAIL_H_
+#ifndef SQUID_SRC_COMM_CONNECTION_H
+#define SQUID_SRC_COMM_CONNECTION_H
#include "base/CodeContext.h"
#include "base/InstanceId.h"
} // namespace Comm
-#endif
+#endif /* SQUID_SRC_COMM_CONNECTION_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_COMM_FLAG_H
-#define _SQUID_SRC_COMM_FLAG_H
+#ifndef SQUID_SRC_COMM_FLAG_H
+#define SQUID_SRC_COMM_FLAG_H
namespace Comm
{
} // namespace Comm
-#endif /* _SQUID_SRC_COMM_FLAG_H */
+#endif /* SQUID_SRC_COMM_FLAG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID__SRC_COMM_INCOMING_H
-#define SQUID__SRC_COMM_INCOMING_H
+#ifndef SQUID_SRC_COMM_INCOMING_H
+#define SQUID_SRC_COMM_INCOMING_H
#if USE_POLL || USE_SELECT
} // namespace Comm
#endif /* USE_POLL || USE_SELECT */
-#endif /* SQUID__SRC_COMM_INCOMING_H */
+#endif /* SQUID_SRC_COMM_INCOMING_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_COMM_IOCALLBACK_H
-#define _SQUID_COMM_IOCALLBACK_H
+#ifndef SQUID_SRC_COMM_IOCALLBACK_H
+#define SQUID_SRC_COMM_IOCALLBACK_H
#include "base/AsyncCall.h"
#include "comm/Flag.h"
} // namespace Comm
-#endif /* _SQUID_COMM_IOCALLBACK_H */
+#endif /* SQUID_SRC_COMM_IOCALLBACK_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_COMM_LOOPS_H
-#define _SQUID_SRC_COMM_LOOPS_H
+#ifndef SQUID_SRC_COMM_LOOPS_H
+#define SQUID_SRC_COMM_LOOPS_H
#include "comm/Flag.h"
#include "comm/forward.h"
} // namespace Comm
-#endif /* _SQUID_SRC_COMM_LOOPS_H */
+#endif /* SQUID_SRC_COMM_LOOPS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_COMM_READ_H
-#define _SQUID_COMM_READ_H
+#ifndef SQUID_SRC_COMM_READ_H
+#define SQUID_SRC_COMM_READ_H
#include "base/AsyncCall.h"
#include "comm/forward.h"
}
void comm_read_cancel(int fd, IOCB *callback, void *data);
-#endif /* _SQUID_COMM_READ_H */
+#endif /* SQUID_SRC_COMM_READ_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID__SRC_COMM_TCP_H
-#define SQUID__SRC_COMM_TCP_H
+#ifndef SQUID_SRC_COMM_TCP_H
+#define SQUID_SRC_COMM_TCP_H
namespace Comm
{
} // namespace Comm
-#endif /* SQUID__SRC_COMM_TCP_H */
+#endif /* SQUID_SRC_COMM_TCP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_COMM_TCPACCEPTOR_H
-#define SQUID_COMM_TCPACCEPTOR_H
+#ifndef SQUID_SRC_COMM_TCPACCEPTOR_H
+#define SQUID_SRC_COMM_TCPACCEPTOR_H
#include "anyp/forward.h"
#include "base/AsyncJob.h"
} // namespace Comm
-#endif /* SQUID_COMM_TCPACCEPTOR_H */
+#endif /* SQUID_SRC_COMM_TCPACCEPTOR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_COMM_IOWRITE_H
-#define _SQUID_COMM_IOWRITE_H
+#ifndef SQUID_SRC_COMM_WRITE_H
+#define SQUID_SRC_COMM_WRITE_H
#include "base/AsyncCall.h"
#include "comm/forward.h"
} // namespace Comm
-#endif /* _SQUID_COMM_IOWRITE_H */
+#endif /* SQUID_SRC_COMM_WRITE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_COMM_COMM_INTERNAL_H
-#define SQUID_COMM_COMM_INTERNAL_H
+#ifndef SQUID_SRC_COMM_COMM_INTERNAL_H
+#define SQUID_SRC_COMM_COMM_INTERNAL_H
/* misc collection of bits shared by Comm code, but not needed by the rest of Squid. */
bool isOpen(const int fd);
void commStopHalfClosedMonitor(int fd);
-#endif
+#endif /* SQUID_SRC_COMM_COMM_INTERNAL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_COMM_FORWARD_H
-#define _SQUID_COMM_FORWARD_H
+#ifndef SQUID_SRC_COMM_FORWARD_H
+#define SQUID_SRC_COMM_FORWARD_H
#include "base/RefCount.h"
}; // namespace Comm
-#endif /* _SQUID_COMM_FORWARD_H */
+#endif /* SQUID_SRC_COMM_FORWARD_H */
/* DEBUG: section 00 Debug Routines */
-#ifndef SQUID_DEBUG_MESSAGES_H
-#define SQUID_DEBUG_MESSAGES_H
+#ifndef SQUID_SRC_DEBUG_MESSAGES_H
+#define SQUID_SRC_DEBUG_MESSAGES_H
#include "debug/Stream.h"
#define Important(id) DebugMessageLevel<id>(DBG_IMPORTANT)
#define Dbg(id, defaultLevel) DebugMessageLevel<id>(defaultLevel)
-#endif /* SQUID_DEBUG_MESSAGES_H */
+#endif /* SQUID_SRC_DEBUG_MESSAGES_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DEFINES_H
-#define SQUID_DEFINES_H
+#ifndef SQUID_SRC_DEFINES_H
+#define SQUID_SRC_DEFINES_H
#ifndef TRUE
#define TRUE 1
#define _WIN_SQUID_RUN_MODE_SERVICE 1
#endif
-#endif /* SQUID_DEFINES_H */
+#endif /* SQUID_SRC_DEFINES_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_DLINK_H
-#define SQUID_DLINK_H
+#ifndef SQUID_SRC_DLINK_H
+#define SQUID_SRC_DLINK_H
#include "mem/forward.h"
void dlinkAddTail(void *data, dlink_node *, dlink_list *);
void dlinkDelete(dlink_node * m, dlink_list * list);
-#endif /* SQUID_DLINK_H */
+#endif /* SQUID_SRC_DLINK_H */
/* DEBUG: section 78 DNS lookups */
-#ifndef SQUID_DNS_LOOKUPDETAILS_H
-#define SQUID_DNS_LOOKUPDETAILS_H
+#ifndef SQUID_SRC_DNS_LOOKUPDETAILS_H
+#define SQUID_SRC_DNS_LOOKUPDETAILS_H
#include "sbuf/SBuf.h"
} // namespace Dns
-#endif /* SQUID_DNS_LOOKUPDETAILS_H */
+#endif /* SQUID_SRC_DNS_LOOKUPDETAILS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_DNS_FORWARD_H
-#define _SQUID_SRC_DNS_FORWARD_H
+#ifndef SQUID_SRC_DNS_FORWARD_H
+#define SQUID_SRC_DNS_FORWARD_H
#include "ip/forward.h"
void idnsALookup(const char *, IDNSCB *, void *);
void idnsPTRLookup(const Ip::Address &, IDNSCB *, void *);
-#endif /* _SQUID_SRC_DNS_FORWARD_H */
+#endif /* SQUID_SRC_DNS_FORWARD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_RFC1035_H
-#define SQUID_RFC1035_H
+#ifndef SQUID_SRC_DNS_RFC1035_H
+#define SQUID_SRC_DNS_RFC1035_H
#if HAVE_SYS_TYPES_H
#include <sys/types.h>
const unsigned short _class);
SQUIDCEXTERN int rfc1035RRPack(char *buf, size_t sz, const rfc1035_rr * RR);
-#endif /* SQUID_RFC1035_H */
+#endif /* SQUID_SRC_DNS_RFC1035_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_RFC2671_H
-#define SQUID_RFC2671_H
+#ifndef SQUID_SRC_DNS_RFC2671_H
+#define SQUID_SRC_DNS_RFC2671_H
/* RFC2671 section 7 defines new RR type OPT as 41 */
#define RFC1035_TYPE_OPT 41
SQUIDCEXTERN int rfc2671RROptPack(char *buf, size_t sz, ssize_t edns_sz);
-#endif /* SQUID_RFC3596_H */
+#endif /* SQUID_SRC_DNS_RFC2671_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_RFC3596_H
-#define SQUID_RFC3596_H
+#ifndef SQUID_SRC_DNS_RFC3596_H
+#define SQUID_SRC_DNS_RFC3596_H
/* RFC 3596 extends RFC 1035 */
#include "dns/rfc1035.h"
/* RFC3596 section 2.1 defines new RR type AAAA as 28 */
#define RFC1035_TYPE_AAAA 28
-#endif /* SQUID_RFC3596_H */
+#endif /* SQUID_SRC_DNS_RFC3596_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ENUMS_H
-#define SQUID_ENUMS_H
+#ifndef SQUID_SRC_ENUMS_H
+#define SQUID_SRC_ENUMS_H
enum fd_type {
FD_NONE_TYPE,
} htcp_clr_reason;
#endif /* USE_HTCP */
-#endif /* SQUID_ENUMS_H */
+#endif /* SQUID_SRC_ENUMS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_ERROR_DETAIL_H
-#define _SQUID_SRC_ERROR_DETAIL_H
+#ifndef SQUID_SRC_ERROR_DETAIL_H
+#define SQUID_SRC_ERROR_DETAIL_H
#include "base/Here.h"
#include "base/RefCount.h"
/// dump the given ErrorDetail via a possibly nil pointer (for debugging)
std::ostream &operator <<(std::ostream &os, const ErrorDetail::Pointer &);
-#endif /* _SQUID_SRC_ERROR_DETAIL_H */
+#endif /* SQUID_SRC_ERROR_DETAIL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_ERROR_ERROR_H
-#define _SQUID_SRC_ERROR_ERROR_H
+#ifndef SQUID_SRC_ERROR_ERROR_H
+#define SQUID_SRC_ERROR_ERROR_H
#include "error/Detail.h"
#include "error/forward.h"
std::ostream &operator <<(std::ostream &os, const Error &error);
-#endif /* _SQUID_SRC_ERROR_ERROR_H */
+#endif /* SQUID_SRC_ERROR_ERROR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_ERROR_EXCEPTIONERRORDETAIL_H
-#define _SQUID_SRC_ERROR_EXCEPTIONERRORDETAIL_H
+#ifndef SQUID_SRC_ERROR_EXCEPTIONERRORDETAIL_H
+#define SQUID_SRC_ERROR_EXCEPTIONERRORDETAIL_H
#include "base/IoManip.h"
#include "error/Detail.h"
SourceLocationId exceptionId; ///< identifies the thrower or catcher
};
-#endif /* _SQUID_SRC_ERROR_EXCEPTIONERRORDETAIL_H */
+#endif /* SQUID_SRC_ERROR_EXCEPTIONERRORDETAIL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_ERROR_SYSERRORDETAIL_H
-#define _SQUID_SRC_ERROR_SYSERRORDETAIL_H
+#ifndef SQUID_SRC_ERROR_SYSERRORDETAIL_H
+#define SQUID_SRC_ERROR_SYSERRORDETAIL_H
#include "error/Detail.h"
#include "sbuf/forward.h"
/// reports a system call error (if any) on a dedicated Debug::Extra line
std::ostream &operator <<(std::ostream &, ReportSysError);
-#endif /* _SQUID_SRC_ERROR_SYSERRORDETAIL_H */
+#endif /* SQUID_SRC_ERROR_SYSERRORDETAIL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_ERROR_FORWARD_H
-#define _SQUID_SRC_ERROR_FORWARD_H
+#ifndef SQUID_SRC_ERROR_FORWARD_H
+#define SQUID_SRC_ERROR_FORWARD_H
#include "base/forward.h"
typedef RefCount<ErrorDetail> ErrorDetailPointer;
-#endif /* _SQUID_SRC_ERROR_FORWARD_H */
+#endif /* SQUID_SRC_ERROR_FORWARD_H */
/* DEBUG: section 04 Error Generation */
-#ifndef SQUID_ERRORPAGE_H
-#define SQUID_ERRORPAGE_H
+#ifndef SQUID_SRC_ERRORPAGE_H
+#define SQUID_SRC_ERRORPAGE_H
#include "cbdata.h"
#include "comm/forward.h"
std::ostream &operator <<(std::ostream &, const ErrorState *);
-#endif /* SQUID_ERRORPAGE_H */
+#endif /* SQUID_SRC_ERRORPAGE_H */
/* DEBUG: section 86 ESI processing */
-#ifndef SQUID_ESIASSIGN_H
-#define SQUID_ESIASSIGN_H
+#ifndef SQUID_SRC_ESI_ASSIGN_H
+#define SQUID_SRC_ESI_ASSIGN_H
#include "esi/Element.h"
#include "esi/VarState.h"
String unevaluatedVariable;
};
-#endif /* SQUID_ESIASSIGN_H */
+#endif /* SQUID_SRC_ESI_ASSIGN_H */
/* DEBUG: section 86 ESI processing */
-#ifndef SQUID_ESIATTEMPT_H
-#define SQUID_ESIATTEMPT_H
+#ifndef SQUID_SRC_ESI_ATTEMPT_H
+#define SQUID_SRC_ESI_ATTEMPT_H
#include "esi/Element.h"
#include "esi/Sequence.h"
esiAttempt(esiTreeParentPtr aParent) : esiSequence (aParent) {}
};
-#endif /* SQUID_ESIATTEMPT_H */
+#endif /* SQUID_SRC_ESI_ATTEMPT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ESICONTEXT_H
-#define SQUID_ESICONTEXT_H
+#ifndef SQUID_SRC_ESI_CONTEXT_H
+#define SQUID_SRC_ESI_CONTEXT_H
#include "clientStream.h"
#include "error/forward.h"
bool processing;
};
-#endif /* SQUID_ESICONTEXT_H */
+#endif /* SQUID_SRC_ESI_CONTEXT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ESIELEMENT_H
-#define SQUID_ESIELEMENT_H
+#ifndef SQUID_SRC_ESI_ELEMENT_H
+#define SQUID_SRC_ESI_ELEMENT_H
#include "base/RefCount.h"
#include "debug/Stream.h"
// for all elements call finish() and set Pointer to nil
extern void FinishAllElements(Esi::Elements &);
-#endif /* SQUID_ESIELEMENT_H */
+#endif /* SQUID_SRC_ESI_ELEMENT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ESI_H
-#define SQUID_ESI_H
+#ifndef SQUID_SRC_ESI_ESI_H
+#define SQUID_SRC_ESI_ESI_H
#include "clientStream.h"
#include "sbuf/SBuf.h"
} // namespace Esi
-#endif /* SQUID_ESI_H */
+#endif /* SQUID_SRC_ESI_ESI_H */
/* DEBUG: section 86 ESI processing */
-#ifndef SQUID_ESIEXCEPT_H
-#define SQUID_ESIEXCEPT_H
+#ifndef SQUID_SRC_ESI_EXCEPT_H
+#define SQUID_SRC_ESI_EXCEPT_H
#include "esi/Element.h"
#include "esi/Sequence.h"
esiExcept(esiTreeParentPtr aParent) : esiSequence (aParent) {}
};
-#endif /* SQUID_ESIEXCEPT_H */
+#endif /* SQUID_SRC_ESI_EXCEPT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ESIEXPATPARSER_H
-#define SQUID_ESIEXPATPARSER_H
+#ifndef SQUID_SRC_ESI_EXPATPARSER_H
+#define SQUID_SRC_ESI_EXPATPARSER_H
#if USE_SQUID_ESI && HAVE_LIBEXPAT
#endif /* USE_SQUID_ESI */
-#endif /* SQUID_ESIEXPATPARSER_H */
+#endif /* SQUID_SRC_ESI_EXPATPARSER_H */
/* DEBUG: section 86 ESI processing */
-#ifndef SQUID_ESIEXPRESSION_H
-#define SQUID_ESIEXPRESSION_H
+#ifndef SQUID_SRC_ESI_EXPRESSION_H
+#define SQUID_SRC_ESI_EXPRESSION_H
class ESIExpression
{
static int Evaluate (char const *);
};
-#endif /* SQUID_ESIEXPRESSION_H */
+#endif /* SQUID_SRC_ESI_EXPRESSION_H */
/* DEBUG: section 86 ESI processing */
-#ifndef SQUID_ESIINCLUDE_H
-#define SQUID_ESIINCLUDE_H
+#ifndef SQUID_SRC_ESI_INCLUDE_H
+#define SQUID_SRC_ESI_INCLUDE_H
#include "esi/Context.h"
#include "esi/Element.h"
void prepareRequestHeaders(HttpHeader &tempheaders, ESIVarState *vars);
};
-#endif /* SQUID_ESIINCLUDE_H */
+#endif /* SQUID_SRC_ESI_INCLUDE_H */
* mail@joachim-bauch.de
*/
-#ifndef SQUID_ESILIBXML2PARSER_H
-#define SQUID_ESILIBXML2PARSER_H
+#ifndef SQUID_SRC_ESI_LIBXML2PARSER_H
+#define SQUID_SRC_ESI_LIBXML2PARSER_H
#if USE_SQUID_ESI && HAVE_LIBXML2
#endif /* USE_SQUID_ESI */
-#endif /* SQUID_ESILIBXML2PARSER_H */
+#endif /* SQUID_SRC_ESI_LIBXML2PARSER_H */
/* DEBUG: section 86 ESI processing */
-#ifndef SQUID_ESILITERAL_H
-#define SQUID_ESILITERAL_H
+#ifndef SQUID_SRC_ESI_LITERAL_H
+#define SQUID_SRC_ESI_LITERAL_H
#include "esi/Element.h"
esiLiteral(esiLiteral const &);
};
-#endif /* SQUID_ESILITERAL_H */
+#endif /* SQUID_SRC_ESI_LITERAL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ESIPARSER_H
-#define SQUID_ESIPARSER_H
+#ifndef SQUID_SRC_ESI_PARSER_H
+#define SQUID_SRC_ESI_PARSER_H
#include "base/RefCount.h"
#define EsiParserDeclaration \
static ESIParser::Pointer NewParser(ESIParserClient *aClient)
-#endif /* SQUID_ESIPARSER_H */
+#endif /* SQUID_SRC_ESI_PARSER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ESISEGMENT_H
-#define SQUID_ESISEGMENT_H
+#ifndef SQUID_SRC_ESI_SEGMENT_H
+#define SQUID_SRC_ESI_SEGMENT_H
/* TODO: Factor the store memory segment management into a reusable code block
* or perhaps use membuffers here?
void ESISegmentFreeList (ESISegment::Pointer &head);
-#endif /* SQUID_ESISEGMENT_H */
+#endif /* SQUID_SRC_ESI_SEGMENT_H */
/* DEBUG: section 86 ESI processing */
-#ifndef SQUID_ESISEQUENCE_H
-#define SQUID_ESISEQUENCE_H
+#ifndef SQUID_SRC_ESI_SEQUENCE_H
+#define SQUID_SRC_ESI_SEQUENCE_H
#include "esi/Element.h"
#include "mem/forward.h"
void processStep(int dovars);
};
-#endif /* SQUID_ESISEQUENCE_H */
+#endif /* SQUID_SRC_ESI_SEQUENCE_H */
/* DEBUG: section 86 ESI processing */
-#ifndef SQUID_ESIVAR_H
-#define SQUID_ESIVAR_H
+#ifndef SQUID_SRC_ESI_VAR_H
+#define SQUID_SRC_ESI_VAR_H
#include "esi/Element.h"
#include "esi/Sequence.h"
}
};
-#endif /* SQUID_ESIVAR_H */
+#endif /* SQUID_SRC_ESI_VAR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_ESIVARSTATE_H
-#define SQUID_ESIVARSTATE_H
+#ifndef SQUID_SRC_ESI_VARSTATE_H
+#define SQUID_SRC_ESI_VARSTATE_H
#include "esi/Segment.h"
#include "HttpHeader.h"
char *browserversion;
};
-#endif /* SQUID_ESIVARSTATE_H */
+#endif /* SQUID_SRC_ESI_VARSTATE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_EUI_CONFIG_H
-#define SQUID_EUI_CONFIG_H
+#ifndef SQUID_SRC_EUI_CONFIG_H
+#define SQUID_SRC_EUI_CONFIG_H
namespace Eui
{
} // namespace Eui
-#endif /* SQUID_EUI_CONFIG_H */
+#endif /* SQUID_SRC_EUI_CONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_EUI_EUI48_H
-#define _SQUID_EUI_EUI48_H
+#ifndef SQUID_SRC_EUI_EUI48_H
+#define SQUID_SRC_EUI_EUI48_H
#if USE_SQUID_EUI
} // namespace Eui
#endif /* USE_SQUID_EUI */
-#endif /* _SQUID_EUI_EUI48_H */
+#endif /* SQUID_SRC_EUI_EUI48_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_EUI_EUI64_H
-#define _SQUID_EUI_EUI64_H
+#ifndef SQUID_SRC_EUI_EUI64_H
+#define SQUID_SRC_EUI_EUI64_H
#if USE_SQUID_EUI
} // namespace Eui
#endif /* USE_SQUID_EUI */
-#endif /* _SQUID_EUI_EUI64_H */
+#endif /* SQUID_SRC_EUI_EUI64_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_EVENT_H
-#define SQUID_EVENT_H
+#ifndef SQUID_SRC_EVENT_H
+#define SQUID_SRC_EVENT_H
#include "AsyncEngine.h"
#include "base/Packable.h"
ev_entry * tasks;
};
-#endif /* SQUID_EVENT_H */
+#endif /* SQUID_SRC_EVENT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FATAL_H
-#define SQUID_FATAL_H
+#ifndef SQUID_SRC_FATAL_H
+#define SQUID_SRC_FATAL_H
void fatal(const char *message);
void fatalf(const char *fmt,...) PRINTF_FORMAT_ARG1;
void fatal_dump(const char *message);
-#endif /* SQUID_FATAL_H */
+#endif /* SQUID_SRC_FATAL_H */
/* DEBUG: section 51 Filedescriptor Functions */
-#ifndef SQUID_FD_H_
-#define SQUID_FD_H_
+#ifndef SQUID_SRC_FD_H
+#define SQUID_SRC_FD_H
/// distinguishes reading/importing I/O operations from their writing/exporting counterparts
enum class IoDirection {
int default_read_method(int, char *, int);
int default_write_method(int, const char *, int);
-#endif /* SQUID_FD_H_ */
+#endif /* SQUID_SRC_FD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FDE_H
-#define SQUID_FDE_H
+#ifndef SQUID_SRC_FDE_H
+#define SQUID_SRC_FDE_H
#include "base/CodeContext.h" /* XXX: Remove by de-inlining ctor and clear() */
#include "base/forward.h"
return fd_table[fd].write(fd, buf, len);
}
-#endif /* SQUID_FDE_H */
+#endif /* SQUID_SRC_FDE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_FMT_BYTECODE_H
-#define _SQUID_FMT_BYTECODE_H
+#ifndef SQUID_SRC_FORMAT_BYTECODE_H
+#define SQUID_SRC_FORMAT_BYTECODE_H
/*
* Squid configuration allows users to define custom formats in
} // namespace Format
-#endif /* _SQUID_FMT_BYTECODE_H */
+#endif /* SQUID_SRC_FORMAT_BYTECODE_H */
#define free_format(X) do{ delete (*(X)).formats; (*(X)).formats=NULL; }while(false)
#define dump_format(E,N,D) (D).dumpFormats((E),(N))
-#endif
+#endif /* SQUID_SRC_FORMAT_CONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_FORMAT_FORMAT_H
-#define _SQUID_FORMAT_FORMAT_H
+#ifndef SQUID_SRC_FORMAT_FORMAT_H
+#define SQUID_SRC_FORMAT_FORMAT_H
#include "base/RefCount.h"
#include "ConfigParser.h"
} // namespace Format
-#endif /* _SQUID_FORMAT_FORMAT_H */
+#endif /* SQUID_SRC_FORMAT_FORMAT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_FORMAT_QUOTING_H
-#define _SQUID_FORMAT_QUOTING_H
+#ifndef SQUID_SRC_FORMAT_QUOTING_H
+#define SQUID_SRC_FORMAT_QUOTING_H
namespace Format
{
}; // namespace Format
-#endif /* _SQUID_FORMAT_QUOTING_H */
+#endif /* SQUID_SRC_FORMAT_QUOTING_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_FORMAT_TOKEN_H
-#define _SQUID_FORMAT_TOKEN_H
+#ifndef SQUID_SRC_FORMAT_TOKEN_H
+#define SQUID_SRC_FORMAT_TOKEN_H
#include "format/ByteCode.h"
#include "proxyp/Elements.h"
} // namespace Format
-#endif /* _SQUID_FORMAT_TOKEN_H */
+#endif /* SQUID_SRC_FORMAT_TOKEN_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_FORMAT_TOKENTABLEENTRY_H
-#define _SQUID_FORMAT_TOKENTABLEENTRY_H
+#ifndef SQUID_SRC_FORMAT_TOKENTABLEENTRY_H
+#define SQUID_SRC_FORMAT_TOKENTABLEENTRY_H
#include "format/ByteCode.h"
} // namespace Format
-#endif /* _SQUID_FORMAT_TOKENTABLEENTRY_H */
+#endif /* SQUID_SRC_FORMAT_TOKENTABLEENTRY_H */
/* DEBUG: section 35 FQDN Cache */
-#ifndef SQUID_FQDNCACHE_H_
-#define SQUID_FQDNCACHE_H_
+#ifndef SQUID_SRC_FQDNCACHE_H
+#define SQUID_SRC_FQDNCACHE_H
#include "ip/Address.h"
#include "sbuf/forward.h"
const char *fqdncache_gethostbyaddr(const Ip::Address &, int flags);
void fqdncache_nbgethostbyaddr(const Ip::Address &, FQDNH *, void *);
-#endif /* SQUID_FQDNCACHE_H_ */
+#endif /* SQUID_SRC_FQDNCACHE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_MODULE_H
-#define SQUID_FS_MODULE_H
+#ifndef SQUID_SRC_FS_MODULE_H
+#define SQUID_SRC_FS_MODULE_H
namespace Fs
{
} // namespace Fs
-#endif /* SQUID_FS_MODULE_H */
+#endif /* SQUID_SRC_FS_MODULE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_ROCK_DB_CELL_H
-#define SQUID_FS_ROCK_DB_CELL_H
+#ifndef SQUID_SRC_FS_ROCK_ROCKDBCELL_H
+#define SQUID_SRC_FS_ROCK_ROCKDBCELL_H
#include "store/forward.h"
} // namespace Rock
-#endif /* SQUID_FS_ROCK_DB_CELL_H */
+#endif /* SQUID_SRC_FS_ROCK_ROCKDBCELL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_ROCK_HEADER_UPDATER_H
-#define SQUID_FS_ROCK_HEADER_UPDATER_H
+#ifndef SQUID_SRC_FS_ROCK_ROCKHEADERUPDATER_H
+#define SQUID_SRC_FS_ROCK_ROCKHEADERUPDATER_H
#include "base/AsyncJob.h"
#include "cbdata.h"
} // namespace Rock
-#endif /* SQUID_FS_ROCK_HEADER_UPDATER_H */
+#endif /* SQUID_SRC_FS_ROCK_ROCKHEADERUPDATER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_ROCK_IO_REQUESTS_H
-#define SQUID_FS_ROCK_IO_REQUESTS_H
+#ifndef SQUID_SRC_FS_ROCK_ROCKIOREQUESTS_H
+#define SQUID_SRC_FS_ROCK_ROCKIOREQUESTS_H
#include "DiskIO/ReadRequest.h"
#include "DiskIO/WriteRequest.h"
} // namespace Rock
-#endif /* SQUID_FS_ROCK_IO_REQUESTS_H */
+#endif /* SQUID_SRC_FS_ROCK_ROCKIOREQUESTS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_ROCK_IO_STATE_H
-#define SQUID_FS_ROCK_IO_STATE_H
+#ifndef SQUID_SRC_FS_ROCK_ROCKIOSTATE_H
+#define SQUID_SRC_FS_ROCK_ROCKIOSTATE_H
#include "fs/rock/forward.h"
#include "fs/rock/RockSwapDir.h"
} // namespace Rock
-#endif /* SQUID_FS_ROCK_IO_STATE_H */
+#endif /* SQUID_SRC_FS_ROCK_ROCKIOSTATE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_ROCK_REBUILD_H
-#define SQUID_FS_ROCK_REBUILD_H
+#ifndef SQUID_SRC_FS_ROCK_ROCKREBUILD_H
+#define SQUID_SRC_FS_ROCK_ROCKREBUILD_H
#include "base/AsyncJob.h"
#include "base/RunnersRegistry.h"
} // namespace Rock
-#endif /* SQUID_FS_ROCK_REBUILD_H */
+#endif /* SQUID_SRC_FS_ROCK_ROCKREBUILD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_ROCK_FS_H
-#define SQUID_FS_ROCK_FS_H
+#ifndef SQUID_SRC_FS_ROCK_ROCKSTOREFILESYSTEM_H
+#define SQUID_SRC_FS_ROCK_ROCKSTOREFILESYSTEM_H
#include "StoreFileSystem.h"
} // namespace Rock
-#endif /* SQUID_FS_ROCK_FS_H */
+#endif /* SQUID_SRC_FS_ROCK_ROCKSTOREFILESYSTEM_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_ROCK_SWAP_DIR_H
-#define SQUID_FS_ROCK_SWAP_DIR_H
+#ifndef SQUID_SRC_FS_ROCK_ROCKSWAPDIR_H
+#define SQUID_SRC_FS_ROCK_ROCKSWAPDIR_H
#include "DiskIO/DiskFile.h"
#include "DiskIO/IORequestor.h"
} // namespace Rock
-#endif /* SQUID_FS_ROCK_SWAP_DIR_H */
+#endif /* SQUID_SRC_FS_ROCK_ROCKSWAPDIR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_ROCK_FORWARD_H
-#define SQUID_FS_ROCK_FORWARD_H
+#ifndef SQUID_SRC_FS_ROCK_FORWARD_H
+#define SQUID_SRC_FS_ROCK_FORWARD_H
#include "store/forward.h"
}
-#endif /* SQUID_FS_ROCK_FORWARD_H */
+#endif /* SQUID_SRC_FS_ROCK_FORWARD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_UFS_REBUILDSTATE_H
-#define SQUID_FS_UFS_REBUILDSTATE_H
+#ifndef SQUID_SRC_FS_UFS_REBUILDSTATE_H
+#define SQUID_SRC_FS_UFS_REBUILDSTATE_H
#include "base/RefCount.h"
#include "store_rebuild.h"
} /* namespace Ufs */
} /* namespace Fs */
-#endif /* SQUID_FS_UFS_REBUILDSTATE_H */
+#endif /* SQUID_SRC_FS_UFS_REBUILDSTATE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STOREFSUFS_H
-#define SQUID_STOREFSUFS_H
+#ifndef SQUID_SRC_FS_UFS_STOREFSUFS_H
+#define SQUID_SRC_FS_UFS_STOREFSUFS_H
/**
\defgroup UFS UFS Storage Filesystem
} /* namespace Ufs */
} /* namespace Fs */
-#endif /* SQUID_STOREFSUFS_H */
+#endif /* SQUID_SRC_FS_UFS_STOREFSUFS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_UFS_UFSSTORESTATE_H
-#define SQUID_FS_UFS_UFSSTORESTATE_H
+#ifndef SQUID_SRC_FS_UFS_UFSSTORESTATE_H
+#define SQUID_SRC_FS_UFS_UFSSTORESTATE_H
#include "DiskIO/DiskFile.h"
#include "DiskIO/IORequestor.h"
} //namespace Ufs
} //namespace Fs
-#endif /* SQUID_FS_UFS_UFSSTORESTATE_H */
+#endif /* SQUID_SRC_FS_UFS_UFSSTORESTATE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_UFS_UFSSTRATEGY_H
-#define SQUID_FS_UFS_UFSSTRATEGY_H
+#ifndef SQUID_SRC_FS_UFS_UFSSTRATEGY_H
+#define SQUID_SRC_FS_UFS_UFSSTRATEGY_H
#include "DiskIO/DiskFile.h"
#include "StoreIOState.h"
} //namespace Ufs
} //namespace Fs
-#endif /* SQUID_FS_UFS_UFSSTRATEGY_H */
+#endif /* SQUID_SRC_FS_UFS_UFSSTRATEGY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_UFS_UFSSWAPDIR_H
-#define SQUID_FS_UFS_UFSSWAPDIR_H
+#ifndef SQUID_SRC_FS_UFS_UFSSWAPDIR_H
+#define SQUID_SRC_FS_UFS_UFSSWAPDIR_H
#include "SquidString.h"
#include "Store.h"
} //namespace Ufs
} //namespace Fs
-#endif /* SQUID_FS_UFS_UFSSWAPDIR_H */
+#endif /* SQUID_SRC_FS_UFS_UFSSWAPDIR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FS_UFS_UFSSWAPLOGPARSER_H
-#define SQUID_FS_UFS_UFSSWAPLOGPARSER_H
+#ifndef SQUID_SRC_FS_UFS_UFSSWAPLOGPARSER_H
+#define SQUID_SRC_FS_UFS_UFSSWAPLOGPARSER_H
class StoreSwapLogData;
} //namespace Ufs
} //namespace Fs
-#endif /* SQUID_FS_UFS_UFSSWAPLOGPARSER_H */
+#endif /* SQUID_SRC_FS_UFS_UFSSWAPLOGPARSER_H */
/* DEBUG: section 06 Disk I/O Routines */
-#ifndef SQUID_FS_IO_H_
-#define SQUID_FS_IO_H_
+#ifndef SQUID_SRC_FS_IO_H
+#define SQUID_SRC_FS_IO_H
#include "mem/forward.h"
#include "sbuf/forward.h"
int fsBlockSize(const char *path, int *blksize);
int fsStats(const char *, int *, int *, int *, int *);
-#endif /* SQUID_FS_IO_H_ */
+#endif /* SQUID_SRC_FS_IO_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FTP_ELEMENTS_H
-#define SQUID_FTP_ELEMENTS_H
+#ifndef SQUID_SRC_FTP_ELEMENTS_H
+#define SQUID_SRC_FTP_ELEMENTS_H
#include "http/forward.h"
#include "http/StatusCode.h"
} // namespace Ftp
-#endif /* SQUID_FTP_ELEMENTS_H */
+#endif /* SQUID_SRC_FTP_ELEMENTS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FTP_PARSING_H
-#define SQUID_FTP_PARSING_H
+#ifndef SQUID_SRC_FTP_PARSING_H
+#define SQUID_SRC_FTP_PARSING_H
#include "ip/forward.h"
} // namespace Ftp
-#endif /* SQUID_FTP_PARSING_H */
+#endif /* SQUID_SRC_FTP_PARSING_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_GLOBALS_H
-#define SQUID_GLOBALS_H
+#ifndef SQUID_SRC_GLOBALS_H
+#define SQUID_SRC_GLOBALS_H
#include "CacheDigest.h"
#include "defines.h"
/// Zero for SMP-unaware code and in no-SMP mode.
extern int KidIdentifier; /* 0 */
-#endif /* SQUID_GLOBALS_H */
+#endif /* SQUID_SRC_GLOBALS_H */
/* DEBUG: section 84 Helper process maintenance */
-#ifndef SQUID_HELPER_H
-#define SQUID_HELPER_H
+#ifndef SQUID_SRC_HELPER_H
+#define SQUID_SRC_HELPER_H
#include "base/AsyncCall.h"
#include "base/InstanceId.h"
void helperShutdown(const Helper::Client::Pointer &);
void helperStatefulShutdown(const statefulhelper::Pointer &);
-#endif /* SQUID_HELPER_H */
+#endif /* SQUID_SRC_HELPER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_HELPER_CHILDCONFIG_H
-#define _SQUID_SRC_HELPER_CHILDCONFIG_H
+#ifndef SQUID_SRC_HELPER_CHILDCONFIG_H
+#define SQUID_SRC_HELPER_CHILDCONFIG_H
namespace Helper
{
#define dump_HelperChildConfig(e,n,c) storeAppendPrintf((e), "\n%s %d startup=%d idle=%d concurrency=%d\n", (n), (c).n_max, (c).n_startup, (c).n_idle, (c).concurrency)
#define free_HelperChildConfig(dummy) // NO.
-#endif /* _SQUID_SRC_HELPER_CHILDCONFIG_H */
+#endif /* SQUID_SRC_HELPER_CHILDCONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_HELPER_REPLY_H
-#define _SQUID_SRC_HELPER_REPLY_H
+#ifndef SQUID_SRC_HELPER_REPLY_H
+#define SQUID_SRC_HELPER_REPLY_H
#include "base/CbcPointer.h"
#include "helper/forward.h"
} // namespace Helper
-#endif /* _SQUID_SRC_HELPER_REPLY_H */
+#endif /* SQUID_SRC_HELPER_REPLY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_HELPER_REQUEST_H
-#define _SQUID_SRC_HELPER_REQUEST_H
+#ifndef SQUID_SRC_HELPER_REQUEST_H
+#define SQUID_SRC_HELPER_REQUEST_H
#include "cbdata.h"
#include "helper/forward.h"
} // namespace Helper
-#endif /* _SQUID_SRC_HELPER_REQUEST_H */
+#endif /* SQUID_SRC_HELPER_REQUEST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_HELPER_RESERVATIONID_H
-#define _SQUID_SRC_HELPER_RESERVATIONID_H
+#ifndef SQUID_SRC_HELPER_RESERVATIONID_H
+#define SQUID_SRC_HELPER_RESERVATIONID_H
#include <ostream>
};
}
-#endif
+#endif /* SQUID_SRC_HELPER_RESERVATIONID_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_HELPER_RESULTCODE_H
-#define _SQUID_SRC_HELPER_RESULTCODE_H
+#ifndef SQUID_SRC_HELPER_RESULTCODE_H
+#define SQUID_SRC_HELPER_RESULTCODE_H
namespace Helper
{
} // namespace Helper
-#endif /* _SQUID_SRC_HELPER_RESULTCODE_H */
+#endif /* SQUID_SRC_HELPER_RESULTCODE_H */
* POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __SQUID_HELPERS_DEFINES_H
-#define __SQUID_HELPERS_DEFINES_H
+#ifndef SQUID_SRC_HELPER_PROTOCOL_DEFINES_H
+#define SQUID_SRC_HELPER_PROTOCOL_DEFINES_H
/*
* This file contains several macro definitions which are
/* send TT result to Squid with a string parameter. */
#define SEND_TT(x) std::cout << "TT " << x << std::endl
-#endif /* __SQUID_HELPERS_DEFINES_H */
+#endif /* SQUID_SRC_HELPER_PROTOCOL_DEFINES_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID__HIER_CODE_H
-#define SQUID__HIER_CODE_H
+#ifndef SQUID_SRC_HIER_CODE_H
+#define SQUID_SRC_HIER_CODE_H
typedef enum {
HIER_NONE,
inline hier_code operator++(hier_code &i) { return i = (hier_code)(1+(int)i); }
-#endif /* SQUID__HIER_CODE_H */
+#endif /* SQUID_SRC_HIER_CODE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTCP_H
-#define SQUID_HTCP_H
+#ifndef SQUID_SRC_HTCP_H
+#define SQUID_SRC_HTCP_H
#if USE_HTCP
#endif /* USE_HTCP */
-#endif /* SQUID_HTCP_H */
+#endif /* SQUID_SRC_HTCP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID__SRC_HTML_QUOTING_H
-#define SQUID__SRC_HTML_QUOTING_H
+#ifndef SQUID_SRC_HTML_QUOTING_H
+#define SQUID_SRC_HTML_QUOTING_H
/** Obtain a static buffer containing an HTML-encoded version of the given c-string.
*
*/
char *html_quote(const char *);
-#endif /* SQUID__SRC_HTML_QUOTING_H */
+#endif /* SQUID_SRC_HTML_QUOTING_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTP_H
-#define SQUID_HTTP_H
+#ifndef SQUID_SRC_HTTP_H
+#define SQUID_SRC_HTTP_H
#include "clients/Client.h"
#include "comm.h"
void httpStart(FwdState *);
SBuf httpMakeVaryMark(HttpRequest * request, HttpReply const * reply);
-#endif /* SQUID_HTTP_H */
+#endif /* SQUID_SRC_HTTP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_HTTP_CONTENTLENGTH_INTERPRETER_H
-#define SQUID_SRC_HTTP_CONTENTLENGTH_INTERPRETER_H
+#ifndef SQUID_SRC_HTTP_CONTENTLENGTHINTERPRETER_H
+#define SQUID_SRC_HTTP_CONTENTLENGTHINTERPRETER_H
#include "http/StatusCode.h"
} // namespace Http
-#endif /* SQUID_SRC_HTTP_CONTENTLENGTH_INTERPRETER_H */
+#endif /* SQUID_SRC_HTTP_CONTENTLENGTHINTERPRETER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTP_MESSAGE_H
-#define SQUID_HTTP_MESSAGE_H
+#ifndef SQUID_SRC_HTTP_MESSAGE_H
+#define SQUID_SRC_HTTP_MESSAGE_H
#include "base/Lock.h"
#include "BodyPipe.h"
a->lock();
}
-#endif /* SQUID_HTTPMSG_H */
+#endif /* SQUID_SRC_HTTP_MESSAGE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTP_PROTOCOLVERSION_H
-#define SQUID_HTTP_PROTOCOLVERSION_H
+#ifndef SQUID_SRC_HTTP_PROTOCOLVERSION_H
+#define SQUID_SRC_HTTP_PROTOCOLVERSION_H
#include "anyp/ProtocolVersion.h"
}; // namespace Http
-#endif /* SQUID_HTTP_PROTOCOLVERSION_H */
+#endif /* SQUID_SRC_HTTP_PROTOCOLVERSION_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTP_REGISTEREDHEADERS_H
-#define SQUID_HTTP_REGISTEREDHEADERS_H
+#ifndef SQUID_SRC_HTTP_REGISTEREDHEADERS_H
+#define SQUID_SRC_HTTP_REGISTEREDHEADERS_H
#include "base/LookupTable.h"
}; /* namespace Http */
-#endif /* SQUID_HTTP_REGISTEREDHEADERS_H */
+#endif /* SQUID_SRC_HTTP_REGISTEREDHEADERS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTPREQUESTMETHOD_H
-#define SQUID_HTTPREQUESTMETHOD_H
+#ifndef SQUID_SRC_HTTP_REQUESTMETHOD_H
+#define SQUID_SRC_HTTP_REQUESTMETHOD_H
#include "http/forward.h"
#include "http/MethodType.h"
return os;
}
-#endif /* SQUID_HTTPREQUESTMETHOD_H */
+#endif /* SQUID_SRC_HTTP_REQUESTMETHOD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_HTTP_STATUSCODE_H
-#define _SQUID_SRC_HTTP_STATUSCODE_H
+#ifndef SQUID_SRC_HTTP_STATUSCODE_H
+#define SQUID_SRC_HTTP_STATUSCODE_H
namespace Http
{
} // namespace Http
-#endif /* _SQUID_SRC_HTTP_STATUSCODE_H */
+#endif /* SQUID_SRC_HTTP_STATUSCODE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_HTTP_STATUSLINE_H
-#define SQUID_HTTP_STATUSLINE_H
+#ifndef SQUID_SRC_HTTP_STATUSLINE_H
+#define SQUID_SRC_HTTP_STATUSLINE_H
#include "http/ProtocolVersion.h"
#include "http/StatusCode.h"
} // namespace Http
-#endif /* SQUID_HTTP_STATUSLINE_H */
+#endif /* SQUID_SRC_HTTP_STATUSLINE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_HTTP_ONE_PARSER_H
-#define _SQUID_SRC_HTTP_ONE_PARSER_H
+#ifndef SQUID_SRC_HTTP_ONE_PARSER_H
+#define SQUID_SRC_HTTP_ONE_PARSER_H
#include "anyp/ProtocolVersion.h"
#include "http/one/forward.h"
} // namespace One
} // namespace Http
-#endif /* _SQUID_SRC_HTTP_ONE_PARSER_H */
+#endif /* SQUID_SRC_HTTP_ONE_PARSER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_HTTP_ONE_REQUESTPARSER_H
-#define _SQUID_SRC_HTTP_ONE_REQUESTPARSER_H
+#ifndef SQUID_SRC_HTTP_ONE_REQUESTPARSER_H
+#define SQUID_SRC_HTTP_ONE_REQUESTPARSER_H
#include "http/one/Parser.h"
#include "http/RequestMethod.h"
} // namespace One
} // namespace Http
-#endif /* _SQUID_SRC_HTTP_ONE_REQUESTPARSER_H */
+#endif /* SQUID_SRC_HTTP_ONE_REQUESTPARSER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_HTTP_ONE_RESPONSEPARSER_H
-#define _SQUID_SRC_HTTP_ONE_RESPONSEPARSER_H
+#ifndef SQUID_SRC_HTTP_ONE_RESPONSEPARSER_H
+#define SQUID_SRC_HTTP_ONE_RESPONSEPARSER_H
#include "http/one/Parser.h"
#include "http/StatusCode.h"
} // namespace One
} // namespace Http
-#endif /* _SQUID_SRC_HTTP_ONE_RESPONSEPARSER_H */
+#endif /* SQUID_SRC_HTTP_ONE_RESPONSEPARSER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_HTTP_ONE_TeChunkedParser_H
-#define SQUID_SRC_HTTP_ONE_TeChunkedParser_H
+#ifndef SQUID_SRC_HTTP_ONE_TECHUNKEDPARSER_H
+#define SQUID_SRC_HTTP_ONE_TECHUNKEDPARSER_H
#include "http/one/Parser.h"
} // namespace One
} // namespace Http
-#endif /* SQUID_SRC_HTTP_ONE_TeChunkedParser_H */
+#endif /* SQUID_SRC_HTTP_ONE_TECHUNKEDPARSER_H */
/* DEBUG: section 37 ICMP Routines */
-#ifndef _INCLUDE_ICMP_H
-#define _INCLUDE_ICMP_H
+#ifndef SQUID_SRC_ICMP_ICMP_H
+#define SQUID_SRC_ICMP_ICMP_H
#include "ip/Address.h"
#endif /* USE_ICMP */
};
-#endif
+#endif /* SQUID_SRC_ICMP_ICMP_H */
/* DEBUG: section 37 ICMP Routines */
-#ifndef _INCLUDE_ICMPV4_H
-#define _INCLUDE_ICMPV4_H
+#ifndef SQUID_SRC_ICMP_ICMP4_H
+#define SQUID_SRC_ICMP_ICMP4_H
#include "Icmp.h"
#endif /* USE_ICMP && SQUID_HELPER */
-#endif
+#endif /* SQUID_SRC_ICMP_ICMP4_H */
/* DEBUG: section 37 ICMP Routines */
-#ifndef _INCLUDE_ICMPV6_H
-#define _INCLUDE_ICMPV6_H
+#ifndef SQUID_SRC_ICMP_ICMP6_H
+#define SQUID_SRC_ICMP_ICMP6_H
#include "Icmp.h"
extern Icmp6 icmp6;
#endif /* USE_ICMP && SQUID_HELPER */
-#endif /* _INCLUDE_ICMPV6_H */
+#endif /* SQUID_SRC_ICMP_ICMP6_H */
/* DEBUG: section 03 Configuration Settings */
-#ifndef ICMPCONFIG_H
-#define ICMPCONFIG_H
+#ifndef SQUID_SRC_ICMP_ICMPCONFIG_H
+#define SQUID_SRC_ICMP_ICMPCONFIG_H
#if USE_ICMP
#define free_icmp(x) (x)->clear()
#endif /* USE_ICMP */
-#endif /* ICMPCONFIG_H */
+#endif /* SQUID_SRC_ICMP_ICMPCONFIG_H */
/* DEBUG: section 37 ICMP Routines */
-#ifndef _INCLUDE_ICMPPINGER_H
-#define _INCLUDE_ICMPPINGER_H
+#ifndef SQUID_SRC_ICMP_ICMPPINGER_H
+#define SQUID_SRC_ICMP_ICMPPINGER_H
#include "Icmp.h"
/**
#endif
-#endif
+#endif /* SQUID_SRC_ICMP_ICMPPINGER_H */
/* DEBUG: section 37 ICMP Routines */
-#ifndef _INCLUDE_ICMPSQUID_H
-#define _INCLUDE_ICMPSQUID_H
+#ifndef SQUID_SRC_ICMP_ICMPSQUID_H
+#define SQUID_SRC_ICMP_ICMPSQUID_H
#include "Icmp.h"
// global engine within squid.
extern IcmpSquid icmpEngine;
-#endif /* _INCLUDE_ICMPSQUID_H */
+#endif /* SQUID_SRC_ICMP_ICMPSQUID_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef ICMP_NET_DB_H
-#define ICMP_NET_DB_H
+#ifndef SQUID_SRC_ICMP_NET_DB_H
+#define SQUID_SRC_ICMP_NET_DB_H
#include "anyp/forward.h"
#include "hash.h"
CachePeer *netdbClosestParent(PeerSelector *);
void netdbHostData(const char *host, int *samp, int *rtt, int *hops);
-#endif /* ICMP_NET_DB_H */
+#endif /* SQUID_SRC_ICMP_NET_DB_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_ICP_OPCODE_H
-#define _SQUID_ICP_OPCODE_H
+#ifndef SQUID_SRC_ICP_OPCODE_H
+#define SQUID_SRC_ICP_OPCODE_H
/// \ingroup ServerProtocolICPAPI
enum icp_opcode {
extern const char *icp_opcode_str[];
-#endif /* _SQUID_ICP_OPCODE_H */
+#endif /* SQUID_SRC_ICP_OPCODE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IDENT_ACLIDENT_H
-#define SQUID_IDENT_ACLIDENT_H
+#ifndef SQUID_SRC_IDENT_ACLIDENT_H
+#define SQUID_SRC_IDENT_ACLIDENT_H
#if USE_IDENT
};
#endif /* USE_IDENT */
-#endif /* SQUID_IDENT_ACLIDENT_H */
+#endif /* SQUID_SRC_IDENT_ACLIDENT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IDENT_CONFIG_H
-#define SQUID_IDENT_CONFIG_H
+#ifndef SQUID_SRC_IDENT_CONFIG_H
+#define SQUID_SRC_IDENT_CONFIG_H
#if USE_IDENT
} // namespace Ident
#endif /* USE_IDENT */
-#endif /* SQUID_IDENT_CONFIG_H */
+#endif /* SQUID_SRC_IDENT_CONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IDENT_H
-#define SQUID_IDENT_H
+#ifndef SQUID_SRC_IDENT_IDENT_H
+#define SQUID_SRC_IDENT_IDENT_H
#if USE_IDENT
} // namespace Ident
#endif /* USE_IDENT */
-#endif /* SQUID_IDENT_H */
+#endif /* SQUID_SRC_IDENT_IDENT_H */
/* DEBUG: section 21 Integer functions */
-#ifndef SQUID_INT_H_
-#define SQUID_INT_H_
+#ifndef SQUID_SRC_INT_H
+#define SQUID_SRC_INT_H
int isPowTen(int); //int.cc
-#endif /* SQUID_INT_H_ */
+#endif /* SQUID_SRC_INT_H */
* AUTHOR: Duane, Alex, Henrik
*/
-#ifndef SQUID_INTERNAL_H_
-#define SQUID_INTERNAL_H_
+#ifndef SQUID_SRC_INTERNAL_H
+#define SQUID_SRC_INTERNAL_H
#include "comm/forward.h"
#include "log/forward.h"
/// necessarily running on this Squid instance)
bool ForSomeCacheManager(const SBuf &);
-#endif /* SQUID_INTERNAL_H_ */
+#endif /* SQUID_SRC_INTERNAL_H */
/* DEBUG: section 14 IP Storage and Handling */
-#ifndef _SQUID_SRC_IP_ADDRESS_H
-#define _SQUID_SRC_IP_ADDRESS_H
+#ifndef SQUID_SRC_IP_ADDRESS_H
+#define SQUID_SRC_IP_ADDRESS_H
#include "ip/forward.h"
void parse_IpAddress_list_token(Ip::Address_list **, char *);
-#endif /* _SQUID_SRC_IP_ADDRESS_H */
+#endif /* SQUID_SRC_IP_ADDRESS_H */
/* DEBUG: section 89 NAT / IP Interception */
-#ifndef SQUID_IP_IPINTERCEPT_H
-#define SQUID_IP_IPINTERCEPT_H
+#ifndef SQUID_SRC_IP_INTERCEPT_H
+#define SQUID_SRC_IP_INTERCEPT_H
#include "comm/forward.h"
} // namespace Ip
-#endif /* SQUID_IP_IPINTERCEPT_H */
+#endif /* SQUID_SRC_IP_INTERCEPT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_NFMARKCONFIG_H
-#define SQUID_NFMARKCONFIG_H
+#ifndef SQUID_SRC_IP_NFMARKCONFIG_H
+#define SQUID_SRC_IP_NFMARKCONFIG_H
#include "ip/forward.h"
} // namespace Ip
-#endif // SQUID_NFMARKCONFIG_H
+#endif /* SQUID_SRC_IP_NFMARKCONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_QOSCONFIG_H
-#define SQUID_QOSCONFIG_H
+#ifndef SQUID_SRC_IP_QOSCONFIG_H
+#define SQUID_SRC_IP_QOSCONFIG_H
#include "acl/forward.h"
#include "cbdata.h"
inline void free_QosConfig(Ip::Qos::Config *) {}
void dump_QosConfig(StoreEntry *, const char * directiveName, const Ip::Qos::Config &);
-#endif /* SQUID_QOSCONFIG_H */
+#endif /* SQUID_SRC_IP_QOSCONFIG_H */
/* DEBUG: section 14 IP Storage and Handling */
-#ifndef _SQUID_IP_FORWARD_H
-#define _SQUID_IP_FORWARD_H
+#ifndef SQUID_SRC_IP_FORWARD_H
+#define SQUID_SRC_IP_FORWARD_H
// Forward-declare Ip classes needed by reference in other parts of the code
// for passing objects around without actually touching them
typedef uint32_t nfmark_t;
typedef unsigned char tos_t;
-#endif /* _SQUID_IP_FORWARD_H */
+#endif /* SQUID_SRC_IP_FORWARD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_IP_TOOLS_H
-#define _SQUID_SRC_IP_TOOLS_H
+#ifndef SQUID_SRC_IP_TOOLS_H
+#define SQUID_SRC_IP_TOOLS_H
namespace Ip
{
} // namespace Ip
-#endif /* _SQUID_SRC_IP_TOOLS_H */
+#endif /* SQUID_SRC_IP_TOOLS_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_COORDINATOR_H
-#define SQUID_IPC_COORDINATOR_H
+#ifndef SQUID_SRC_IPC_COORDINATOR_H
+#define SQUID_SRC_IPC_COORDINATOR_H
#include "ipc/Messages.h"
#include "ipc/Port.h"
} // namespace Ipc
-#endif /* SQUID_IPC_COORDINATOR_H */
+#endif /* SQUID_SRC_IPC_COORDINATOR_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_FD_NOTES_H
-#define SQUID_IPC_FD_NOTES_H
+#ifndef SQUID_SRC_IPC_FDNOTES_H
+#define SQUID_SRC_IPC_FDNOTES_H
namespace Ipc
{
} // namespace Ipc;
-#endif /* SQUID_IPC_FD_NOTES_H */
+#endif /* SQUID_SRC_IPC_FDNOTES_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_FORWARDER_H
-#define SQUID_IPC_FORWARDER_H
+#ifndef SQUID_SRC_IPC_FORWARDER_H
+#define SQUID_SRC_IPC_FORWARDER_H
#include "base/AsyncJob.h"
#include "base/forward.h"
} // namespace Ipc
-#endif /* SQUID_IPC_FORWARDER_H */
+#endif /* SQUID_SRC_IPC_FORWARDER_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_INQUIRER_H
-#define SQUID_IPC_INQUIRER_H
+#ifndef SQUID_SRC_IPC_INQUIRER_H
+#define SQUID_SRC_IPC_INQUIRER_H
#include "base/AsyncJob.h"
#include "base/AsyncJobCalls.h"
} // namespace Ipc
-#endif /* SQUID_IPC_INQUIRER_H */
+#endif /* SQUID_SRC_IPC_INQUIRER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_KID_H
-#define SQUID_IPC_KID_H
+#ifndef SQUID_SRC_IPC_KID_H
+#define SQUID_SRC_IPC_KID_H
#include "SquidString.h"
#include "tools.h"
/// ProcessKind for the current process
extern int TheProcessKind;
-#endif /* SQUID_IPC_KID_H */
+#endif /* SQUID_SRC_IPC_KID_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_KIDS_H
-#define SQUID_IPC_KIDS_H
+#ifndef SQUID_SRC_IPC_KIDS_H
+#define SQUID_SRC_IPC_KIDS_H
#include "ipc/Kid.h"
extern SBuf TheKidName; ///< current Squid process name (e.g., "squid-coord")
-#endif /* SQUID_IPC_KIDS_H */
+#endif /* SQUID_SRC_IPC_KIDS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_STORE_MAP_H
-#define SQUID_IPC_STORE_MAP_H
+#ifndef SQUID_SRC_IPC_MEMMAP_H
+#define SQUID_SRC_IPC_MEMMAP_H
#include "debug/Stream.h"
#include "ipc/mem/FlexibleArray.h"
} // namespace Ipc
-#endif /* SQUID_IPC_STORE_MAP_H */
+#endif /* SQUID_SRC_IPC_MEMMAP_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_MESSAGES_H
-#define SQUID_IPC_MESSAGES_H
+#ifndef SQUID_SRC_IPC_MESSAGES_H
+#define SQUID_SRC_IPC_MESSAGES_H
/** Declarations used by various IPC messages */
} // namespace Ipc;
-#endif /* SQUID_IPC_MESSAGES_H */
+#endif /* SQUID_SRC_IPC_MESSAGES_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_PORT_H
-#define SQUID_IPC_PORT_H
+#ifndef SQUID_SRC_IPC_PORT_H
+#define SQUID_SRC_IPC_PORT_H
#include "ipc/UdsOp.h"
#include "SquidString.h"
} // namespace Ipc
-#endif /* SQUID_IPC_PORT_H */
+#endif /* SQUID_SRC_IPC_PORT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_QUEUE_H
-#define SQUID_IPC_QUEUE_H
+#ifndef SQUID_SRC_IPC_QUEUE_H
+#define SQUID_SRC_IPC_QUEUE_H
#include "base/InstanceId.h"
#include "debug/Stream.h"
} // namespace Ipc
-#endif // SQUID_IPC_QUEUE_H
+#endif /* SQUID_SRC_IPC_QUEUE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_READ_WRITE_LOCK_H
-#define SQUID_IPC_READ_WRITE_LOCK_H
+#ifndef SQUID_SRC_IPC_READWRITELOCK_H
+#define SQUID_SRC_IPC_READWRITELOCK_H
#include <atomic>
#include <iosfwd>
} // namespace Ipc
-#endif /* SQUID_IPC_READ_WRITE_LOCK_H */
+#endif /* SQUID_SRC_IPC_READWRITELOCK_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_REQUEST_H
-#define SQUID_IPC_REQUEST_H
+#ifndef SQUID_SRC_IPC_REQUEST_H
+#define SQUID_SRC_IPC_REQUEST_H
#include "base/RefCount.h"
#include "base/TypeTraits.h"
} // namespace Ipc
-#endif /* SQUID_IPC_REQUEST_H */
+#endif /* SQUID_SRC_IPC_REQUEST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_REQUESTID_H
-#define SQUID_IPC_REQUESTID_H
+#ifndef SQUID_SRC_IPC_REQUESTID_H
+#define SQUID_SRC_IPC_REQUESTID_H
#include "ipc/forward.h"
#include "ipc/QuestionerId.h"
} // namespace Ipc;
-#endif /* SQUID_IPC_REQUESTID_H */
+#endif /* SQUID_SRC_IPC_REQUESTID_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_RESPONSE_H
-#define SQUID_IPC_RESPONSE_H
+#ifndef SQUID_SRC_IPC_RESPONSE_H
+#define SQUID_SRC_IPC_RESPONSE_H
#include "base/RefCount.h"
#include "base/TypeTraits.h"
} // namespace Ipc
-#endif /* SQUID_IPC_RESPONSE_H */
+#endif /* SQUID_SRC_IPC_RESPONSE_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_SHARED_LISTEN_H
-#define SQUID_IPC_SHARED_LISTEN_H
+#ifndef SQUID_SRC_IPC_SHAREDLISTEN_H
+#define SQUID_SRC_IPC_SHAREDLISTEN_H
#include "base/AsyncCall.h"
#include "base/Subscription.h"
} // namespace Ipc;
-#endif /* SQUID_IPC_SHARED_LISTEN_H */
+#endif /* SQUID_SRC_IPC_SHAREDLISTEN_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_START_LISTENING_H
-#define SQUID_IPC_START_LISTENING_H
+#ifndef SQUID_SRC_IPC_STARTLISTENING_H
+#define SQUID_SRC_IPC_STARTLISTENING_H
#include "base/AsyncCall.h"
#include "base/forward.h"
} // namespace Ipc;
-#endif /* SQUID_IPC_START_LISTENING_H */
+#endif /* SQUID_SRC_IPC_STARTLISTENING_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_STORE_MAP_H
-#define SQUID_IPC_STORE_MAP_H
+#ifndef SQUID_SRC_IPC_STOREMAP_H
+#define SQUID_SRC_IPC_STOREMAP_H
#include "ipc/mem/FlexibleArray.h"
#include "ipc/mem/Pointer.h"
// We do not reuse FileMap because we cannot control its size,
// resulting in sfilenos that are pointing beyond the database.
-#endif /* SQUID_IPC_STORE_MAP_H */
+#endif /* SQUID_SRC_IPC_STOREMAP_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_STRAND_H
-#define SQUID_IPC_STRAND_H
+#ifndef SQUID_SRC_IPC_STRAND_H
+#define SQUID_SRC_IPC_STRAND_H
#include "ipc/forward.h"
#include "ipc/Port.h"
}
-#endif /* SQUID_IPC_STRAND_H */
+#endif /* SQUID_SRC_IPC_STRAND_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_STRAND_COORD_H
-#define SQUID_IPC_STRAND_COORD_H
+#ifndef SQUID_SRC_IPC_STRANDCOORD_H
+#define SQUID_SRC_IPC_STRANDCOORD_H
#include "ipc/forward.h"
#include "ipc/Messages.h"
} // namespace Ipc;
-#endif /* SQUID_IPC_STRAND_COORD_H */
+#endif /* SQUID_SRC_IPC_STRANDCOORD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_STRAND_COORDS_H
-#define SQUID_IPC_STRAND_COORDS_H
+#ifndef SQUID_SRC_IPC_STRANDCOORDS_H
+#define SQUID_SRC_IPC_STRANDCOORDS_H
#include "ipc/StrandCoord.h"
#include <vector>
} // namespace Ipc
-#endif /* SQUID_IPC_STRAND_COORDS_H */
+#endif /* SQUID_SRC_IPC_STRANDCOORDS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_STRAND_SEARCH_H
-#define SQUID_IPC_STRAND_SEARCH_H
+#ifndef SQUID_SRC_IPC_STRANDSEARCH_H
+#define SQUID_SRC_IPC_STRANDSEARCH_H
#include "ipc/forward.h"
#include "ipc/QuestionerId.h"
} // namespace Ipc;
-#endif /* SQUID_IPC_STRAND_SEARCH_H */
+#endif /* SQUID_SRC_IPC_STRANDSEARCH_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_TYPED_MSG_HDR_H
-#define SQUID_IPC_TYPED_MSG_HDR_H
+#ifndef SQUID_SRC_IPC_TYPEDMSGHDR_H
+#define SQUID_SRC_IPC_TYPEDMSGHDR_H
#include "compat/cmsg.h"
#include "ipc/Messages.h"
putFixed(&pod, sizeof(pod));
}
-#endif /* SQUID_IPC_TYPED_MSG_HDR_H */
+#endif /* SQUID_SRC_IPC_TYPEDMSGHDR_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_ASYNCUDSOP_H
-#define SQUID_IPC_ASYNCUDSOP_H
+#ifndef SQUID_SRC_IPC_UDSOP_H
+#define SQUID_SRC_IPC_UDSOP_H
#include "base/AsyncJob.h"
#include "base/forward.h"
}
-#endif /* SQUID_IPC_ASYNCUDSOP_H */
+#endif /* SQUID_SRC_IPC_UDSOP_H */
/* DEBUG: section 54 Interprocess Communication */
-#ifndef SQUID_IPC_FORWARD_H
-#define SQUID_IPC_FORWARD_H
+#ifndef SQUID_SRC_IPC_FORWARD_H
+#define SQUID_SRC_IPC_FORWARD_H
namespace Ipc
{
} // namespace Ipc
-#endif /* SQUID_IPC_FORWARD_H */
+#endif /* SQUID_SRC_IPC_FORWARD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_MEM_FLEXIBLE_ARRAY_H
-#define SQUID_IPC_MEM_FLEXIBLE_ARRAY_H
+#ifndef SQUID_SRC_IPC_MEM_FLEXIBLEARRAY_H
+#define SQUID_SRC_IPC_MEM_FLEXIBLEARRAY_H
#include <cstddef>
#include <new>
} // namespace Ipc
-#endif /* SQUID_IPC_MEM_FLEXIBLE_ARRAY_H */
+#endif /* SQUID_SRC_IPC_MEM_FLEXIBLEARRAY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_MEM_PAGE_H
-#define SQUID_IPC_MEM_PAGE_H
+#ifndef SQUID_SRC_IPC_MEM_PAGE_H
+#define SQUID_SRC_IPC_MEM_PAGE_H
#include "ipc/mem/forward.h"
} // namespace Ipc
-#endif // SQUID_IPC_MEM_PAGE_H
+#endif /* SQUID_SRC_IPC_MEM_PAGE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_MEM_PAGE_POOL_H
-#define SQUID_IPC_MEM_PAGE_POOL_H
+#ifndef SQUID_SRC_IPC_MEM_PAGEPOOL_H
+#define SQUID_SRC_IPC_MEM_PAGEPOOL_H
#include "ipc/mem/Page.h"
#include "ipc/mem/PageStack.h"
} // namespace Ipc
-#endif // SQUID_IPC_MEM_PAGE_POOL_H
+#endif /* SQUID_SRC_IPC_MEM_PAGEPOOL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_MEM_PAGE_STACK_H
-#define SQUID_IPC_MEM_PAGE_STACK_H
+#ifndef SQUID_SRC_IPC_MEM_PAGESTACK_H
+#define SQUID_SRC_IPC_MEM_PAGESTACK_H
#include "ipc/mem/FlexibleArray.h"
#include "ipc/mem/forward.h"
} // namespace Ipc
-#endif // SQUID_IPC_MEM_PAGE_STACK_H
+#endif /* SQUID_SRC_IPC_MEM_PAGESTACK_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_MEM_PAGES_H
-#define SQUID_IPC_MEM_PAGES_H
+#ifndef SQUID_SRC_IPC_MEM_PAGES_H
+#define SQUID_SRC_IPC_MEM_PAGES_H
#include "ipc/mem/Page.h"
} // namespace Ipc
-#endif // SQUID_IPC_MEM_PAGES_H
+#endif /* SQUID_SRC_IPC_MEM_PAGES_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_MEM_POINTER_H
-#define SQUID_IPC_MEM_POINTER_H
+#ifndef SQUID_SRC_IPC_MEM_POINTER_H
+#define SQUID_SRC_IPC_MEM_POINTER_H
#include "base/RefCount.h"
#include "base/TextException.h"
} // namespace Ipc
-#endif /* SQUID_IPC_MEM_POINTER_H */
+#endif /* SQUID_SRC_IPC_MEM_POINTER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_MEM_SEGMENT_H
-#define SQUID_IPC_MEM_SEGMENT_H
+#ifndef SQUID_SRC_IPC_MEM_SEGMENT_H
+#define SQUID_SRC_IPC_MEM_SEGMENT_H
#include "base/RunnersRegistry.h"
#include "sbuf/forward.h"
} // namespace Ipc
-#endif /* SQUID_IPC_MEM_SEGMENT_H */
+#endif /* SQUID_SRC_IPC_MEM_SEGMENT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_IPC_MEM_FORWARD_H
-#define SQUID_IPC_MEM_FORWARD_H
+#ifndef SQUID_SRC_IPC_MEM_FORWARD_H
+#define SQUID_SRC_IPC_MEM_FORWARD_H
namespace Ipc
{
} // namespace Ipc
-#endif /* SQUID_IPC_MEM_FORWARD_H */
+#endif /* SQUID_SRC_IPC_MEM_FORWARD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_IPCACHE_H
-#define _SQUID_IPCACHE_H
+#ifndef SQUID_SRC_IPCACHE_H
+#define SQUID_SRC_IPCACHE_H
#include "base/CbcPointer.h"
#include "dns/forward.h"
return IpsSelector<IpsIterator>(*this);
}
-#endif /* _SQUID_IPCACHE_H */
+#endif /* SQUID_SRC_IPCACHE_H */
#define free_logformat(X) do{ delete (*X).logformats; (*X).logformats=NULL; }while(false)
#define dump_logformat(E,N,D) (D).dumpFormats((E),(N))
-#endif
+#endif /* SQUID_SRC_LOG_CONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_CUSTOMLOG_H_
-#define SQUID_CUSTOMLOG_H_
+#ifndef SQUID_SRC_LOG_CUSTOMLOG_H
+#define SQUID_SRC_LOG_CUSTOMLOG_H
#include "log/FormattedLog.h"
CustomLog *next = nullptr;
};
-#endif /* SQUID_CUSTOMLOG_H_ */
+#endif /* SQUID_SRC_LOG_CUSTOMLOG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_LOG_FORMATS_H
-#define _SQUID_LOG_FORMATS_H
+#ifndef SQUID_SRC_LOG_FORMATS_H
+#define SQUID_SRC_LOG_FORMATS_H
#include "AccessLogEntry.h"
#include "base/RefCount.h"
}; // namespace Format
}; // namespace Log
-#endif /* _SQUID_LOG_FORMATS_H */
+#endif /* SQUID_SRC_LOG_FORMATS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_LOG_FORMATTEDLOG_H_
-#define SQUID_LOG_FORMATTEDLOG_H_
+#ifndef SQUID_SRC_LOG_FORMATTEDLOG_H
+#define SQUID_SRC_LOG_FORMATTEDLOG_H
#include "acl/forward.h"
#include "log/Formats.h"
bool fatal = true;
};
-#endif /* SQUID_LOG_FORMATTEDLOG_H_ */
+#endif /* SQUID_SRC_LOG_FORMATTEDLOG_H */
/* DEBUG: section 50 Log file handling */
-#ifndef _SQUID_SRC_LOG_MODDAEMON_H
-#define _SQUID_SRC_LOG_MODDAEMON_H
+#ifndef SQUID_SRC_LOG_MODDAEMON_H
+#define SQUID_SRC_LOG_MODDAEMON_H
class Logfile;
int logfile_mod_daemon_open(Logfile * lf, const char *path, size_t bufsz, int fatal_flag);
-#endif /* _SQUID_SRC_LOG_MODDAEMON_H */
+#endif /* SQUID_SRC_LOG_MODDAEMON_H */
/* DEBUG: section 50 Log file handling */
-#ifndef _SQUID_SRC_LOG_MODSTDIO_H
-#define _SQUID_SRC_LOG_MODSTDIO_H
+#ifndef SQUID_SRC_LOG_MODSTDIO_H
+#define SQUID_SRC_LOG_MODSTDIO_H
class Logfile;
int logfile_mod_stdio_open(Logfile * lf, const char *path, size_t bufsz, int fatal_flag);
-#endif /* _SQUID_SRC_LOG_MODSTDIO_H */
+#endif /* SQUID_SRC_LOG_MODSTDIO_H */
/* DEBUG: section 50 Log file handling */
-#ifndef _SQUID_SRC_LOG_MODSYSLOG_H
-#define _SQUID_SRC_LOG_MODSYSLOG_H
+#ifndef SQUID_SRC_LOG_MODSYSLOG_H
+#define SQUID_SRC_LOG_MODSYSLOG_H
class Logfile;
int logfile_mod_syslog_open(Logfile * lf, const char *path, size_t bufsz, int fatal_flag);
-#endif /* _SQUID_SRC_LOG_MODSYSLOG_H */
+#endif /* SQUID_SRC_LOG_MODSYSLOG_H */
/* DEBUG: section 50 Log file handling */
-#ifndef _SQUID_SRC_LOG_MODUDP_H
-#define _SQUID_SRC_LOG_MODUDP_H
+#ifndef SQUID_SRC_LOG_MODUDP_H
+#define SQUID_SRC_LOG_MODUDP_H
class Logfile;
int logfile_mod_udp_open(Logfile * lf, const char *path, size_t bufsz, int fatal_flag);
-#endif /* _SQUID_SRC_LOG_MODUDP_H */
+#endif /* SQUID_SRC_LOG_MODUDP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_LOG_TCPLOGGER_H
-#define _SQUID_SRC_LOG_TCPLOGGER_H
+#ifndef SQUID_SRC_LOG_TCPLOGGER_H
+#define SQUID_SRC_LOG_TCPLOGGER_H
#include "base/AsyncJob.h"
#include "base/JobWait.h"
} // namespace Log
-#endif /* _SQUID_SRC_LOG_TCPLOGGER_H */
+#endif /* SQUID_SRC_LOG_TCPLOGGER_H */
/* DEBUG: section 46 Access Log */
-#ifndef SQUID_LOG_ACCESS_LOG_H_
-#define SQUID_LOG_ACCESS_LOG_H_
+#ifndef SQUID_SRC_LOG_ACCESS_LOG_H
+#define SQUID_SRC_LOG_ACCESS_LOG_H
#include "LogTags.h"
#include "sbuf/forward.h"
/// count occurrences of the given X-Forwarded-For header value
void fvdbCountForwarded(const SBuf &);
-#endif /* SQUID_LOG_ACCESS_LOG_H_ */
+#endif /* SQUID_SRC_LOG_ACCESS_LOG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_FORMAT_FORWARD_H
-#define SQUID_FORMAT_FORWARD_H
+#ifndef SQUID_SRC_LOG_FORWARD_H
+#define SQUID_SRC_LOG_FORWARD_H
#include "base/RefCount.h"
class LogTags;
class LogTagsErrors;
-#endif /* SQUID_FORMAT_FORWARD_H */
+#endif /* SQUID_SRC_LOG_FORWARD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_LOOKUP_T_H
-#define _SQUID_LOOKUP_T_H
+#ifndef SQUID_SRC_LOOKUP_T_H
+#define SQUID_SRC_LOOKUP_T_H
typedef enum {
LOOKUP_NONE,
extern const char *lookup_t_str[];
-#endif /* _SQUID_LOOKUP_T_H */
+#endif /* SQUID_SRC_LOOKUP_T_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_MEM_ALLOCATORPROXY_H
-#define _SQUID_SRC_MEM_ALLOCATORPROXY_H
+#ifndef SQUID_SRC_MEM_ALLOCATORPROXY_H
+#define SQUID_SRC_MEM_ALLOCATORPROXY_H
// XXX: remove AllocatorProxy.h include from mem/forward.h
namespace Mem {
} // namespace Mem
-#endif /* _SQUID_SRC_MEM_ALLOCATORPROXY_H */
+#endif /* SQUID_SRC_MEM_ALLOCATORPROXY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _MEM_POOL_H_
-#define _MEM_POOL_H_
+#ifndef SQUID_SRC_MEM_POOL_H
+#define SQUID_SRC_MEM_POOL_H
/**
\defgroup MemPoolsAPI Memory Management (Memory Pool Allocator)
/// Creates a named MemPool of elements with the given size
#define memPoolCreate MemPools::GetInstance().create
-#endif /* _MEM_POOL_H_ */
+#endif /* SQUID_SRC_MEM_POOL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _MEM_POOL_CHUNKED_H_
-#define _MEM_POOL_CHUNKED_H_
+#ifndef SQUID_SRC_MEM_POOLCHUNKED_H
+#define SQUID_SRC_MEM_POOLCHUNKED_H
#include "mem/Allocator.h"
#include "splay.h"
MemPoolChunked *pool;
};
-#endif /* _MEM_POOL_CHUNKED_H_ */
+#endif /* SQUID_SRC_MEM_POOLCHUNKED_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _MEM_POOL_MALLOC_H_
-#define _MEM_POOL_MALLOC_H_
+#ifndef SQUID_SRC_MEM_POOLMALLOC_H
+#define SQUID_SRC_MEM_POOLMALLOC_H
/**
\defgroup MemPoolsAPI Memory Management (Memory Pool Allocator)
std::stack<void *> freelist;
};
-#endif /* _MEM_POOL_MALLOC_H_ */
+#endif /* SQUID_SRC_MEM_POOLMALLOC_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_MEM_POOLINGALLOCATOR_H
-#define SQUID_MEM_POOLINGALLOCATOR_H
+#ifndef SQUID_SRC_MEM_POOLINGALLOCATOR_H
+#define SQUID_SRC_MEM_POOLINGALLOCATOR_H
#include "mem/forward.h"
return !(l == r);
}
-#endif /* SQUID_MEM_POOLINGALLOCATOR_H */
+#endif /* SQUID_SRC_MEM_POOLINGALLOCATOR_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID__SRC_MEM_STATS_H
-#define SQUID__SRC_MEM_STATS_H
+#ifndef SQUID_SRC_MEM_STATS_H
+#define SQUID_SRC_MEM_STATS_H
#include "mem/forward.h"
} // namespace Mem
-#endif /* SQUID__SRC_MEM_STATS_H */
+#endif /* SQUID_SRC_MEM_STATS_H */
/* DEBUG: section 13 High Level Memory Pool Management */
-#ifndef _SQUID_SRC_MEM_FORWARD_H
-#define _SQUID_SRC_MEM_FORWARD_H
+#ifndef SQUID_SRC_MEM_FORWARD_H
+#define SQUID_SRC_MEM_FORWARD_H
#include "mem/AllocatorProxy.h"
FREE *memFreeBufFunc(size_t size);
int memInUse(mem_type);
-#endif /* _SQUID_SRC_MEM_FORWARD_H */
+#endif /* SQUID_SRC_MEM_FORWARD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_MEM_NODE_H
-#define SQUID_MEM_NODE_H
+#ifndef SQUID_SRC_MEM_NODE_H
+#define SQUID_SRC_MEM_NODE_H
#include "base/Range.h"
#include "defines.h"
void memNodeWriteComplete(void *);
-#endif /* SQUID_MEM_NODE_H */
+#endif /* SQUID_SRC_MEM_NODE_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_ACTION_H
-#define SQUID_MGR_ACTION_H
+#ifndef SQUID_SRC_MGR_ACTION_H
+#define SQUID_SRC_MGR_ACTION_H
#include "ipc/forward.h"
#include "mgr/forward.h"
} // namespace Mgr
-#endif /* SQUID_MGR_ACTION_H */
+#endif /* SQUID_SRC_MGR_ACTION_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_ACTION_CREATOR_H
-#define SQUID_MGR_ACTION_CREATOR_H
+#ifndef SQUID_SRC_MGR_ACTIONCREATOR_H
+#define SQUID_SRC_MGR_ACTIONCREATOR_H
#include "mgr/forward.h"
} // namespace Mgr
-#endif /* SQUID_MGR_ACTION_CREATOR_H */
+#endif /* SQUID_SRC_MGR_ACTIONCREATOR_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_ACTION_PARAMS_H
-#define SQUID_MGR_ACTION_PARAMS_H
+#ifndef SQUID_SRC_MGR_ACTIONPARAMS_H
+#define SQUID_SRC_MGR_ACTIONPARAMS_H
#include "http/RequestMethod.h"
#include "ipc/forward.h"
} // namespace Mgr
-#endif /* SQUID_MGR_ACTION_PARAMS_H */
+#endif /* SQUID_SRC_MGR_ACTIONPARAMS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_MGR_CACHEMGRPASSWD_H_
-#define SQUID_MGR_CACHEMGRPASSWD_H_
+#ifndef SQUID_SRC_MGR_ACTIONPASSWORDLIST_H
+#define SQUID_SRC_MGR_ACTIONPASSWORDLIST_H
#include "sbuf/forward.h"
} //namespace Mgr
-#endif /* SQUID_MGR_CACHEMGRPASSWD_H_ */
+#endif /* SQUID_SRC_MGR_ACTIONPASSWORDLIST_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_ACTION_PROFILE_H
-#define SQUID_MGR_ACTION_PROFILE_H
+#ifndef SQUID_SRC_MGR_ACTIONPROFILE_H
+#define SQUID_SRC_MGR_ACTIONPROFILE_H
#include "mgr/ActionCreator.h"
#include "mgr/forward.h"
} // namespace Mgr
-#endif /* SQUID_MGR_ACTION_PROFILE_H */
+#endif /* SQUID_SRC_MGR_ACTIONPROFILE_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_ACTION_WRITER_H
-#define SQUID_MGR_ACTION_WRITER_H
+#ifndef SQUID_SRC_MGR_ACTIONWRITER_H
+#define SQUID_SRC_MGR_ACTIONWRITER_H
#include "comm/forward.h"
#include "mgr/StoreToCommWriter.h"
} // namespace Mgr
-#endif /* SQUID_MGR_ACTION_WRITER_H */
+#endif /* SQUID_SRC_MGR_ACTIONWRITER_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_BASIC_ACTIONS_H
-#define SQUID_MGR_BASIC_ACTIONS_H
+#ifndef SQUID_SRC_MGR_BASICACTIONS_H
+#define SQUID_SRC_MGR_BASICACTIONS_H
#include "mgr/Action.h"
} // namespace Mgr
-#endif /* SQUID_MGR_BASIC_ACTIONS_H */
+#endif /* SQUID_SRC_MGR_BASICACTIONS_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_COMMAND_H
-#define SQUID_MGR_COMMAND_H
+#ifndef SQUID_SRC_MGR_COMMAND_H
+#define SQUID_SRC_MGR_COMMAND_H
#include "mgr/ActionParams.h"
#include "mgr/forward.h"
} // namespace Mgr
-#endif /* SQUID_MGR_COMMAND_H */
+#endif /* SQUID_SRC_MGR_COMMAND_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_COUNTERS_ACTION_H
-#define SQUID_MGR_COUNTERS_ACTION_H
+#ifndef SQUID_SRC_MGR_COUNTERSACTION_H
+#define SQUID_SRC_MGR_COUNTERSACTION_H
#include "mgr/Action.h"
} // namespace Mgr
-#endif /* SQUID_MGR_COUNTERS_ACTION_H */
+#endif /* SQUID_SRC_MGR_COUNTERSACTION_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_FILLER_H
-#define SQUID_MGR_FILLER_H
+#ifndef SQUID_SRC_MGR_FILLER_H
+#define SQUID_SRC_MGR_FILLER_H
#include "comm/forward.h"
#include "ipc/RequestId.h"
} // namespace Mgr
-#endif /* SQUID_MGR_FILLER_H */
+#endif /* SQUID_SRC_MGR_FILLER_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_FORWARDER_H
-#define SQUID_MGR_FORWARDER_H
+#ifndef SQUID_SRC_MGR_FORWARDER_H
+#define SQUID_SRC_MGR_FORWARDER_H
#include "comm/forward.h"
#include "ipc/Forwarder.h"
} // namespace Mgr
-#endif /* SQUID_MGR_FORWARDER_H */
+#endif /* SQUID_SRC_MGR_FORWARDER_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_FUN_ACTION_H
-#define SQUID_MGR_FUN_ACTION_H
+#ifndef SQUID_SRC_MGR_FUNACTION_H
+#define SQUID_SRC_MGR_FUNACTION_H
#include "mgr/Action.h"
#include "mgr/ActionCreator.h"
} // namespace Mgr
-#endif /* SQUID_MGR_FUN_ACTION_H */
+#endif /* SQUID_SRC_MGR_FUNACTION_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_INFO_ACTION_H
-#define SQUID_MGR_INFO_ACTION_H
+#ifndef SQUID_SRC_MGR_INFOACTION_H
+#define SQUID_SRC_MGR_INFOACTION_H
#include "mgr/Action.h"
#include "StoreStats.h"
} // namespace Mgr
-#endif /* SQUID_MGR_INFO_ACTION_H */
+#endif /* SQUID_SRC_MGR_INFOACTION_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_INQUIRER_H
-#define SQUID_MGR_INQUIRER_H
+#ifndef SQUID_SRC_MGR_INQUIRER_H
+#define SQUID_SRC_MGR_INQUIRER_H
#include "comm/forward.h"
#include "ipc/Inquirer.h"
} // namespace Mgr
-#endif /* SQUID_MGR_INQUIRER_H */
+#endif /* SQUID_SRC_MGR_INQUIRER_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_INT_PARAM_H
-#define SQUID_MGR_INT_PARAM_H
+#ifndef SQUID_SRC_MGR_INTPARAM_H
+#define SQUID_SRC_MGR_INTPARAM_H
#include "ipc/forward.h"
#include "mgr/forward.h"
} // namespace Mgr
-#endif /* SQUID_MGR_INT_PARAM_H */
+#endif /* SQUID_SRC_MGR_INTPARAM_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_INTERVAL_ACTION_H
-#define SQUID_MGR_INTERVAL_ACTION_H
+#ifndef SQUID_SRC_MGR_INTERVALACTION_H
+#define SQUID_SRC_MGR_INTERVALACTION_H
#include "mgr/Action.h"
} // namespace Mgr
-#endif /* SQUID_MGR_INTERVAL_ACTION_H */
+#endif /* SQUID_SRC_MGR_INTERVALACTION_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_IO_ACTION_H
-#define SQUID_MGR_IO_ACTION_H
+#ifndef SQUID_SRC_MGR_IOACTION_H
+#define SQUID_SRC_MGR_IOACTION_H
#include "IoStats.h"
#include "mgr/Action.h"
} // namespace Mgr
-#endif /* SQUID_MGR_IO_ACTION_H */
+#endif /* SQUID_SRC_MGR_IOACTION_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_QUERY_PARAM_H
-#define SQUID_MGR_QUERY_PARAM_H
+#ifndef SQUID_SRC_MGR_QUERYPARAM_H
+#define SQUID_SRC_MGR_QUERYPARAM_H
#include "base/RefCount.h"
#include "ipc/forward.h"
} // namespace Mgr
-#endif /* SQUID_MGR_QUERY_PARAM_H */
+#endif /* SQUID_SRC_MGR_QUERYPARAM_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_QUERY_PARAMS_H
-#define SQUID_MGR_QUERY_PARAMS_H
+#ifndef SQUID_SRC_MGR_QUERYPARAMS_H
+#define SQUID_SRC_MGR_QUERYPARAMS_H
#include "ipc/forward.h"
#include "mgr/QueryParam.h"
} // namespace Mgr
-#endif /* SQUID_MGR_QUERY_PARAMS_H */
+#endif /* SQUID_SRC_MGR_QUERYPARAMS_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_REGISTRATION_H
-#define SQUID_MGR_REGISTRATION_H
+#ifndef SQUID_SRC_MGR_REGISTRATION_H
+#define SQUID_SRC_MGR_REGISTRATION_H
#include "mgr/forward.h"
} // namespace Mgr
-#endif /* SQUID_MGR_REGISTRATION_H */
+#endif /* SQUID_SRC_MGR_REGISTRATION_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_REQUEST_H
-#define SQUID_MGR_REQUEST_H
+#ifndef SQUID_SRC_MGR_REQUEST_H
+#define SQUID_SRC_MGR_REQUEST_H
#include "comm/forward.h"
#include "ipc/forward.h"
} // namespace Mgr
-#endif /* SQUID_MGR_REQUEST_H */
+#endif /* SQUID_SRC_MGR_REQUEST_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_RESPONSE_H
-#define SQUID_MGR_RESPONSE_H
+#ifndef SQUID_SRC_MGR_RESPONSE_H
+#define SQUID_SRC_MGR_RESPONSE_H
#include "ipc/forward.h"
#include "ipc/Response.h"
} // namespace Mgr
-#endif /* SQUID_MGR_RESPONSE_H */
+#endif /* SQUID_SRC_MGR_RESPONSE_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_SERVICE_TIMES_ACTION_H
-#define SQUID_MGR_SERVICE_TIMES_ACTION_H
+#ifndef SQUID_SRC_MGR_SERVICETIMESACTION_H
+#define SQUID_SRC_MGR_SERVICETIMESACTION_H
#include "mgr/Action.h"
} // namespace Mgr
-#endif /* SQUID_MGR_SERVICE_TIMES_ACTION_H */
+#endif /* SQUID_SRC_MGR_SERVICETIMESACTION_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_STORE_IO_ACTION_H
-#define SQUID_MGR_STORE_IO_ACTION_H
+#ifndef SQUID_SRC_MGR_STOREIOACTION_H
+#define SQUID_SRC_MGR_STOREIOACTION_H
#include "mgr/Action.h"
} // namespace Mgr
-#endif /* SQUID_MGR_STORE_IO_ACTION_H */
+#endif /* SQUID_SRC_MGR_STOREIOACTION_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_STORE_TO_COMM_WRITER_H
-#define SQUID_MGR_STORE_TO_COMM_WRITER_H
+#ifndef SQUID_SRC_MGR_STORETOCOMMWRITER_H
+#define SQUID_SRC_MGR_STORETOCOMMWRITER_H
#include "base/AsyncJob.h"
#include "comm/forward.h"
} // namespace Mgr
-#endif /* SQUID_MGR_STORE_TO_COMM_WRITER_H */
+#endif /* SQUID_SRC_MGR_STORETOCOMMWRITER_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_STRING_PARAM_H
-#define SQUID_MGR_STRING_PARAM_H
+#ifndef SQUID_SRC_MGR_STRINGPARAM_H
+#define SQUID_SRC_MGR_STRINGPARAM_H
#include "ipc/forward.h"
#include "mgr/forward.h"
} // namespace Mgr
-#endif /* SQUID_MGR_STRING_PARAM_H */
+#endif /* SQUID_SRC_MGR_STRINGPARAM_H */
/* DEBUG: section 16 Cache Manager API */
-#ifndef SQUID_MGR_FORWARD_H
-#define SQUID_MGR_FORWARD_H
+#ifndef SQUID_SRC_MGR_FORWARD_H
+#define SQUID_SRC_MGR_FORWARD_H
#include "base/RefCount.h"
*/
typedef void OBJH(StoreEntry *);
-#endif /* SQUID_MGR_FORWARD_H */
+#endif /* SQUID_SRC_MGR_FORWARD_H */
/* DEBUG: section 25 MIME Parsing and Internal Icons */
-#ifndef SQUID_MIME_H_
-#define SQUID_MIME_H_
+#ifndef SQUID_SRC_MIME_H
+#define SQUID_SRC_MIME_H
void mimeInit(char *filename);
const char *mimeGetContentEncoding(const char *fn);
bool mimeGetDownloadOption(const char *fn);
bool mimeGetViewOption(const char *fn);
-#endif /* SQUID_MIME_H_ */
+#endif /* SQUID_SRC_MIME_H */
/* DEBUG: section 25 MiME Header Parsing */
-#ifndef SQUID_MIME_HEADER_H_
-#define SQUID_MIME_HEADER_H_
+#ifndef SQUID_SRC_MIME_HEADER_H
+#define SQUID_SRC_MIME_HEADER_H
#include "sbuf/forward.h"
return headersEnd(buf, sz, ignored);
}
-#endif /* SQUID_MIME_HEADER_H_ */
+#endif /* SQUID_SRC_MIME_HEADER_H */
/* DEBUG: section 07 Multicast */
-#ifndef SQUID_MULTICAST_H_
-#define SQUID_MULTICAST_H_
+#ifndef SQUID_SRC_MULTICAST_H
+#define SQUID_SRC_MULTICAST_H
#include "ipcache.h"
int mcastSetTtl(int, int);
extern IPH mcastJoinGroups;
-#endif /* SQUID_MULTICAST_H_ */
+#endif /* SQUID_SRC_MULTICAST_H */
/* DEBUG: section 15 Neighbor Routines */
-#ifndef SQUID_NEIGHBORS_H_
-#define SQUID_NEIGHBORS_H_
+#ifndef SQUID_SRC_NEIGHBORS_H
+#define SQUID_SRC_NEIGHBORS_H
#include "anyp/forward.h"
#include "enums.h"
CachePeer *whichPeer(const Ip::Address &from);
-#endif /* SQUID_NEIGHBORS_H_ */
+#endif /* SQUID_SRC_NEIGHBORS_H */
} /* namespace Parser */
-#endif // SQUID_SRC_PARSER_BINARYTOKENIZER_H
+#endif /* SQUID_SRC_PARSER_BINARYTOKENIZER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_PARSER_TOKENIZER_H_
-#define SQUID_PARSER_TOKENIZER_H_
+#ifndef SQUID_SRC_PARSER_TOKENIZER_H
+#define SQUID_SRC_PARSER_TOKENIZER_H
#include "base/CharacterSet.h"
#include "sbuf/SBuf.h"
} /* namespace Parser */
-#endif /* SQUID_PARSER_TOKENIZER_H_ */
+#endif /* SQUID_SRC_PARSER_TOKENIZER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_PARSER_FORWARD_H
-#define SQUID_PARSER_FORWARD_H
+#ifndef SQUID_SRC_PARSER_FORWARD_H
+#define SQUID_SRC_PARSER_FORWARD_H
namespace Parser {
class Tokenizer;
class InsufficientInput {};
} // namespace Parser
-#endif /* SQUID_PARSER_FORWARD_H */
+#endif /* SQUID_SRC_PARSER_FORWARD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_PCONN_H
-#define SQUID_PCONN_H
+#ifndef SQUID_SRC_PCONN_H
+#define SQUID_SRC_PCONN_H
#include "base/CbcPointer.h"
#include "base/RunnersRegistry.h"
static PconnModule * instance;
};
-#endif /* SQUID_PCONN_H */
+#endif /* SQUID_SRC_PCONN_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_PEER_PROXY_NEGOTIATE_AUTH_H_
-#define SQUID_PEER_PROXY_NEGOTIATE_AUTH_H_
+#ifndef SQUID_SRC_PEER_PROXY_NEGOTIATE_AUTH_H
+#define SQUID_SRC_PEER_PROXY_NEGOTIATE_AUTH_H
#define PEER_PROXY_NEGOTIATE_NOKEYTAB 1
SQUIDCEXTERN char *peer_proxy_negotiate_auth(char *principal_name, char *proxy, int flags);
#endif
-#endif /* SQUID_PEER_PROXY_NEGOTIATE_AUTH_H_ */
+#endif /* SQUID_SRC_PEER_PROXY_NEGOTIATE_AUTH_H */
/* DEBUG: section 39 Peer source hash based selection */
-#ifndef SQUID_PEER_SOURCEHASH_H_
-#define SQUID_PEER_SOURCEHASH_H_
+#ifndef SQUID_SRC_PEER_SOURCEHASH_H
+#define SQUID_SRC_PEER_SOURCEHASH_H
class CachePeer;
class PeerSelector;
void peerSourceHashInit(void);
CachePeer * peerSourceHashSelectParent(PeerSelector*);
-#endif /* SQUID_PEER_SOURCEHASH_H_ */
+#endif /* SQUID_SRC_PEER_SOURCEHASH_H */
/* DEBUG: section 39 Peer user hash based selection */
-#ifndef SQUID_PEER_USERHASH_H_
-#define SQUID_PEER_USERHASH_H_
+#ifndef SQUID_SRC_PEER_USERHASH_H
+#define SQUID_SRC_PEER_USERHASH_H
class CachePeer;
class HttpRequest;
void peerUserHashInit(void);
CachePeer * peerUserHashSelectParent(PeerSelector *);
-#endif /* SQUID_PEER_USERHASH_H_ */
+#endif /* SQUID_SRC_PEER_USERHASH_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_PROTOS_H
-#define SQUID_PROTOS_H
+#ifndef SQUID_SRC_PROTOS_H
+#define SQUID_SRC_PROTOS_H
void shut_down(int);
void rotate_logs(int);
void reconfigure(int);
-#endif /* SQUID_PROTOS_H */
+#endif /* SQUID_SRC_PROTOS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_PROXYP_ELEMENTS_H
-#define SQUID_PROXYP_ELEMENTS_H
+#ifndef SQUID_SRC_PROXYP_ELEMENTS_H
+#define SQUID_SRC_PROXYP_ELEMENTS_H
#include "sbuf/SBuf.h"
} // namespace ProxyProtocol
-#endif
+#endif /* SQUID_SRC_PROXYP_ELEMENTS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_PROXYP_HEADER_H
-#define SQUID_PROXYP_HEADER_H
+#ifndef SQUID_SRC_PROXYP_HEADER_H
+#define SQUID_SRC_PROXYP_HEADER_H
#include "base/RefCount.h"
#include "ip/Address.h"
} // namespace ProxyProtocol
-#endif
+#endif /* SQUID_SRC_PROXYP_HEADER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_PROXYP_PARSER_H
-#define SQUID_PROXYP_PARSER_H
+#ifndef SQUID_SRC_PROXYP_PARSER_H
+#define SQUID_SRC_PROXYP_PARSER_H
#include "proxyp/forward.h"
#include "sbuf/forward.h"
} // namespace ProxyProtocol
-#endif
+#endif /* SQUID_SRC_PROXYP_PARSER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SRC_PROXYP_FORWARD_H
-#define _SQUID_SRC_PROXYP_FORWARD_H
+#ifndef SQUID_SRC_PROXYP_FORWARD_H
+#define SQUID_SRC_PROXYP_FORWARD_H
#include "base/RefCount.h"
}
-#endif /* _SQUID_SRC_PROXYP_FORWARD_H */
+#endif /* SQUID_SRC_PROXYP_FORWARD_H */
/* DEBUG: section 61 Redirector */
-#ifndef SQUID_REDIRECT_H_
-#define SQUID_REDIRECT_H_
+#ifndef SQUID_SRC_REDIRECT_H
+#define SQUID_SRC_REDIRECT_H
#include "helper.h"
void redirectStart(ClientHttpRequest *, HLPCB *, void *);
void storeIdStart(ClientHttpRequest *, HLPCB *, void *);
-#endif /* SQUID_REDIRECT_H_ */
+#endif /* SQUID_SRC_REDIRECT_H */
/* DEBUG: section 22 Refresh Calculation */
-#ifndef SQUID_REFRESH_H_
-#define SQUID_REFRESH_H_
+#ifndef SQUID_SRC_REFRESH_H
+#define SQUID_SRC_REFRESH_H
#include "http/forward.h"
#include "store/forward.h"
class RefreshPattern;
const RefreshPattern *refreshLimits(const char *url);
-#endif /* SQUID_REFRESH_H_ */
+#endif /* SQUID_SRC_REFRESH_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUIDINC_STORE_HEAP_REPLACEMENT_H
-#define _SQUIDINC_STORE_HEAP_REPLACEMENT_H
+#ifndef SQUID_SRC_REPL_HEAP_STORE_HEAP_REPLACEMENT_H
+#define SQUID_SRC_REPL_HEAP_STORE_HEAP_REPLACEMENT_H
#include "heap.h"
heap_key HeapKeyGen_StoreEntry_GDSF(void *entry, double age);
heap_key HeapKeyGen_StoreEntry_LRU(void *entry, double age);
-#endif /* _SQUIDINC_STORE_HEAP_REPLACEMENT_H */
+#endif /* SQUID_SRC_REPL_HEAP_STORE_HEAP_REPLACEMENT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_REPL_MODULES_H_
-#define SQUID_REPL_MODULES_H_
+#ifndef SQUID_SRC_REPL_MODULES_H
+#define SQUID_SRC_REPL_MODULES_H
/*
* Note: repl_modules.cc will be autogenerated.
void storeReplSetup(void);
-#endif /* SQUID_REPL_MODULES_H_ */
+#endif /* SQUID_SRC_REPL_MODULES_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SBUFALGOS_H_
-#define SQUID_SBUFALGOS_H_
+#ifndef SQUID_SRC_SBUF_ALGORITHMS_H
+#define SQUID_SRC_SBUF_ALGORITHMS_H
#include "sbuf/SBuf.h"
}
};
-#endif /* SQUID_SBUFALGOS_H_ */
+#endif /* SQUID_SRC_SBUF_ALGORITHMS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SBUFLIST_H
-#define SQUID_SBUFLIST_H
+#ifndef SQUID_SRC_SBUF_LIST_H
+#define SQUID_SRC_SBUF_LIST_H
#include "sbuf/SBuf.h"
*/
bool IsMember(const SBufList &, const SBuf &, const SBufCaseSensitive isCaseSensitive = caseSensitive);
-#endif /* SQUID_SBUFLIST_H */
+#endif /* SQUID_SRC_SBUF_LIST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_MEMBLOB_H_
-#define SQUID_MEMBLOB_H_
+#ifndef SQUID_SRC_SBUF_MEMBLOB_H
+#define SQUID_SRC_SBUF_MEMBLOB_H
#define MEMBLOB_DEBUGSECTION 24
MemBlob& operator =(const MemBlob &);
};
-#endif /* SQUID_MEMBLOB_H_ */
+#endif /* SQUID_SRC_SBUF_MEMBLOB_H */
/* DEBUG: section 24 SBuf */
-#ifndef SQUID_SBUF_H
-#define SQUID_SBUF_H
+#ifndef SQUID_SRC_SBUF_SBUF_H
+#define SQUID_SRC_SBUF_SBUF_H
#include "base/InstanceId.h"
#include "base/TextException.h"
return iter != s.iter;
}
-#endif /* SQUID_SBUF_H */
+#endif /* SQUID_SRC_SBUF_SBUF_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SBUF_STATS_H
-#define SQUID_SBUF_STATS_H
+#ifndef SQUID_SRC_SBUF_STATS_H
+#define SQUID_SRC_SBUF_STATS_H
#include <iosfwd>
static SizeRecorder MemBlobSizeAtDestructRecorder;
};
-#endif /* SQUID_SBUF_STATS_H */
+#endif /* SQUID_SRC_SBUF_STATS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SBUFSTREAM_H
-#define SQUID_SBUFSTREAM_H
+#ifndef SQUID_SRC_SBUF_STREAM_H
+#define SQUID_SRC_SBUF_STREAM_H
#include "base/PackableStream.h"
#include "sbuf/SBuf.h"
return out.buf();
}
-#endif /* SQUID_SBUFSTREAM_H */
+#endif /* SQUID_SRC_SBUF_STREAM_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_SBUF_SBUFSTRING_H_
-#define SQUID_SRC_SBUF_SBUFSTRING_H_
+#ifndef SQUID_SRC_SBUF_STRINGCONVERT_H
+#define SQUID_SRC_SBUF_STRINGCONVERT_H
#include "sbuf/SBuf.h"
#include "SquidString.h"
return rv;
}
-#endif /* SQUID_SRC_SBUF_SBUFSTRING_H_ */
+#endif /* SQUID_SRC_SBUF_STRINGCONVERT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_SECURITY_COMMUNICATION_SECRETS_H
-#define SQUID_SRC_SECURITY_COMMUNICATION_SECRETS_H
+#ifndef SQUID_SRC_SECURITY_COMMUNICATIONSECRETS_H
+#define SQUID_SRC_SECURITY_COMMUNICATIONSECRETS_H
#include "sbuf/SBuf.h"
#include "security/Session.h"
} // namespace Security
-#endif /* SQUID_SRC_SECURITY_COMMUNICATION_SECRETS_H */
+#endif /* SQUID_SRC_SECURITY_COMMUNICATIONSECRETS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SECURITY_ENCRYPTORANSWER_H
-#define SQUID_SECURITY_ENCRYPTORANSWER_H
+#ifndef SQUID_SRC_SECURITY_ENCRYPTORANSWER_H
+#define SQUID_SRC_SECURITY_ENCRYPTORANSWER_H
#include "base/CbcPointer.h"
#include "comm/Connection.h"
} // namespace Security
-#endif /* SQUID_SECURITY_ENCRYPTORANSWER_H */
+#endif /* SQUID_SRC_SECURITY_ENCRYPTORANSWER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_SECURITY_DETAIL_H
-#define SQUID_SRC_SECURITY_DETAIL_H
+#ifndef SQUID_SRC_SECURITY_ERRORDETAIL_H
+#define SQUID_SRC_SECURITY_ERRORDETAIL_H
#include "base/RefCount.h"
#include "error/Detail.h"
} // namespace Security
-#endif
+#endif /* SQUID_SRC_SECURITY_ERRORDETAIL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SECURITY_HANDSHAKE_H
-#define SQUID_SECURITY_HANDSHAKE_H
+#ifndef SQUID_SRC_SECURITY_HANDSHAKE_H
+#define SQUID_SRC_SECURITY_HANDSHAKE_H
#include "anyp/ProtocolVersion.h"
#include "base/YesNoNone.h"
}
-#endif // SQUID_SECURITY_HANDSHAKE_H
+#endif /* SQUID_SRC_SECURITY_HANDSHAKE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_SECURITY_KEY_LOGGER_H
-#define SQUID_SRC_SECURITY_KEY_LOGGER_H
+#ifndef SQUID_SRC_SECURITY_KEYLOGGER_H
+#define SQUID_SRC_SECURITY_KEYLOGGER_H
#include "acl/forward.h"
#include "security/CommunicationSecrets.h"
maybeLog(sconn, caller);
}
-#endif /* SQUID_SRC_SECURITY_KEY_LOGGER_H */
+#endif /* SQUID_SRC_SECURITY_KEYLOGGER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SSL_CERTIFICATE_DB_H
-#define SQUID_SSL_CERTIFICATE_DB_H
+#ifndef SQUID_SRC_SECURITY_CERT_GENERATORS_FILE_CERTIFICATE_DB_H
+#define SQUID_SRC_SECURITY_CERT_GENERATORS_FILE_CERTIFICATE_DB_H
#include "base/Here.h"
#include "ssl/gadgets.h"
};
} // namespace Ssl
-#endif // SQUID_SSL_CERTIFICATE_DB_H
+#endif /* SQUID_SRC_SECURITY_CERT_GENERATORS_FILE_CERTIFICATE_DB_H */
/* DEBUG: section 33 Client-side Routines */
-#ifndef SQUID_SERVERS_FTP_SERVER_H
-#define SQUID_SERVERS_FTP_SERVER_H
+#ifndef SQUID_SRC_SERVERS_FTPSERVER_H
+#define SQUID_SRC_SERVERS_FTPSERVER_H
#include "base/JobWait.h"
#include "base/Lock.h"
} // namespace Ftp
-#endif /* SQUID_SERVERS_FTP_SERVER_H */
+#endif /* SQUID_SRC_SERVERS_FTPSERVER_H */
/* DEBUG: section 33 Client-side Routines */
-#ifndef SQUID_SERVERS_SERVER_H
-#define SQUID_SERVERS_SERVER_H
+#ifndef SQUID_SRC_SERVERS_SERVER_H
+#define SQUID_SRC_SERVERS_SERVER_H
#include "anyp/forward.h"
#include "anyp/ProtocolVersion.h"
AsyncCall::Pointer writer; ///< set when we are writing
};
-#endif /* SQUID_SERVERS_SERVER_H */
+#endif /* SQUID_SRC_SERVERS_SERVER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SERVERS_FORWARD_H
-#define SQUID_SERVERS_FORWARD_H
+#ifndef SQUID_SRC_SERVERS_FORWARD_H
+#define SQUID_SRC_SERVERS_FORWARD_H
class MasterXaction;
template <class C> class RefCount;
} // namespace Ftp
-#endif /* SQUID_SERVERS_FORWARD_H */
+#endif /* SQUID_SRC_SERVERS_FORWARD_H */
/* DEBUG: section 49 SNMP Interface */
-#ifndef SQUID_SNMPX_FORWARDER_H
-#define SQUID_SNMPX_FORWARDER_H
+#ifndef SQUID_SRC_SNMP_FORWARDER_H
+#define SQUID_SRC_SNMP_FORWARDER_H
#include "ip/forward.h"
#include "ipc/Forwarder.h"
} // namespace Snmp
-#endif /* SQUID_SNMPX_FORWARDER_H */
+#endif /* SQUID_SRC_SNMP_FORWARDER_H */
/* DEBUG: section 49 SNMP Interface */
-#ifndef SQUID_SNMPX_INQUIRER_H
-#define SQUID_SNMPX_INQUIRER_H
+#ifndef SQUID_SRC_SNMP_INQUIRER_H
+#define SQUID_SRC_SNMP_INQUIRER_H
#include "comm/forward.h"
#include "ipc/Inquirer.h"
} // namespace Snmp
-#endif /* SQUID_SNMPX_INQUIRER_H */
+#endif /* SQUID_SRC_SNMP_INQUIRER_H */
/* DEBUG: section 49 SNMP Interface */
-#ifndef SQUID_SNMPX_PDU_H
-#define SQUID_SNMPX_PDU_H
+#ifndef SQUID_SRC_SNMP_PDU_H
+#define SQUID_SRC_SNMP_PDU_H
#include "base/Range.h"
#include "ipc/forward.h"
} // namespace Snmp
-#endif /* SQUID_SNMPX_PDU_H */
+#endif /* SQUID_SRC_SNMP_PDU_H */
/* DEBUG: section 49 SNMP Interface */
-#ifndef SQUID_SNMPX_REQUEST_H
-#define SQUID_SNMPX_REQUEST_H
+#ifndef SQUID_SRC_SNMP_REQUEST_H
+#define SQUID_SRC_SNMP_REQUEST_H
#include "ip/Address.h"
#include "ipc/forward.h"
} // namespace Snmp
-#endif /* SQUID_SNMPX_REQUEST_H */
+#endif /* SQUID_SRC_SNMP_REQUEST_H */
/* DEBUG: section 49 SNMP Interface */
-#ifndef SQUID_SNMPX_RESPONSE_H
-#define SQUID_SNMPX_RESPONSE_H
+#ifndef SQUID_SRC_SNMP_RESPONSE_H
+#define SQUID_SRC_SNMP_RESPONSE_H
#include "ipc/forward.h"
#include "ipc/Response.h"
} // namespace Snmp
-#endif /* SQUID_SNMPX_RESPONSE_H */
+#endif /* SQUID_SRC_SNMP_RESPONSE_H */
/* DEBUG: section 49 SNMP Interface */
-#ifndef SQUID_SNMPX_SESSION_H
-#define SQUID_SNMPX_SESSION_H
+#ifndef SQUID_SRC_SNMP_SESSION_H
+#define SQUID_SRC_SNMP_SESSION_H
#include "ipc/forward.h"
#include "snmp.h"
} // namespace Snmp
-#endif /* SQUID_SNMPX_SESSION_H */
+#endif /* SQUID_SRC_SNMP_SESSION_H */
/* DEBUG: section 49 SNMP Interface */
-#ifndef SQUID_SNMPX_VAR_H
-#define SQUID_SNMPX_VAR_H
+#ifndef SQUID_SRC_SNMP_VAR_H
+#define SQUID_SRC_SNMP_VAR_H
#include "base/Range.h"
#include "ipc/forward.h"
} // namespace Snmp
-#endif /* SQUID_SNMPX_VAR_H */
+#endif /* SQUID_SRC_SNMP_VAR_H */
/* DEBUG: section 49 SNMP Interface */
-#ifndef SQUID_SNMPX_FORWARD_H
-#define SQUID_SNMPX_FORWARD_H
+#ifndef SQUID_SRC_SNMP_FORWARD_H
+#define SQUID_SRC_SNMP_FORWARD_H
namespace Snmp
{
} // namespace Snmp
-#endif /* SQUID_SNMPX_FORWARD_H */
+#endif /* SQUID_SRC_SNMP_FORWARD_H */
/* DEBUG: section 49 SNMP Interface */
-#ifndef SQUID_SNMP_AGENT_H_
-#define SQUID_SNMP_AGENT_H_
+#ifndef SQUID_SRC_SNMP_AGENT_H
+#define SQUID_SRC_SNMP_AGENT_H
#if SQUID_SNMP
variable_list *snmp_meshPtblFn(variable_list *, snint *);
#endif /* SQUID_SNMP */
-#endif /* SQUID_SNMP_AGENT_H_ */
+#endif /* SQUID_SRC_SNMP_AGENT_H */
/* DEBUG: section 49 SNMP Interface */
-#ifndef SQUID_SNMP_CORE_H
-#define SQUID_SNMP_CORE_H
+#ifndef SQUID_SRC_SNMP_CORE_H
+#define SQUID_SRC_SNMP_CORE_H
#include "acl/Data.h"
#include "acl/ParameterizedNode.h"
} // namespace Acl
-#endif /* SQUID_SNMP_CORE_H */
+#endif /* SQUID_SRC_SNMP_CORE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SSL_CONFIG_H
-#define SQUID_SSL_CONFIG_H
+#ifndef SQUID_SRC_SSL_CONFIG_H
+#define SQUID_SRC_SSL_CONFIG_H
#include "helper/ChildConfig.h"
extern Config TheConfig;
} // namespace Ssl
-#endif
+#endif /* SQUID_SRC_SSL_CONFIG_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SSL_ERROR_DETAIL_H
-#define _SQUID_SSL_ERROR_DETAIL_H
+#ifndef SQUID_SRC_SSL_ERRORDETAIL_H
+#define SQUID_SRC_SSL_ERRORDETAIL_H
#include "security/ErrorDetail.h"
bool ErrorIsOptional(const char *name);
}//namespace Ssl
-#endif
+#endif /* SQUID_SRC_SSL_ERRORDETAIL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SSL_ERRORDETAILMANAGER_H
-#define _SQUID_SSL_ERRORDETAILMANAGER_H
+#ifndef SQUID_SRC_SSL_ERRORDETAILMANAGER_H
+#define SQUID_SRC_SSL_ERRORDETAILMANAGER_H
#include "base/RefCount.h"
#include "HttpRequest.h"
void errorDetailInitialize();
void errorDetailClean();
} //namespace Ssl
-#endif
+#endif /* SQUID_SRC_SSL_ERRORDETAILMANAGER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SSLPROXYCERTS_H_
-#define SQUID_SSLPROXYCERTS_H_
+#ifndef SQUID_SRC_SSL_PROXYCERTS_H
+#define SQUID_SRC_SSL_PROXYCERTS_H
#if USE_OPENSSL
#include "acl/forward.h"
};
#endif
-#endif /* SQUID_SSLPROXYCERTS_H_ */
+#endif /* SQUID_SRC_SSL_PROXYCERTS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SSL_PEEKER_H
-#define _SQUID_SSL_PEEKER_H
+#ifndef SQUID_SRC_SSL_SERVERBUMP_H
+#define SQUID_SRC_SSL_SERVERBUMP_H
#include "base/AsyncJob.h"
#include "base/CbcPointer.h"
} // namespace Ssl
-#endif
+#endif /* SQUID_SRC_SSL_SERVERBUMP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SSL_BIO_H
-#define SQUID_SSL_BIO_H
+#ifndef SQUID_SRC_SSL_BIO_H
+#define SQUID_SRC_SSL_BIO_H
#if USE_OPENSSL
applyTlsDetailsToSSL(SSL *ssl, Security::TlsDetails::Pointer const &details, Ssl::BumpMode bumpMode);
#endif /* USE_OPENSSL */
-#endif /* SQUID_SSL_BIO_H */
+#endif /* SQUID_SRC_SSL_BIO_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SSL_CERT_VALIDATE_MESSAGE_H
-#define SQUID_SSL_CERT_VALIDATE_MESSAGE_H
+#ifndef SQUID_SRC_SSL_CERT_VALIDATE_MESSAGE_H
+#define SQUID_SRC_SSL_CERT_VALIDATE_MESSAGE_H
#include "base/RefCount.h"
#include "helper/ResultCode.h"
}//namespace Ssl
-#endif // SQUID_SSL_CERT_VALIDATE_MESSAGE_H
+#endif /* SQUID_SRC_SSL_CERT_VALIDATE_MESSAGE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SSL_CONTEXT_STORAGE_H
-#define SQUID_SSL_CONTEXT_STORAGE_H
+#ifndef SQUID_SRC_SSL_CONTEXT_STORAGE_H
+#define SQUID_SRC_SSL_CONTEXT_STORAGE_H
#if USE_OPENSSL
} //namespace Ssl
#endif // USE_OPENSSL
-#endif // SQUID_SSL_CONTEXT_STORAGE_H
+#endif /* SQUID_SRC_SSL_CONTEXT_STORAGE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SSL_CRTD_MESSAGE_H
-#define SQUID_SSL_CRTD_MESSAGE_H
+#ifndef SQUID_SRC_SSL_CRTD_MESSAGE_H
+#define SQUID_SRC_SSL_CRTD_MESSAGE_H
#include <map>
#include <string>
} //namespace Ssl
-#endif // SQUID_SSL_CRTD_MESSAGE_H
+#endif /* SQUID_SRC_SSL_CRTD_MESSAGE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SSL_GADGETS_H
-#define SQUID_SSL_GADGETS_H
+#ifndef SQUID_SRC_SSL_GADGETS_H
+#define SQUID_SRC_SSL_GADGETS_H
#if USE_OPENSSL
} // namespace Ssl
#endif // USE_OPENSSL
-#endif // SQUID_SSL_GADGETS_H
+#endif /* SQUID_SRC_SSL_GADGETS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SSL_HELPER_H
-#define SQUID_SSL_HELPER_H
+#ifndef SQUID_SRC_SSL_HELPER_H
+#define SQUID_SRC_SSL_HELPER_H
#if USE_OPENSSL
} //namespace Ssl
#endif /* USE_OPENSSL */
-#endif // SQUID_SSL_HELPER_H
+#endif /* SQUID_SRC_SSL_HELPER_H */
/* DEBUG: section 83 SSL accelerator support */
-#ifndef SQUID_SSL_SUPPORT_H
-#define SQUID_SSL_SUPPORT_H
+#ifndef SQUID_SRC_SSL_SUPPORT_H
+#define SQUID_SRC_SSL_SUPPORT_H
#if USE_OPENSSL
#endif /* _SQUID_WINDOWS_ */
#endif /* USE_OPENSSL */
-#endif /* SQUID_SSL_SUPPORT_H */
+#endif /* SQUID_SRC_SSL_SUPPORT_H */
/* DEBUG: section 18 Cache Manager Statistics */
-#ifndef SQUID_STAT_H_
-#define SQUID_STAT_H_
+#ifndef SQUID_SRC_STAT_H
+#define SQUID_SRC_STAT_H
void statInit(void);
double median_svc_get(int, int);
class StatCounters;
StatCounters *snmpStatGet(int);
-#endif /* SQUID_STAT_H_ */
+#endif /* SQUID_SRC_STAT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STMEM_H
-#define SQUID_STMEM_H
+#ifndef SQUID_SRC_STMEM_H
+#define SQUID_SRC_STMEM_H
#include "base/Range.h"
#include "splay.h"
Splay<mem_node *> nodes;
};
-#endif /* SQUID_STMEM_H */
+#endif /* SQUID_SRC_STMEM_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STORE_CONTROLLED_H
-#define SQUID_STORE_CONTROLLED_H
+#ifndef SQUID_SRC_STORE_CONTROLLED_H
+#define SQUID_SRC_STORE_CONTROLLED_H
#include "store/Storage.h"
} // namespace Store
-#endif /* SQUID_STORE_CONTROLLED_H */
+#endif /* SQUID_SRC_STORE_CONTROLLED_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STORE_CONTROLLER_H
-#define SQUID_STORE_CONTROLLER_H
+#ifndef SQUID_SRC_STORE_CONTROLLER_H
+#define SQUID_SRC_STORE_CONTROLLER_H
#include "store/Storage.h"
} // namespace Store
-#endif /* SQUID_STORE_CONTROLLER_H */
+#endif /* SQUID_SRC_STORE_CONTROLLER_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STORE_DISK_H
-#define SQUID_STORE_DISK_H
+#ifndef SQUID_SRC_STORE_DISK_H
+#define SQUID_SRC_STORE_DISK_H
#include "store/Controlled.h"
#include "StoreIOState.h"
} // namespace Store
-#endif /* SQUID_STORE_DISK_H */
+#endif /* SQUID_SRC_STORE_DISK_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STORE_DISKS_H
-#define SQUID_STORE_DISKS_H
+#ifndef SQUID_SRC_STORE_DISKS_H
+#define SQUID_SRC_STORE_DISKS_H
#include "store/Controlled.h"
#include "store/forward.h"
/* Globals that should be moved to some Store::UFS-specific logging module */
void storeDirSwapLog(const StoreEntry *e, int op);
-#endif /* SQUID_STORE_DISKS_H */
+#endif /* SQUID_SRC_STORE_DISKS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STORE_LOCAL_SEARCH_H
-#define SQUID_STORE_LOCAL_SEARCH_H
+#ifndef SQUID_SRC_STORE_LOCALSEARCH_H
+#define SQUID_SRC_STORE_LOCALSEARCH_H
#include "store/forward.h"
StoreSearch *NewLocalSearch();
} // namespace Store
-#endif /* SQUID_STORE_LOCAL_SEARCH_H */
+#endif /* SQUID_SRC_STORE_LOCALSEARCH_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STORE_STORAGE_H
-#define SQUID_STORE_STORAGE_H
+#ifndef SQUID_SRC_STORE_STORAGE_H
+#define SQUID_SRC_STORE_STORAGE_H
#include "base/RefCount.h"
#include "http/RequestMethod.h"
} // namespace Store
-#endif /* SQUID_STORE_STORAGE_H */
+#endif /* SQUID_SRC_STORE_STORAGE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_STORE_FORWARD_H
-#define SQUID_STORE_FORWARD_H
+#ifndef SQUID_SRC_STORE_FORWARD_H
+#define SQUID_SRC_STORE_FORWARD_H
// bug 4610 see comments 22-38
// Nasty hack, but it turns out C++ allows int32_t to be
template <class C> class RefCount;
typedef RefCount<Store::Disk> SwapDirPointer;
-#endif /* SQUID_STORE_FORWARD_H */
+#endif /* SQUID_SRC_STORE_FORWARD_H */
/* DEBUG: section 71 Store Digest Manager */
-#ifndef SQUID_STORE_DIGEST_H_
-#define SQUID_STORE_DIGEST_H_
+#ifndef SQUID_SRC_STORE_DIGEST_H
+#define SQUID_SRC_STORE_DIGEST_H
class StoreEntry;
void storeDigestDel(const StoreEntry * entry);
void storeDigestReport(StoreEntry *);
-#endif /* SQUID_STORE_DIGEST_H_ */
+#endif /* SQUID_SRC_STORE_DIGEST_H */
/* DEBUG: section 20 Storage Manager MD5 Cache Keys */
-#ifndef SQUID_STORE_KEY_MD5_H_
-#define SQUID_STORE_KEY_MD5_H_
+#ifndef SQUID_SRC_STORE_KEY_MD5_H
+#define SQUID_SRC_STORE_KEY_MD5_H
#include "hash.h"
#include "http/forward.h"
extern HASHHASH storeKeyHashHash;
extern HASHCMP storeKeyHashCmp;
-#endif /* SQUID_STORE_KEY_MD5_H_ */
+#endif /* SQUID_SRC_STORE_KEY_MD5_H */
/* DEBUG: section 20 Storage Manager Logging Functions */
-#ifndef SQUID_STORE_LOG_H_
-#define SQUID_STORE_LOG_H_
+#ifndef SQUID_SRC_STORE_LOG_H
+#define SQUID_SRC_STORE_LOG_H
class StoreEntry;
void storeLogClose(void);
void storeLogOpen(void);
-#endif /* SQUID_STORE_LOG_H_ */
+#endif /* SQUID_SRC_STORE_LOG_H */
/* DEBUG: section 20 Store Rebuild Routines */
-#ifndef SQUID_STORE_REBUILD_H_
-#define SQUID_STORE_REBUILD_H_
+#ifndef SQUID_SRC_STORE_REBUILD_H
+#define SQUID_SRC_STORE_REBUILD_H
#include "store_key_md5.h"
*/
bool storeRebuildParseEntry(MemBuf &buf, StoreEntry &e, cache_key *key, StoreRebuildData &counts, uint64_t expectedSize);
-#endif /* SQUID_STORE_REBUILD_H_ */
+#endif /* SQUID_SRC_STORE_REBUILD_H */
/* DEBUG: section 20 Storage Manager Swapin Functions */
-#ifndef SQUID_STORE_SWAPIN_H_
-#define SQUID_STORE_SWAPIN_H_
+#ifndef SQUID_SRC_STORE_SWAPIN_H
+#define SQUID_SRC_STORE_SWAPIN_H
class store_client;
void storeSwapInStart(store_client *);
-#endif /* SQUID_STORE_SWAPIN_H_ */
+#endif /* SQUID_SRC_STORE_SWAPIN_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef _SQUID_SWAP_LOG_OP_H
-#define _SQUID_SWAP_LOG_OP_H
+#ifndef SQUID_SRC_SWAP_LOG_OP_H
+#define SQUID_SRC_SWAP_LOG_OP_H
typedef enum {
SWAP_LOG_NOP,
extern const char *swap_log_op_str[];
-#endif /* _SQUID_SWAP_LOG_OP_H */
+#endif /* SQUID_SRC_SWAP_LOG_OP_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_TESTS_CAPTURINGSTORE_ENTRY_H
-#define SQUID_TESTS_CAPTURINGSTORE_ENTRY_H
+#ifndef SQUID_SRC_TESTS_CAPTURINGSTOREENTRY_H
+#define SQUID_SRC_TESTS_CAPTURINGSTOREENTRY_H
#include "Store.h"
}
};
-#endif
+#endif /* SQUID_SRC_TESTS_CAPTURINGSTOREENTRY_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_TEST_SBUFFINDTEST_H
-#define SQUID_SRC_TEST_SBUFFINDTEST_H
+#ifndef SQUID_SRC_TESTS_SBUFFINDTEST_H
+#define SQUID_SRC_TESTS_SBUFFINDTEST_H
#include "sbuf/SBuf.h"
typedef SBufFindTest::Placement Placement;
-#endif
+#endif /* SQUID_SRC_TESTS_SBUFFINDTEST_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_TEST_AUTH_H
-#define SQUID_SRC_TEST_AUTH_H
+#ifndef SQUID_SRC_TESTS_TESTAUTH_H
+#define SQUID_SRC_TESTS_TESTAUTH_H
#if USE_AUTH
#endif
#endif /* USE_AUTH */
-#endif /* SQUID_SRC_TEST_AUTH_H */
+#endif /* SQUID_SRC_TESTS_TESTAUTH_H */
{
SBuf src(fox), dst;
std::copy_if(src.begin(), src.end(), std::back_inserter(dst),
- [](char c) { return c != 'o'; });
+ [](char c) { return c != 'o'; });
CPPUNIT_ASSERT_EQUAL(SBuf("The quick brwn fx jumped ver the lazy dg"), dst);
}
}
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_SRC_TEST_STORE_H
-#define SQUID_SRC_TEST_STORE_H
+#ifndef SQUID_SRC_TESTS_TESTSTORE_H
+#define SQUID_SRC_TESTS_TESTSTORE_H
#include "Store.h"
#include "store/Controlled.h"
typedef RefCount<StoreControllerStub> StoreControllerStubPointer;
-#endif
+#endif /* SQUID_SRC_TESTS_TESTSTORE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_TESTSTORESUPPORT_H
-#define SQUID_TESTSTORESUPPORT_H
+#ifndef SQUID_SRC_TESTS_TESTSTORESUPPORT_H
+#define SQUID_SRC_TESTS_TESTSTORESUPPORT_H
#include "EventLoop.h"
#include "time/Engine.h"
Time::Engine default_time_engine;
};
-#endif /* SQUID_TESTSTORESUPPORT_H */
+#endif /* SQUID_SRC_TESTS_TESTSTORESUPPORT_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID__SRC_TIME_ENGINE_H
-#define SQUID__SRC_TIME_ENGINE_H
+#ifndef SQUID_SRC_TIME_ENGINE_H
+#define SQUID_SRC_TIME_ENGINE_H
namespace Time {
} // namespace Time
-#endif /* SQUID__SRC_TIME_ENGINE_H */
+#endif /* SQUID_SRC_TIME_ENGINE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID__SRC_TIME_FORWARD_H
-#define SQUID__SRC_TIME_FORWARD_H
+#ifndef SQUID_SRC_TIME_FORWARD_H
+#define SQUID_SRC_TIME_FORWARD_H
/// Time and Date handling tools
namespace Time
} // namespace Time
-#endif /* SQUID__SRC_TIME_FORWARD_H */
+#endif /* SQUID_SRC_TIME_FORWARD_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID__SRC_TIME_GADGETS_H
-#define SQUID__SRC_TIME_GADGETS_H
+#ifndef SQUID_SRC_TIME_GADGETS_H
+#define SQUID_SRC_TIME_GADGETS_H
#include <ctime>
#include <iosfwd>
return !(a != b);
}
-#endif /* SQUID__SRC_TIME_GADGETS_H */
+#endif /* SQUID_SRC_TIME_GADGETS_H */
/* DEBUG: section 21 Misc Functions */
-#ifndef SQUID_TOOLS_H_
-#define SQUID_TOOLS_H_
+#ifndef SQUID_SRC_TOOLS_H
+#define SQUID_SRC_TOOLS_H
#include "sbuf/SBuf.h"
#include "typedefs.h"
SBuf WindowsErrorMessage(DWORD errorId);
#endif // _SQUID_WINDOWS_
-#endif /* SQUID_TOOLS_H_ */
+#endif /* SQUID_SRC_TOOLS_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef TUNNEL_H_
-#define TUNNEL_H_
+#ifndef SQUID_SRC_TUNNEL_H
+#define SQUID_SRC_TUNNEL_H
#include "comm/forward.h"
#include "sbuf/forward.h"
class HttpRequest;
void switchToTunnel(HttpRequest *request, const Comm::ConnectionPointer &clientConn, const Comm::ConnectionPointer &srvConn, const SBuf &preReadServerData);
-#endif /* TUNNEL_H_ */
+#endif /* SQUID_SRC_TUNNEL_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_TYPEDEFS_H
-#define SQUID_TYPEDEFS_H
+#ifndef SQUID_SRC_TYPEDEFS_H
+#define SQUID_SRC_TYPEDEFS_H
#include "anyp/ProtocolType.h"
#include "enums.h"
class CachePeer;
typedef void IRCB(CachePeer *, peer_t, AnyP::ProtocolType, void *, void *data);
-#endif /* SQUID_TYPEDEFS_H */
+#endif /* SQUID_SRC_TYPEDEFS_H */
/* DEBUG: section 02 Unlink Daemon */
-#ifndef SQUID_UNLINKD_H_
-#define SQUID_UNLINKD_H_
+#ifndef SQUID_SRC_UNLINKD_H
+#define SQUID_SRC_UNLINKD_H
#if USE_UNLINKD
bool unlinkdNeeded(void);
inline void unlinkdUnlink(const char * path) { ::unlink(path); }
#endif /* USE_UNLINKD */
-#endif /* SQUID_UNLINKD_H_ */
+#endif /* SQUID_SRC_UNLINKD_H */
/* DEBUG: section 52 URN Parsing */
-#ifndef SQUID_URN_H_
-#define SQUID_URN_H_
+#ifndef SQUID_SRC_URN_H
+#define SQUID_SRC_URN_H
#include "log/forward.h"
void urnStart(HttpRequest *, StoreEntry *, const AccessLogEntryPointer &ale);
-#endif /* SQUID_URN_H_ */
+#endif /* SQUID_SRC_URN_H */
/* DEBUG: section 80 WCCP Support */
-#ifndef SQUID_WCCP_H_
-#define SQUID_WCCP_H_
+#ifndef SQUID_SRC_WCCP_H
+#define SQUID_SRC_WCCP_H
#if USE_WCCP
void wccpInit(void);
void wccpConnectionClose(void);
#endif /* USE_WCCP */
-#endif /* SQUID_WCCP_H_ */
+#endif /* SQUID_SRC_WCCP_H */
/* DEBUG: section 80 WCCP Support */
-#ifndef SQUID_WCCP2_H_
-#define SQUID_WCCP2_H_
+#ifndef SQUID_SRC_WCCP2_H
+#define SQUID_SRC_WCCP2_H
#if USE_WCCPv2
void dump_wccp2_service_info(StoreEntry * e, const char *label, void *v);
#endif /* USE_WCCPv2 */
-#endif /* WCCP2_H_ */
+#endif /* SQUID_SRC_WCCP2_H */
/* Inspired by previous work by Romeo Anghelache & Eric Stern. */
-#ifndef SQUID_WIN32_H_
-#define SQUID_WIN32_H_
+#ifndef SQUID_SRC_WIN32_H
+#define SQUID_SRC_WIN32_H
#if _SQUID_WINDOWS_
#endif
-#endif /* SQUID_WIN32_H_ */
+#endif /* SQUID_SRC_WIN32_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef WINSVC_H_
-#define WINSVC_H_
+#ifndef SQUID_SRC_WINDOWS_SERVICE_H
+#define SQUID_SRC_WINDOWS_SERVICE_H
#if _SQUID_WINDOWS_
int WIN32_StartService(int, char **);
inline void WIN32_RemoveService(void) {} /* NOP */
#endif /* _SQUID_WINDOWS_ */
-#endif /* WINSVC_H_ */
+#endif /* SQUID_SRC_WINDOWS_SERVICE_H */
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#ifndef SQUID_WORDLIST_H
-#define SQUID_WORDLIST_H
+#ifndef SQUID_SRC_WORDLIST_H
+#define SQUID_SRC_WORDLIST_H
#include "globals.h"
#include "sbuf/List.h"
/// convert a wordlist to a SBufList
SBufList ToSBufList(wordlist *);
-#endif /* SQUID_WORDLIST_H */
+#endif /* SQUID_SRC_WORDLIST_H */