|
Squid Web Cache master
|
Classes | |
| class | FmtConfig |
| The set of custom formats defined in squid.conf. More... | |
| class | Format |
| class | Token |
| class | TokenNamespace |
| class | TokenTableEntry |
| One entry in a table of format tokens. More... | |
Functions | |
| size_t | AssembleOne (const char *start, MemBuf &buf, const AccessLogEntryPointer &ale) |
| char * | QuoteUrlEncodeUsername (const char *name) |
| char * | QuoteMimeBlob (const char *header) |
Variables | |
| FmtConfig | TheConfig |
| const SBuf | Dash |
| static TokenTableEntry | TokenTable1C [] |
| 1-char tokens. | |
| static TokenTableEntry | TokenTable2C [] |
| 2-char tokens | |
| static TokenTableEntry | TokenTableMisc [] |
| Miscellaneous >2 byte tokens. | |
| static TokenTableEntry | TokenTableProxyProtocol [] |
| static TokenTableEntry | TokenTableTransport [] |
| static TokenTableEntry | TokenTableAdapt [] |
| static TokenTableEntry | TokenTableIcap [] |
| ICAP (icap::) tokens. | |
| static TokenTableEntry | TokenTableSsl [] |
| enum Format::ByteCode_t |
Definition at line 30 of file ByteCode.h.
| enum Format::Quoting |
| Enumerator | |
|---|---|
| LOG_QUOTE_NONE | |
| LOG_QUOTE_QUOTES | |
| LOG_QUOTE_MIMEBLOB | |
| LOG_QUOTE_URL | |
| LOG_QUOTE_SHELL | |
| LOG_QUOTE_RAW | |
Definition at line 262 of file ByteCode.h.
| size_t Format::AssembleOne | ( | const char * | start, |
| MemBuf & | buf, | ||
| const AccessLogEntryPointer & | ale | ||
| ) |
Compiles a single logformat code expression into the given buffer. Ignores any input characters after the expression.
| start | where the logformat expression begins |
Definition at line 99 of file Format.cc.
References MemBuf::append(), Format::Format::assemble(), assert, Format::Format::format, LOG_QUOTE_NONE, and Format::Token::parse().
Referenced by ErrorState::compileLogformatCode().
| char * Format::QuoteMimeBlob | ( | const char * | header | ) |
URL-style encoding on a MIME headers blob. May accept NULL or empty strings.
Definition at line 43 of file Quoting.cc.
References c2x, and xcalloc().
Referenced by Format::Format::assemble(), Log::Format::HttpdCombined(), Log::Format::HttpdCommon(), Helper::Client::packStatsInto(), QuoteUrlEncodeUsername(), and Log::Format::SquidNative().
| char * Format::QuoteUrlEncodeUsername | ( | const char * | name | ) |
Safely URL-encode a username. Accepts NULL or empty strings.
Definition at line 31 of file Quoting.cc.
References QuoteMimeBlob().
Referenced by Log::Format::HttpdCombined(), Log::Format::HttpdCommon(), Log::Format::SquidIcap(), and Log::Format::SquidNative().
|
extern |
Referenced by accessLogLogTo(), and Log::Format::SquidReferer().
|
extern |
Definition at line 14 of file Config.cc.
Referenced by Format::Token::Init(), and Format::Token::parse().
|
static |
Definition at line 26 of file Token.cc.
Referenced by Format::Token::parse().
|
static |
Definition at line 49 of file Token.cc.
Referenced by Format::Token::parse().
|
static |
Definition at line 195 of file Token.cc.
Referenced by Format::Token::Init().
|
static |
Definition at line 205 of file Token.cc.
Referenced by Format::Token::Init().
|
static |
Definition at line 141 of file Token.cc.
Referenced by Format::Token::parse().
|
static |
Definition at line 184 of file Token.cc.
Referenced by Format::Token::Init().
|
static |
Definition at line 231 of file Token.cc.
Referenced by Format::Token::Init().
|
static |
Definition at line 189 of file Token.cc.
Referenced by Format::Token::Init().