|
Webserv
|
Namespaces | |
| namespace | details |
Classes | |
| class | AliasDirective |
| class | AllowMethodsDirective |
| class | ArgumentFactory |
| class | AutoIndexDirective |
| class | Block |
| Base class for configuration blocks like 'server' and 'location'. More... | |
| class | Bool |
| class | CgiPassDirective |
| class | ClientMaxBodySize |
| class | ConcatenatedValue |
| class | ConfigError |
| class | ConfigException |
| class | ConfigNode |
| A generic node representing a block in the configuration file. More... | |
| class | ConfigWarning |
| class | DirectiveHandler |
| class | ErrorPageDirective |
| class | IArgument |
| interface | IDirective |
| Defines the contract for a configuration directive handler. More... | |
| class | IndexDirective |
| class | Integer |
| class | Lexer |
| A static utility class that performs lexical analysis on a config string. More... | |
| class | ListenDirective |
| class | LocationBlock |
| Represents a single 'location' block from the configuration file. More... | |
| class | Mapper |
| Translates a generic ConfigNode tree into strongly-typed config blocks. More... | |
| class | Parser |
| Performs syntax analysis on a stream of tokens to build a configuration tree. More... | |
| class | ReturnDirective |
| class | RootDirective |
| class | ServerBlock |
| Represents a single 'server' block from the configuration file. More... | |
| class | ServerConfig |
| A strongly-typed data container for a server block's configuration. More... | |
| class | ServerNameDirective |
| class | String |
| struct | Token |
| Represents a single lexical token with a type and a literal value. More... | |
| class | UploadPathDirective |
| class | Validator |
| Performs semantic validation on mapped configuration blocks. More... | |
| class | ValidatorUtils |
| Static utility class for common configuration validation tasks. More... | |
| class | Variable |
Typedefs | |
| typedef enum config::TokenType | TokenType |
| typedef struct config::Token | Token |
| typedef std::vector< Token > | ParsedDirectiveArgs |
| typedef std::map< std::string, ParsedDirectiveArgs > | ParsedDirectiveMap |
| typedef std::pair< std::string, ParsedDirectiveArgs > | ParsedDirectivePair |
| typedef std::vector< ConfigNode > | ConfigNodeVec |
| typedef IArgument * | ArgumentPtr |
| typedef std::vector< ArgumentPtr > | ArgumentVector |
| typedef std::map< std::string, ArgumentVector > | DirectiveMap |
| typedef std::vector< Token > | TokenArray |
| typedef std::map< std::string, LocationBlock > | LocationBlockMap |
| typedef std::vector< ServerBlock > | ServerBlockVec |
| typedef std::map< int, ServerBlockVec > | ServerBlockMap |
| typedef std::string(* | FuncVar) (http::Request const &req) |
| typedef std::map< std::string, FuncVar > | FuncMap |
Enumerations | |
| enum | ArgumentType { ARG_STRING , ARG_INTEGER , ARG_VARIABLE , ARG_CONCATENATED , ARG_BOOL } |
| enum | TokenType { IDENTIFIER , STRING , NUMBER , ENDPOINT , LEFT_BRACE , RIGHT_BRACE , SEMICOLON , UNKNOWN , END_OF_FILE } |
| Represents the type of a lexical token. More... | |
Functions | |
| char const * | getArgumentTypeName (ArgumentType) |
| void | issue_warning (const std::string &msg) |
| std::ostream & | operator<< (std::ostream &o, Token const &t) |
| std::ostream & | operator<< (std::ostream &o, TokenType const t) |
| std::ostream & | operator<< (std::ostream &o, LocationBlock const &t) |
| std::ostream & | operator<< (std::ostream &o, ServerConfig const &t) |
| bool | isValidVariableChar (char c) |
| size_t | getVariableLength (std::string const &s, size_t pos) |
| FuncMap const & | getMap () |
| std::string | HostFunc (http::Request const &req) |
| std::ostream & | operator<< (std::ostream &o, Block const &b) |
| std::ostream & | operator<< (std::ostream &o, const ServerBlock &t) |
| typedef IArgument* config::ArgumentPtr |
| typedef std::vector<ArgumentPtr> config::ArgumentVector |
| typedef std::vector<ConfigNode> config::ConfigNodeVec |
| typedef std::map<std::string, ArgumentVector> config::DirectiveMap |
| typedef std::map<std::string, FuncVar> config::FuncMap |
| typedef std::string(* config::FuncVar) (http::Request const &req) |
| typedef std::map<std::string, LocationBlock> config::LocationBlockMap |
| typedef std::vector<Token> config::ParsedDirectiveArgs |
| typedef std::map<std::string, ParsedDirectiveArgs> config::ParsedDirectiveMap |
| typedef std::pair<std::string, ParsedDirectiveArgs> config::ParsedDirectivePair |
| typedef std::map<int, ServerBlockVec> config::ServerBlockMap |
| typedef std::vector<ServerBlock> config::ServerBlockVec |
| typedef struct config::Token config::Token |
| typedef std::vector<Token> config::TokenArray |
| typedef enum config::TokenType config::TokenType |
| enum config::ArgumentType |
| enum config::TokenType |
Represents the type of a lexical token.
| char const * config::getArgumentTypeName | ( | ArgumentType | type | ) |
| FuncMap const & config::getMap | ( | ) |
| size_t config::getVariableLength | ( | std::string const & | s, |
| size_t | pos ) |
| std::string config::HostFunc | ( | http::Request const & | req | ) |
| void config::issue_warning | ( | const std::string & | msg | ) |
| bool config::isValidVariableChar | ( | char | c | ) |
| std::ostream & config::operator<< | ( | std::ostream & | o, |
| Block const & | b ) |
| std::ostream & config::operator<< | ( | std::ostream & | o, |
| const ServerBlock & | t ) |
| std::ostream & config::operator<< | ( | std::ostream & | o, |
| LocationBlock const & | t ) |
| std::ostream & config::operator<< | ( | std::ostream & | o, |
| ServerConfig const & | t ) |
| std::ostream & config::operator<< | ( | std::ostream & | o, |
| Token const & | t ) |
| std::ostream & config::operator<< | ( | std::ostream & | o, |
| TokenType const | t ) |