enables efficient debugging with concise field names: Hello.version.major More...
#include <BinaryTokenizer.h>

Public Member Functions | |
| BinaryTokenizerContext (BinaryTokenizer &tk, const char *aName) | |
| starts parsing named object More... | |
| ~BinaryTokenizerContext () | |
| void | close () |
| ends parsing named object; repeated calls OK More... | |
| void | success () |
| reports successful parsing of a named object and calls close() More... | |
Public Attributes | |
| BinaryTokenizer & | tokenizer |
| tokenizer being used for parsing More... | |
| const BinaryTokenizerContext *const | parent |
| enclosing context or nullptr More... | |
| const char *const | name |
| this context description or nullptr More... | |
| uint64_t | start |
| context parsing begins at this tokenizer position More... | |
Detailed Description
Definition at line 22 of file BinaryTokenizer.h.
Constructor & Destructor Documentation
◆ BinaryTokenizerContext()
|
inlineexplicit |
Definition at line 136 of file BinaryTokenizer.h.
References Parser::BinaryTokenizer::context.
◆ ~BinaryTokenizerContext()
|
inline |
Definition at line 27 of file BinaryTokenizer.h.
References close().
Member Function Documentation
◆ close()
|
inline |
Definition at line 147 of file BinaryTokenizer.h.
References Parser::BinaryTokenizer::context, parent, and tokenizer.
Referenced by success(), and ~BinaryTokenizerContext().
◆ success()
|
inline |
Definition at line 153 of file BinaryTokenizer.h.
References close(), Parser::BinaryTokenizer::got(), Parser::BinaryTokenizer::parsed(), start, and tokenizer.
Referenced by Security::Alert::Alert(), Security::Extension::Extension(), Security::Handshake::Handshake(), Security::HandshakeParser::parseClientHelloHandshakeMessage(), Security::HandshakeParser::parseServerHelloHandshakeMessage(), Security::HandshakeParser::parseSniExtension(), Security::HandshakeParser::parseVersion2HandshakeMessage(), Security::Sslv2Record::Sslv2Record(), and Security::TLSPlaintext::TLSPlaintext().
Member Data Documentation
◆ name
| const char* const Parser::BinaryTokenizerContext::name |
Definition at line 37 of file BinaryTokenizer.h.
Referenced by operator<<().
◆ parent
| const BinaryTokenizerContext* const Parser::BinaryTokenizerContext::parent |
Definition at line 36 of file BinaryTokenizer.h.
Referenced by close(), and operator<<().
◆ start
| uint64_t Parser::BinaryTokenizerContext::start |
Definition at line 38 of file BinaryTokenizer.h.
Referenced by success().
◆ tokenizer
| BinaryTokenizer& Parser::BinaryTokenizerContext::tokenizer |
Definition at line 35 of file BinaryTokenizer.h.
The documentation for this class was generated from the following file:
- src/parser/BinaryTokenizer.h
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
