cache_cf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 /* DEBUG: section 03 Configuration File Parsing */
10 
11 #ifndef SQUID_SRC_CACHE_CF_H
12 #define SQUID_SRC_CACHE_CF_H
13 
14 class wordlist;
15 
16 void configFreeMemory(void);
17 void self_destruct(void);
18 void add_http_port(char *portspec);
19 
20 /* extra functions from cache_cf.c useful for lib modules */
21 void parse_int(int *var);
22 void parse_onoff(int *var);
23 void parse_eol(char *volatile *var);
24 void parse_wordlist(wordlist ** list);
25 void requirePathnameExists(const char *name, const char *path);
26 void parse_time_t(time_t * var);
28 void parseBytesOptionValue(size_t * bptr, const char *units, char const * value);
29 
31 extern const char *cfg_directive;
32 extern const char *cfg_filename;
33 extern int config_lineno;
34 extern char config_input_line[BUFSIZ];
35 
36 #endif /* SQUID_SRC_CACHE_CF_H */
37 
void configFreeMemory(void)
Definition: cache_cf.cc:3912
void parse_eol(char *volatile *var)
Definition: cache_cf.cc:2898
#define BUFSIZ
Definition: defines.h:20
void add_http_port(char *portspec)
Definition: cache_cf.cc:3710
void requirePathnameExists(const char *name, const char *path)
Definition: cache_cf.cc:3926
void self_destruct(void)
Definition: cache_cf.cc:276
int config_lineno
Definition: cache_cf.cc:272
void parse_int(int *var)
Definition: cache_cf.cc:2540
void parseBytesOptionValue(size_t *bptr, const char *units, char const *value)
Parse bytes number from a string.
Definition: cache_cf.cc:1395
void parse_onoff(int *var)
Definition: cache_cf.cc:2580
char config_input_line[BUFSIZ]
Definition: cache_cf.cc:273
void parse_wordlist(wordlist **list)
Definition: cache_cf.cc:3134
const char * cfg_directive
During parsing, the name of the current squid.conf directive being parsed.
Definition: cache_cf.cc:270
void parse_time_t(time_t *var)
Definition: cache_cf.cc:2952
const char * cfg_filename
Definition: cache_cf.cc:271

 

Introduction

Documentation

Support

Miscellaneous