stub_cache_cf.cc
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 #include "squid.h"
12 #include "acl/Acl.h"
13 #include "acl/Gadgets.h"
14 #include "ConfigParser.h"
15 #include "wordlist.h"
16 
17 #define STUB_API "cache_cf.cc"
18 #include "tests/STUB.h"
19 
20 #include "cache_cf.h"
21 const char *cfg_directive = nullptr;
22 const char *cfg_filename = nullptr;
23 int config_lineno = 0;
25 void self_destruct(void) STUB
26 void parse_int(int *) STUB
27 void parse_onoff(int *) STUB
28 void parse_eol(char *volatile *) STUB
30 void requirePathnameExists(const char *, const char *) STUB_NOP
31 void parse_time_t(time_t *) STUB
32 void ConfigParser::ParseUShort(unsigned short *) STUB
34 void parseBytesOptionValue(size_t *, const char *, char const *) STUB
35 void dump_acl_access(StoreEntry *, const char *, acl_access *) STUB
37 
void parse_int(int *var)
Definition: cache_cf.cc:2540
#define BUFSIZ
Definition: defines.h:20
void parseBytesOptionValue(size_t *bptr, const char *units, char const *value)
Parse bytes number from a string.
Definition: cache_cf.cc:1395
const char * cfg_filename
void requirePathnameExists(const char *name, const char *path)
Definition: cache_cf.cc:3926
int config_lineno
void parse_time_t(time_t *var)
Definition: cache_cf.cc:2952
void dump_acl_access(StoreEntry *entry, const char *name, acl_access *head)
Definition: cache_cf.cc:1511
void parse_eol(char *volatile *var)
Definition: cache_cf.cc:2898
#define STUB
macro to stub a void function.
Definition: STUB.h:34
static void ParseWordList(wordlist **list)
Definition: cache_cf.cc:3128
void dump_acl_list(StoreEntry *entry, ACLList *head)
Definition: cache_cf.cc:1503
const char * cfg_directive
During parsing, the name of the current squid.conf directive being parsed.
char config_input_line[BUFSIZ]
#define STUB_NOP
Definition: STUB.h:38
void parse_onoff(int *var)
Definition: cache_cf.cc:2580
void self_destruct(void) STUB void parse_int(int *) STUB void parse_onoff(int *) STUB void parse_eol(char *volatile *) STUB void parse_wordlist(wordlist **) STUB void requirePathnameExists(const char *
void parse_wordlist(wordlist **list)
Definition: cache_cf.cc:3134
static void ParseUShort(unsigned short *var)
Definition: cache_cf.cc:3100

 

Introduction

Documentation

Support

Miscellaneous