]> git.ipfire.org Git - thirdparty/squid.git/blob - src/globals.h
LINT
[thirdparty/squid.git] / src / globals.h
1
2 /*
3 * $Id: globals.h,v 1.17 1997/11/05 05:29:25 wessels Exp $
4 */
5
6 extern FILE *debug_log; /* NULL */
7 extern FILE *cache_useragent_log; /* NULL */
8 extern Meta_data meta_data;
9 extern SquidConfig Config;
10 extern SquidConfig2 Config2;
11 extern cacheinfo *HTTPCacheInfo;
12 extern cacheinfo *ICPCacheInfo;
13 extern char *ConfigFile; /* NULL */
14 extern char *IcpOpcodeStr[];
15 extern char *dns_error_message; /* NULL */
16 extern const char *log_tags[];
17 extern char tmp_error_buf[ERROR_BUF_SZ];
18 extern char *volatile debug_options; /* NULL */
19 extern char ThisCache[SQUIDHOSTNAMELEN << 1];
20 extern char config_input_line[BUFSIZ];
21 extern const char *AclMatchedName; /* NULL */
22 extern const char *DefaultConfigFile; /* DEFAULT_CONFIG_FILE */
23 extern const char *RequestMethodStr[];
24 extern const char *ProtocolStr[];
25 extern const char *cfg_filename; /* NULL */
26 extern const char *const appname; /* "squid" */
27 extern const char *const close_bracket; /* "}\n" */
28 extern const char *const dash_str; /* "-" */
29 extern const char *const localhost; /* "127.0.0.1" */
30 extern const char *const null_string; /* "" */
31 extern const char *const open_bracket; /* "{\n" */
32 extern const char *const version_string; /* SQUID_VERSION */
33 extern const char *const w_space; /* " \t\n\r" */
34 extern const char *fdstatTypeStr[];
35 extern const char *hier_strings[];
36 extern const char *memStatusStr[];
37 extern const char *pingStatusStr[];
38 extern const char *storeStatusStr[];
39 extern const char *swapStatusStr[];
40 extern dnsStatData DnsStats;
41 extern fde *fd_table; /* NULL */
42 extern int Biggest_FD; /* -1 */
43 extern int Number_FD; /* 0 */
44 extern int HttpSockets[MAXHTTPPORTS];
45 extern int NDnsServersAlloc; /* 0 */
46 extern int NHttpSockets; /* 0 */
47 extern int RESERVED_FD;
48 extern int Squid_MaxFD; /* SQUID_MAXFD */
49 extern int config_lineno; /* 0 */
50 extern int configured_once; /* 0 */
51 extern int debugLevels[MAX_DEBUG_SECTIONS];
52 extern int do_mallinfo; /* 0 */
53 extern int do_reuse; /* 1 */
54 extern int hash_links_allocated;
55 extern int icmp_sock; /* -1 */
56 extern int neighbors_do_private_keys; /* 1 */
57 extern int opt_accel_uses_host; /* 0 */
58 extern int opt_catch_signals; /* 1 */
59 extern int opt_debug_stderr; /* 0 */
60 extern int opt_dns_tests; /* 1 */
61 extern int opt_foreground_rebuild; /* 0 */
62 extern int opt_forwarded_for; /* 1 */
63 extern int opt_mem_pools; /* 1 */
64 extern int opt_reload_hit_only; /* 0 */
65 extern int opt_syslog_enable; /* 0 */
66 extern int opt_udp_hit_obj; /* 0 */
67 extern int opt_zap_disk_store; /* 0 */
68 extern int select_loops; /* 0 */
69 extern int syslog_enable; /* 0 */
70 extern int theInIcpConnection; /* -1 */
71 extern int theOutIcpConnection; /* -1 */
72 extern int vhost_mode; /* 0 */
73 extern int vizSock; /* -1 */
74 extern iostats IOStats;
75 extern stmem_stats disk_stats;
76 extern stmem_stats mem_obj_pool;
77 extern stmem_stats request_pool;
78 extern stmem_stats sm_stats;
79 extern struct _acl_deny_info_list *DenyInfoList; /* NULL */
80 extern struct in_addr any_addr;
81 extern struct in_addr local_addr;
82 extern struct in_addr no_addr;
83 extern struct in_addr theOutICPAddr;
84 extern struct timeval current_time;
85 extern time_t squid_curtime; /* 0 */
86 extern time_t squid_starttime; /* 0 */
87 extern volatile int reconfigure_pending; /* 0 */
88 extern volatile int shutdown_pending; /* 0 */
89 extern volatile unsigned long nudpconn; /* 0 */
90 extern volatile unsigned long ntcpconn; /* 0 */
91 extern int unlinkd_count; /* 0 */
92 extern int fileno_stack_count; /* 0 */
93 extern int store_rebuilding; /* 1 */
94 extern int store_swap_size; /* 0 */
95 extern int client_info_sz; /* 0 */
96 extern unsigned long store_mem_size; /* 0 */
97 extern icpUdpData *UdpQueueHead; /* NULL */
98 extern icpUdpData *UdpQueueTail; /* NULL */
99 extern time_t hit_only_mode_until; /* 0 */
100
101 #ifdef HAVE_SYSLOG
102 extern int _db_level;
103 #endif