/*
- * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* 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"
#include "hash.h"
#include "IoStats.h"
#include "rfc2181.h"
-#include "sbuf/SBuf.h"
extern char *ConfigFile; /* NULL */
extern char *IcpOpcodeStr[];
-extern char tmp_error_buf[ERROR_BUF_SZ];
extern char ThisCache[RFC2181_MAXHOSTNAMELEN << 1];
extern char ThisCache2[RFC2181_MAXHOSTNAMELEN << 1];
-extern char config_input_line[BUFSIZ];
-/// During parsing, the name of the current squid.conf directive being parsed.
-extern const char *cfg_directive; /* NULL */
-extern const char *cfg_filename; /* NULL */
extern const char *dash_str; /* "-" */
extern const char *null_string; /* "" */
extern const char *version_string; /* VERSION */
extern int NDnsServersAlloc; /* 0 */
extern int RESERVED_FD;
extern int Squid_MaxFD; /* SQUID_MAXFD */
-extern int config_lineno; /* 0 */
extern int opt_reuseaddr; /* 1 */
extern int neighbors_do_private_keys; /* 1 */
extern int opt_catch_signals; /* 1 */
/// Zero for SMP-unaware code and in no-SMP mode.
extern int KidIdentifier; /* 0 */
-#endif /* SQUID_GLOBALS_H */
+#endif /* SQUID_SRC_GLOBALS_H */