[svn:mod_parrot] r434 - mod_parrot/branches/hll-modules/src
[email protected] Fri, 19 Sep 2008 11:53:39 -0700 (PDT)
| Newsgroups | perl.cvs.mod_parrot |
|---|---|
| Message-ID | <[email protected]> |
Author: jhorwitz
Date: Fri Sep 19 11:53:38 2008
New Revision: 434
Modified:
mod_parrot/branches/hll-modules/src/modparrot_config.c
Log:
remove Parrot*Handler config callbacks
Modified: mod_parrot/branches/hll-modules/src/modparrot_config.c
==============================================================================
--- mod_parrot/branches/hll-modules/src/modparrot_config.c (original)
+++ mod_parrot/branches/hll-modules/src/modparrot_config.c Fri Sep 19 11:53:38 2008
@@ -327,186 +327,6 @@
return NULL;
}
-const char *modparrot_cmd_open_logs_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_srv_config *cfg;
-
- cfg = GET_SERVER_CONFIG(cmd);
- cfg->open_logs_handler = parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_post_config_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_srv_config *cfg;
-
- cfg = GET_SERVER_CONFIG(cmd);
- cfg->post_config_handler =parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_child_init_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_srv_config *cfg;
-
- cfg = GET_SERVER_CONFIG(cmd);
- cfg->child_init_handler =parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_child_exit_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_srv_config *cfg;
-
- cfg = GET_SERVER_CONFIG(cmd);
- cfg->child_exit_handler =parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_pre_connection_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_srv_config *cfg;
-
- cfg = GET_SERVER_CONFIG(cmd);
- cfg->pre_connection_handler =parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_process_connection_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_srv_config *cfg;
-
- cfg = GET_SERVER_CONFIG(cmd);
- cfg->process_connection_handler =parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_map_to_storage_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_srv_config *cfg;
-
- cfg = GET_SERVER_CONFIG(cmd);
- cfg->map_to_storage_handler =parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_trans_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_srv_config *cfg;
-
- cfg = GET_SERVER_CONFIG(cmd);
- cfg->trans_handler =parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_post_read_request_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_srv_config *cfg;
-
- cfg = GET_SERVER_CONFIG(cmd);
- cfg->post_read_request_handler =parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_input_filter_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_dir_config *cfg;
-
- cfg = (modparrot_dir_config *)mconfig;
- cfg->input_filter_handler = parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_output_filter_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_dir_config *cfg;
-
- cfg = (modparrot_dir_config *)mconfig;
- cfg->output_filter_handler = parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_header_parser_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_dir_config *cfg;
-
- cfg = (modparrot_dir_config *)mconfig;
- cfg->header_parser_handler = parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_dir_config *cfg;
-
- cfg = (modparrot_dir_config *)mconfig;
- cfg->handler = parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_access_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_dir_config *cfg;
-
- cfg = (modparrot_dir_config *)mconfig;
- cfg->access_handler = parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_authen_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_dir_config *cfg;
-
- cfg = (modparrot_dir_config *)mconfig;
- cfg->authen_handler = parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_authz_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_dir_config *cfg;
-
- cfg = (modparrot_dir_config *)mconfig;
- cfg->authz_handler = parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_type_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_dir_config *cfg;
-
- cfg = (modparrot_dir_config *)mconfig;
- cfg->type_handler = parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_fixup_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_dir_config *cfg;
-
- cfg = (modparrot_dir_config *)mconfig;
- cfg->fixup_handler = parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_log_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_dir_config *cfg;
-
- cfg = (modparrot_dir_config *)mconfig;
- cfg->log_handler = parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
-const char *modparrot_cmd_cleanup_handler(cmd_parms *cmd, void *mconfig, const char *handler)
-{
- modparrot_dir_config *cfg;
-
- cfg = (modparrot_dir_config *)mconfig;
- cfg->cleanup_handler = parse_handler(cmd->pool, handler, NULL);
- return NULL;
-}
-
const char *modparrot_cmd_language(cmd_parms *cmd, void *mconfig, const char *hll)
{
modparrot_dir_config *cfg;