Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

mod_cplusplus.c File Reference

#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

Define Documentation

#define PLUS_INHERIT parent,
child,
field   )     ((child)->field? (child)->field : (parent)->field)
 


Function Documentation

static const char* add_conn_input_filter cmd_parms *  cmd,
void *  config,
const char *  name
[static]
 

static const char* add_conn_output_filter cmd_parms *  cmd,
void *  config,
const char *  name
[static]
 

static const char* add_dir_handler cmd_parms *  cmd,
void *  config,
const char *  name
[static]
 

static const char* add_dir_input_filter cmd_parms *  cmd,
void *  config,
const char *  name
[static]
 

static const char* add_dir_output_filter cmd_parms *  cmd,
void *  config,
const char *  name
[static]
 

static const char* add_handler cmd_parms *  cmd,
void *  config,
const char *  name,
const char *  path_to_so
[static]
 

static const char* add_protocol_handler cmd_parms *  cmd,
void *  config,
const char *  name
[static]
 

static void* create_cpp_config apr_pool_t *  p,
char *  dummy
[static]
 

static void* create_cpp_server_config apr_pool_t *  p,
server_rec *  s
[static]
 

static void* merge_cpp_config apr_pool_t *  pool,
void *  base,
void *  overrides
[static]
 

static const char* pass_server_var cmd_parms *  cmd,
void *  config,
const char *  name,
const char *  value
[static]
 

static const char* pass_var cmd_parms *  cmd,
void *  config,
const char *  name,
const char *  value
[static]
 

static void register_hooks apr_pool_t *  p  )  [static]
 


Variable Documentation

module AP_MODULE_DECLARE_DATA cplusplus_module
 

Initial value:

const command_rec cpp_cmds[] [static]
 

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}
}


Generated on Sun Apr 3 15:38:42 2005 for mod_cplusplus by  doxygen 1.4.2