#include "mod_cplusplus.h"
Defines | |
#define | PLUS_INHERIT(parent, child, field) ((child)->field? (child)->field : (parent)->field) |
Functions | |
static void | register_hooks (apr_pool_t *p) |
static void * | merge_cpp_config (apr_pool_t *pool, void *base, void *overrides) |
static void * | create_cpp_config (apr_pool_t *p, char *dummy) |
static void * | create_cpp_server_config (apr_pool_t *p, server_rec *s) |
static const char * | add_handler (cmd_parms *cmd, void *config, const char *name, const char *path_to_so) |
static const char * | pass_server_var (cmd_parms *cmd, void *config, const char *name, const char *value) |
static const char * | pass_var (cmd_parms *cmd, void *config, const char *name, const char *value) |
static const char * | add_dir_handler (cmd_parms *cmd, void *config, const char *name) |
static const char * | add_protocol_handler (cmd_parms *cmd, void *config, const char *name) |
static const char * | add_conn_input_filter (cmd_parms *cmd, void *config, const char *name) |
static const char * | add_conn_output_filter (cmd_parms *cmd, void *config, const char *name) |
static const char * | add_dir_input_filter (cmd_parms *cmd, void *config, const char *name) |
static const char * | add_dir_output_filter (cmd_parms *cmd, void *config, const char *name) |
Variables | |
static const command_rec | cpp_cmds [] |
module AP_MODULE_DECLARE_DATA | cplusplus_module |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: { STANDARD20_MODULE_STUFF, create_cpp_config, merge_cpp_config, create_cpp_server_config, NULL, cpp_cmds, register_hooks } |
|
Initial value: { AP_INIT_TAKE2("LoadCPPHandler", add_handler, NULL, RSRC_CONF, "cpp initializer"), AP_INIT_TAKE1("AddCPPHandler", add_dir_handler, NULL, OR_FILEINFO, "add handler"), AP_INIT_TAKE1("AddCPPInputFilter", add_dir_input_filter, NULL, OR_FILEINFO, "add input filter"), AP_INIT_TAKE1("AddCPPOutputFilter", add_dir_output_filter, NULL, OR_FILEINFO, "add output filter"), AP_INIT_TAKE1("AddCPPConnectionInputFilter", add_conn_input_filter, NULL, RSRC_CONF, "add connection_input filter"), AP_INIT_TAKE1("AddCPPConnectionOutputFilter", add_conn_output_filter, NULL, RSRC_CONF, "add connection_output filter"), AP_INIT_TAKE1("AddCPPProtocol", add_protocol_handler, NULL, RSRC_CONF, "add protocol handler"), AP_INIT_TAKE2("PassCPPVar", pass_var, NULL, OR_FILEINFO, "pass var to cpp handlers via request config (per dir)"), AP_INIT_TAKE2("PassCPPServerVar", pass_server_var, NULL, RSRC_CONF, "pass var to cpp handlers via server config"), {NULL} } |