]> git.ipfire.org Git - thirdparty/squid.git/blame - src/cache_cf.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / cache_cf.h
CommitLineData
fc54b8d2 1/*
f70aedc4 2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
fc54b8d2 3 *
bbc27441
AJ
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.
fc54b8d2
FC
7 */
8
bbc27441
AJ
9/* DEBUG: section 03 Configuration File Parsing */
10
fc54b8d2
FC
11#ifndef SQUID_CACHE_CF_H_
12#define SQUID_CACHE_CF_H_
13
14class wordlist;
15
8a648e8d
FC
16void configFreeMemory(void);
17void self_destruct(void);
18void add_http_port(char *portspec);
fc54b8d2
FC
19
20/* extra functions from cache_cf.c useful for lib modules */
8a648e8d
FC
21void parse_int(int *var);
22void parse_onoff(int *var);
23void parse_eol(char *volatile *var);
24void parse_wordlist(wordlist ** list);
25void requirePathnameExists(const char *name, const char *path);
26void parse_time_t(time_t * var);
cf487124
AJ
27/// Parse bytes number from a string
28void parseBytesOptionValue(size_t * bptr, const char *units, char const * value);
6a9136ad 29
fc54b8d2 30#endif /* SQUID_CACHE_CF_H_ */
f53969cc 31