dougm 01/03/25 14:32:11
Modified: xs/maps apache_functions.map apache_structures.map
Added: xs/Apache/Command Apache__Command.h
xs/Apache/Directive Apache__Directive.h
xs/Apache/Module Apache__Module.h
Log:
enabled Apache::{Directive,Command,Module} modules
add wrappers to access ap_conftree, "command_rec->next" and top_module
Revision Changes Path
1.1 modperl-2.0/xs/Apache/Command/Apache__Command.h
Index: Apache__Command.h
===================================================================
#define mpxs_Apache__Command_next(cmd) \
(++cmd, ((cmd && cmd->name) ? cmd : NULL))
1.1 modperl-2.0/xs/Apache/Directive/Apache__Directive.h
Index: Apache__Directive.h
===================================================================
#define mpxs_Apache__Directive_conftree(CLASS) \
(CLASS ? ap_conftree : ap_conftree)
1.1 modperl-2.0/xs/Apache/Module/Apache__Module.h
Index: Apache__Module.h
===================================================================
#define mpxs_Apache__Module_top_module(CLASS) \
(CLASS ? top_module : top_module)
1.7 +9 -6 modperl-2.0/xs/maps/apache_functions.map
Index: apache_functions.map
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/maps/apache_functions.map,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- apache_functions.map 2001/03/17 17:33:03 1.6
+++ apache_functions.map 2001/03/25 22:32:11 1.7
@@ -150,7 +150,8 @@
>ap_open_stderr_log
>ap_open_logs
-!MODULE=Apache::Module
+MODULE=Apache::Module
+ module *:DEFINE_top_module | | SV *:CLASS
-ap_add_loaded_module
-ap_add_module
-ap_add_named_module
@@ -164,10 +165,11 @@
>ap_show_modules
>ap_register_hooks
-!MODULE=Apache::Directive
- ap_add_node
- ap_build_config
- ap_build_cont_config
+MODULE=Apache::Directive
+ ap_directive_t *:DEFINE_conftree | | SV *:CLASS
+!ap_add_node
+!ap_build_config
+!ap_build_cont_config
ap_walk_config
>ap_process_config_tree
@@ -216,7 +218,8 @@
>ap_parse_htaccess
>ap_process_resource_config
-!MODULE=Apache::Command
+MODULE=Apache::Command
+ command_rec *:DEFINE_next | | command_rec *:cmd
ap_check_cmd_context
ap_soak_end_container
-ap_set_file_slot
1.2 +3 -3 modperl-2.0/xs/maps/apache_structures.map
Index: apache_structures.map
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/maps/apache_structures.map,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- apache_structures.map 2001/03/05 03:49:12 1.1
+++ apache_structures.map 2001/03/25 22:32:11 1.2
@@ -126,7 +126,7 @@
virthost
</server_addr_rec>
-!<module>
+<module>
version
minor_version
module_index
@@ -151,7 +151,7 @@
short_name
</process_rec>
-!<command_rec>
+<command_rec>
name
func
cmd_data
@@ -180,7 +180,7 @@
method_list
</ap_method_list_t>
-!<ap_directive_t>
+<ap_directive_t>
directive
args
next