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"
21const char *cfg_directive = nullptr;
22const char *cfg_filename = nullptr;
26void parse_int(int *) STUB
27void parse_onoff(int *) STUB
28void parse_eol(char *volatile *) STUB
30void requirePathnameExists(const char *, const char *) STUB_NOP
31void parse_time_t(time_t *) STUB
32void ConfigParser::ParseUShort(unsigned short *) STUB
34void parseBytesOptionValue(size_t *, const char *, char const *) STUB
35void dump_acl_access(StoreEntry *, const char *, acl_access *) STUB
37
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_NOP
Definition: STUB.h:37
#define acl_access
Definition: forward.h:45
#define ACLList
Definition: forward.h:46
void parse_time_t(time_t *var)
Definition: cache_cf.cc:2958
void parse_onoff(int *var)
Definition: cache_cf.cc:2586
void parse_wordlist(wordlist **list)
Definition: cache_cf.cc:3140
void parse_int(int *var)
Definition: cache_cf.cc:2546
void requirePathnameExists(const char *name, const char *path)
Definition: cache_cf.cc:3929
void parse_eol(char *volatile *var)
Definition: cache_cf.cc:2904
void parseBytesOptionValue(size_t *bptr, const char *units, char const *value)
Parse bytes number from a string.
Definition: cache_cf.cc:1391
static void ParseUShort(unsigned short *var)
Definition: cache_cf.cc:3106
static void ParseWordList(wordlist **list)
Definition: cache_cf.cc:3134
#define BUFSIZ
Definition: defines.h:20
void dump_acl_list(StoreEntry *entry, ACLList *head)
Definition: cache_cf.cc:1508
void dump_acl_access(StoreEntry *entry, const char *name, acl_access *head)
Definition: cache_cf.cc:1516
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 *
const char * cfg_directive
During parsing, the name of the current squid.conf directive being parsed.
char config_input_line[BUFSIZ]
const char * cfg_filename
int config_lineno

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors