|
|
| version 1.8, 2010/11/23 00:00:32 | version 1.9, 2010/11/23 00:07:33 |
|---|---|
| Line 65 static Parser_module_config *our_dconfig | Line 65 static Parser_module_config *our_dconfig |
| return (Parser_module_config *) ap_get_module_config(r->per_dir_config, &parser3_module); | return (Parser_module_config *) ap_get_module_config(r->per_dir_config, &parser3_module); |
| } | } |
| static const char* cmd_parser_config(cmd_parms *cmd, void *mconfig, char *file_spec) { | static const char* cmd_parser_config(cmd_parms *cmd, void *mconfig, const char *file_spec) { |
| Parser_module_config *cfg = (Parser_module_config *) mconfig; | Parser_module_config *cfg = (Parser_module_config *) mconfig; |
| cfg->parser_config_filespec=file_spec; | cfg->parser_config_filespec=file_spec; |
| return NULL; | return NULL; |
| Line 146 static void *parser_create_server_config | Line 146 static void *parser_create_server_config |
| */ | */ |
| static const command_rec parser_cmds[] = | static const command_rec parser_cmds[] = |
| { | { |
| { | { "ParserConfig", (cmd_func)cmd_parser_config, 0, OR_OPTIONS, TAKE1, "Parser config filespec" }, |
| "ParserConfig", /* directive name */ | { NULL } |
| (const char* (*)(void))((void *)cmd_parser_config), // config action routine | |
| (void*)0, /* argument to include in call */ | |
| (int)(OR_OPTIONS), /* where available */ | |
| TAKE1, /* arguments */ | |
| "Parser config filespec" // directive description | |
| }, | |
| {NULL} | |
| }; | }; |
| /*--------------------------------------------------------------------------*/ | /*--------------------------------------------------------------------------*/ |