cache_cf.h File Reference

Go to the source code of this file.

Functions

void configFreeMemory (void)
 
void self_destruct (void)
 
void add_http_port (char *portspec)
 
void parse_int (int *var)
 
void parse_onoff (int *var)
 
void parse_eol (char *volatile *var)
 
void parse_wordlist (wordlist **list)
 
void requirePathnameExists (const char *name, const char *path)
 
void parse_time_t (time_t *var)
 
void parseBytesOptionValue (size_t *bptr, const char *units, char const *value)
 Parse bytes number from a string. More...
 

Variables

const char * cfg_directive
 During parsing, the name of the current squid.conf directive being parsed. More...
 
const char * cfg_filename
 
int config_lineno
 
char config_input_line [BUFSIZ]
 

Function Documentation

◆ add_http_port()

void add_http_port ( char *  portspec)

Definition at line 3716 of file cache_cf.cc.

References assert, HttpPortList, parsePortProtocol(), and parsePortSpecification().

Referenced by mainHandleCommandLineOption().

◆ configFreeMemory()

void configFreeMemory ( void  )

◆ parse_eol()

void parse_eol ( char *volatile *  var)

◆ parse_int()

void parse_int ( int var)

Definition at line 2546 of file cache_cf.cc.

References GetInteger().

Referenced by parse_obsolete(), and parse_pipelinePrefetch().

◆ parse_onoff()

◆ parse_time_t()

void parse_time_t ( time_t *  var)

Definition at line 2958 of file cache_cf.cc.

References max(), TexcHere, and ToSBuf().

Referenced by parse_icap_service_failure_limit().

◆ parse_wordlist()

◆ parseBytesOptionValue()

void parseBytesOptionValue ( size_t bptr,
const char *  units,
char const *  value 
)

Parse bytes from a string. Similar to the parseBytesLine function but parses the string value instead of the current token value.

Definition at line 1391 of file cache_cf.cc.

References parseBytesUnits(), self_destruct(), and xatoi().

Referenced by Security::ServerOptions::parse(), and FormattedLog::parseOptions().

◆ requirePathnameExists()

void requirePathnameExists ( const char *  name,
const char *  path 
)

◆ self_destruct()

void self_destruct ( void  )

Definition at line 277 of file cache_cf.cc.

References ConfigParser::destruct(), and LegacyParser.

Referenced by ErrorDynamicPageInfo::ErrorDynamicPageInfo(), aclDomainCompare(), configDoConfigure(), dump_wccp2_amethod(), dump_wccp2_method(), acl_ip_data::FactoryParse(), GetInteger(), GetInteger64(), GetPercentage(), GetService(), GetShort(), Acl::InnerNode::lineParse(), mainReconfigureFinish(), Acl::Make(), ConfigParser::NextToken(), Fs::Ufs::UFSSwapDir::optionIOParse(), Store::Disk::optionObjectSizeParse(), DelaySpec::parse(), IcmpConfig::parse(), ACLAdaptationServiceData::parse(), ACLAnnotationData::parse(), ACLCertificateData::parse(), ACLHasComponentData::parse(), ACLIntRange::parse(), ACLSquidErrorData::parse(), ACLTimeData::parse(), ACLExternal::parse(), Security::ServerOptions::parse(), Auth::SchemeConfig::parse(), parse_access_log(), parse_acl_tos(), parse_address(), parse_authparam(), parse_AuthSchemes(), parse_CpuAffinityMap(), parse_eol(), parse_externalAclHelper(), parse_ftp_epsv(), parse_HeaderWithAclList(), parse_hostdomaintype(), parse_icap_service_failure_limit(), parse_IpAddress_list(), parse_memcachemode(), parse_obsolete(), parse_on_unsupported_protocol(), parse_onoff(), parse_peer(), parse_pipelinePrefetch(), parse_port_option(), parse_sslproxy_cert_adapt(), parse_sslproxy_cert_sign(), parse_sslproxy_ssl_bump(), parse_string(), parse_TokenOrQuotedString(), parse_tristate(), parse_uri_whitespace(), parse_UrlHelperTimeout(), parse_wccp2_amethod(), parse_wccp2_method(), parse_wccp2_service(), parse_wccp2_service_info(), ConfigParser::ParseBool(), parseBytesLine(), parseBytesLine64(), parseBytesLineSigned(), parseBytesOptionValue(), ACLHasComponentData::parseComponent(), Helper::ChildConfig::parseConfig(), parseConfigFile(), Ip::Qos::Config::parseConfigLine(), Format::FmtConfig::parseFormats(), Log::LogConfig::parseFormats(), XactionInitiator::ParseInitiators(), parseOneConfigFile(), Store::Disk::parseOptions(), parsePortCfg(), parsePortSpecification(), Rock::SwapDir::parseRateOption(), MessageDelayConfig::parseResponseDelayPool(), Rock::SwapDir::parseSizeOption(), Rock::SwapDir::parseTimeOption(), ConfigParser::RegexStrtokFile(), ConfigParser::TokenParse(), ConfigParser::UnQuote(), xatof(), xatoi(), xatol(), xatoll(), and xatos().

Variable Documentation

◆ cfg_directive

◆ cfg_filename

◆ config_input_line

◆ config_lineno

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors