stub_cache_cf.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2021 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:2575
#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:1396
const char * cfg_filename
#define ACLList
Definition: forward.h:46
void requirePathnameExists(const char *name, const char *path)
Definition: cache_cf.cc:3995
int config_lineno
void parse_time_t(time_t *var)
Definition: cache_cf.cc:3024
void dump_acl_access(StoreEntry *entry, const char *name, acl_access *head)
Definition: cache_cf.cc:1521
void parse_eol(char *volatile *var)
Definition: cache_cf.cc:2971
#define STUB
macro to stub a void function.
Definition: STUB.h:33
static void ParseWordList(wordlist **list)
Definition: cache_cf.cc:3199
void dump_acl_list(StoreEntry *entry, ACLList *head)
Definition: cache_cf.cc:1513
const char * cfg_directive
During parsing, the name of the current squid.conf directive being parsed.
char config_input_line[BUFSIZ]
#define acl_access
Definition: forward.h:45
#define STUB_NOP
Definition: STUB.h:37
void parse_onoff(int *var)
Definition: cache_cf.cc:2615
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:3205
static void ParseUShort(unsigned short *var)
Definition: cache_cf.cc:3171

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors