With a small problem, 'make source_scan' works for me!!! I've attached the whole thing (and not inlined, since you can generate it yourself :)! I wanted to ask why on my side I seemingly get a better scanning. If you look at the snippet below, the previous var names seem to be "badly" parsed. @@ -3634,24 +3704,24 @@ 'name' => 'level' }, { - 'type' => 'apr_status_t status', - 'name' => 'arg3' + 'type' => 'apr_status_t', + 'name' => 'status' }, { 'type' => 'const server_rec *', 'name' => 's' }, { - 'type' => 'const request_rec *r', - 'name' => 'arg5' + 'type' => 'const request_rec *', + 'name' => 'r' }, { 'type' => 'apr_pool_t *', 'name' => 'pool' }, { - 'type' => 'const char *errstr', - 'name' => 'arg7' + 'type' => 'const char *', + 'name' => 'errstr' } ] }, @@ -4097,7 +4167,7 @@ ] }, { - 'return_type' => 'const char *', + 'return_type' => 'char *', 'name' => 'ap_server_root_relative', 'args' => [ { also are you sure that we need to have this kind of diffs? # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # ! WARNING: generated by Apache::ParseSource/0.02 -# ! Sun Aug 19 10:32:09 2001 +# ! Sun Aug 26 01:23:32 2001 # ! do NOT edit, any changes will be lost ! # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! what's the added value of having the date? We can always do 'cvs log file' to check the date if in doubt. Thanks! _____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Index: xs/tables/current/Apache/FunctionTable.pm =================================================================== RCS file: /home/cvs/modperl-2.0/xs/tables/current/Apache/FunctionTable.pm,v retrieving revision 1.14 diff -u -r1.14 FunctionTable.pm --- xs/tables/current/Apache/FunctionTable.pm 2001/08/19 17:31:49 1.14 +++ xs/tables/current/Apache/FunctionTable.pm 2001/08/25 17:20:41 @@ -2,7 +2,7 @@ # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # ! WARNING: generated by Apache::ParseSource/0.02 -# ! Sun Aug 19 10:32:09 2001 +# ! Sun Aug 26 01:23:32 2001 # ! do NOT edit, any changes will be lost ! # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! @@ -554,6 +554,26 @@ ] }, { + 'return_type' => 'apr_port_t', + 'name' => 'ap_default_port_for_request', + 'args' => [ + { + 'type' => 'const request_rec *', + 'name' => 'r' + } + ] + }, + { + 'return_type' => 'apr_port_t', + 'name' => 'ap_default_port_for_scheme', + 'args' => [ + { + 'type' => 'const char *', + 'name' => 'scheme_str' + } + ] + }, + { 'return_type' => 'const char *', 'name' => 'ap_default_type', 'args' => [ @@ -2996,6 +3016,38 @@ ] }, { + 'return_type' => 'int', + 'name' => 'ap_os_is_path_absolute', + 'args' => [ + { + 'type' => 'apr_pool_t *', + 'name' => 'p' + }, + { + 'type' => 'const char *', + 'name' => 'dir' + } + ] + }, + { + 'return_type' => 'int', + 'name' => 'ap_parse_hostinfo_components', + 'args' => [ + { + 'type' => 'apr_pool_t *', + 'name' => 'p' + }, + { + 'type' => 'const char *', + 'name' => 'hostinfo' + }, + { + 'type' => 'uri_components *', + 'name' => 'uptr' + } + ] + }, + { 'return_type' => 'void', 'name' => 'ap_parse_uri', 'args' => [ @@ -3010,6 +3062,24 @@ ] }, { + 'return_type' => 'int', + 'name' => 'ap_parse_uri_components', + 'args' => [ + { + 'type' => 'apr_pool_t *', + 'name' => 'p' + }, + { + 'type' => 'const char *', + 'name' => 'uri' + }, + { + 'type' => 'uri_components *', + 'name' => 'uptr' + } + ] + }, + { 'return_type' => 'const char *', 'name' => 'ap_parse_vhost_addrs', 'args' => [ @@ -3634,24 +3704,24 @@ 'name' => 'level' }, { - 'type' => 'apr_status_t status', - 'name' => 'arg3' + 'type' => 'apr_status_t', + 'name' => 'status' }, { 'type' => 'const server_rec *', 'name' => 's' }, { - 'type' => 'const request_rec *r', - 'name' => 'arg5' + 'type' => 'const request_rec *', + 'name' => 'r' }, { 'type' => 'apr_pool_t *', 'name' => 'pool' }, { - 'type' => 'const char *errstr', - 'name' => 'arg7' + 'type' => 'const char *', + 'name' => 'errstr' } ] }, @@ -4097,7 +4167,7 @@ ] }, { - 'return_type' => 'const char *', + 'return_type' => 'char *', 'name' => 'ap_server_root_relative', 'args' => [ { @@ -4609,6 +4679,24 @@ ] }, { + 'return_type' => 'char *', + 'name' => 'ap_unparse_uri_components', + 'args' => [ + { + 'type' => 'apr_pool_t *', + 'name' => 'p' + }, + { + 'type' => 'const uri_components *', + 'name' => 'uptr' + }, + { + 'type' => 'unsigned', + 'name' => 'flags' + } + ] + }, + { 'return_type' => 'int', 'name' => 'ap_update_child_status', 'args' => [ @@ -7257,6 +7345,42 @@ }, { 'return_type' => 'void', + 'name' => 'apr_hook_generic_add', + 'args' => [ + { + 'type' => 'const char *', + 'name' => 'szName' + }, + { + 'type' => 'void (*pfn)(void)', + 'name' => 'arg1' + }, + { + 'type' => 'const char * const *', + 'name' => 'aszPre' + }, + { + 'type' => 'const char * const *', + 'name' => 'aszSucc' + }, + { + 'type' => 'int', + 'name' => 'nOrder' + } + ] + }, + { + 'return_type' => 'apr_array_header_t *', + 'name' => 'apr_hook_generic_get', + 'args' => [ + { + 'type' => 'const char *', + 'name' => 'szName' + } + ] + }, + { + 'return_type' => 'void', 'name' => 'apr_hook_sort_register', 'args' => [ { @@ -7752,6 +7876,174 @@ }, { 'return_type' => 'apr_status_t', + 'name' => 'apr_memory_system_cleanup_register', + 'args' => [ + { + 'type' => 'apr_memory_system_t *', + 'name' => 'memory_system' + }, + { + 'type' => 'void *', + 'name' => 'data' + }, + { + 'type' => 'apr_status_t (*cleanup_fn)(void *)', + 'name' => 'arg2' + } + ] + }, + { + 'return_type' => 'apr_status_t', + 'name' => 'apr_memory_system_cleanup_run', + 'args' => [ + { + 'type' => 'apr_memory_system_t *', + 'name' => 'memory_system' + }, + { + 'type' => 'void *', + 'name' => 'data' + }, + { + 'type' => 'apr_status_t (*cleanup)(void *)', + 'name' => 'arg2' + } + ] + }, + { + 'return_type' => 'apr_status_t', + 'name' => 'apr_memory_system_cleanup_unregister', + 'args' => [ + { + 'type' => 'apr_memory_system_t *', + 'name' => 'memory_system' + }, + { + 'type' => 'void *', + 'name' => 'data' + }, + { + 'type' => 'apr_status_t (*cleanup)(void *)', + 'name' => 'arg2' + } + ] + }, + { + 'return_type' => 'apr_memory_system_t *', + 'name' => 'apr_memory_system_create', + 'args' => [ + { + 'type' => 'void *', + 'name' => 'memory' + }, + { + 'type' => 'apr_memory_system_t *', + 'name' => 'parent_memory_system' + } + ] + }, + { + 'return_type' => 'apr_status_t', + 'name' => 'apr_memory_system_destroy', + 'args' => [ + { + 'type' => 'apr_memory_system_t *', + 'name' => 'memory_system' + } + ] + }, + { + 'return_type' => 'apr_status_t', + 'name' => 'apr_memory_system_free', + 'args' => [ + { + 'type' => 'apr_memory_system_t *', + 'name' => 'memory_system' + }, + { + 'type' => 'void *', + 'name' => 'mem' + } + ] + }, + { + 'return_type' => 'apr_status_t', + 'name' => 'apr_memory_system_is_ancestor', + 'args' => [ + { + 'type' => 'apr_memory_system_t *', + 'name' => 'a' + }, + { + 'type' => 'apr_memory_system_t *', + 'name' => 'b' + } + ] + }, + { + 'return_type' => 'void *', + 'name' => 'apr_memory_system_malloc', + 'args' => [ + { + 'type' => 'apr_memory_system_t *', + 'name' => 'memory_system' + }, + { + 'type' => 'apr_size_t', + 'name' => 'size' + } + ] + }, + { + 'return_type' => 'void *', + 'name' => 'apr_memory_system_realloc', + 'args' => [ + { + 'type' => 'apr_memory_system_t *', + 'name' => 'memory_system' + }, + { + 'type' => 'void *', + 'name' => 'mem' + }, + { + 'type' => 'apr_size_t', + 'name' => 'size' + } + ] + }, + { + 'return_type' => 'apr_status_t', + 'name' => 'apr_memory_system_reset', + 'args' => [ + { + 'type' => 'apr_memory_system_t *', + 'name' => 'memory_system' + } + ] + }, + { + 'return_type' => 'void', + 'name' => 'apr_memory_system_threadsafe_lock', + 'args' => [ + { + 'type' => 'apr_memory_system_t *', + 'name' => 'memory_system' + } + ] + }, + { + 'return_type' => 'void', + 'name' => 'apr_memory_system_threadsafe_unlock', + 'args' => [ + { + 'type' => 'apr_memory_system_t *', + 'name' => 'memory_system' + } + ] + }, + { + 'return_type' => 'apr_status_t', 'name' => 'apr_mmap_create', 'args' => [ { @@ -10065,20 +10357,6 @@ }, { 'return_type' => 'apr_status_t', - 'name' => 'apr_sms_tracking_create', - 'args' => [ - { - 'type' => 'apr_sms_t **', - 'name' => 'mem_sys' - }, - { - 'type' => 'apr_sms_t *', - 'name' => 'pms' - } - ] - }, - { - 'return_type' => 'apr_status_t', 'name' => 'apr_sms_trivial_create', 'args' => [ { @@ -10406,6 +10684,16 @@ }, { 'return_type' => 'apr_status_t', + 'name' => 'apr_standard_memory_system_create', + 'args' => [ + { + 'type' => 'apr_memory_system_t **', + 'name' => 'memory_system' + } + ] + }, + { + 'return_type' => 'apr_status_t', 'name' => 'apr_stat', 'args' => [ { @@ -11085,6 +11373,20 @@ { 'type' => 'apr_pool_t *', 'name' => 'token_context' + } + ] + }, + { + 'return_type' => 'apr_status_t', + 'name' => 'apr_tracking_memory_system_create', + 'args' => [ + { + 'type' => 'apr_memory_system_t **', + 'name' => 'memory_system' + }, + { + 'type' => 'apr_memory_system_t *', + 'name' => 'parent_memory_system' } ] }, Index: xs/tables/current/Apache/StructureTable.pm =================================================================== RCS file: /home/cvs/modperl-2.0/xs/tables/current/Apache/StructureTable.pm,v retrieving revision 1.13 diff -u -r1.13 StructureTable.pm --- xs/tables/current/Apache/StructureTable.pm 2001/08/19 17:31:49 1.13 +++ xs/tables/current/Apache/StructureTable.pm 2001/08/25 17:20:41 @@ -2,7 +2,7 @@ # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # ! WARNING: generated by Apache::ParseSource/0.02 -# ! Sun Aug 19 10:32:11 2001 +# ! Sun Aug 26 01:23:35 2001 # ! do NOT edit, any changes will be lost ! # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! @@ -1053,7 +1053,7 @@ 'type' => 'apr_bucket', 'elts' => [ { - 'type' => '_ANON 40', + 'type' => '_ANON 62', 'name' => 'link' }, { @@ -1581,6 +1581,68 @@ ] }, { + 'type' => 'apr_memory_system_t', + 'elts' => [ + { + 'type' => 'apr_memory_system_t *', + 'name' => 'parent_memory_system' + }, + { + 'type' => 'apr_memory_system_t *', + 'name' => 'child_memory_system' + }, + { + 'type' => 'apr_memory_system_t *', + 'name' => 'sibling_memory_system' + }, + { + 'type' => 'apr_memory_system_t **', + 'name' => 'ref_memory_system' + }, + { + 'type' => 'apr_memory_system_t *', + 'name' => 'accounting_memory_system' + }, + { + 'type' => 'apr_memory_system_cleanup *', + 'name' => 'cleanups' + }, + { + 'type' => 'void *(*)(apr_memory_system_t *memory_system, apr_size_t size)', + 'name' => 'malloc_fn' + }, + { + 'type' => 'void *(*)(apr_memory_system_t *memory_system, void *memory, + apr_size_t size)', + 'name' => 'realloc_fn' + }, + { + 'type' => 'apr_status_t(*)(apr_memory_system_t *memory_system, void +*memory)', + 'name' => 'free_fn' + }, + { + 'type' => 'apr_status_t(*)(apr_memory_system_t *memory_system)', + 'name' => 'reset_fn' + }, + { + 'type' => 'void(*)(apr_memory_system_t *memory_system)', + 'name' => 'pre_destroy_fn' + }, + { + 'type' => 'void(*)(apr_memory_system_t *memory_system)', + 'name' => 'destroy_fn' + }, + { + 'type' => 'void(*)(apr_memory_system_t *memory_system)', + 'name' => 'threadsafe_lock_fn' + }, + { + 'type' => 'void(*)(apr_memory_system_t *memory_system)', + 'name' => 'threadsafe_unlock_fn' + } + ] + }, + { 'type' => 'apr_mmap_t', 'elts' => [ { @@ -2703,6 +2765,10 @@ }, { 'type' => 'char *', + 'name' => 'canonical_filename' + }, + { + 'type' => 'char *', 'name' => 'path_info' }, { @@ -2887,6 +2953,67 @@ { 'type' => 'int', 'name' => 'suexec_enabled' + } + ] + }, + { + 'type' => 'uri_components', + 'elts' => [ + { + 'type' => 'char *', + 'name' => 'scheme' + }, + { + 'type' => 'char *', + 'name' => 'hostinfo' + }, + { + 'type' => 'char *', + 'name' => 'user' + }, + { + 'type' => 'char *', + 'name' => 'password' + }, + { + 'type' => 'char *', + 'name' => 'hostname' + }, + { + 'type' => 'char *', + 'name' => 'port_str' + }, + { + 'type' => 'char *', + 'name' => 'path' + }, + { + 'type' => 'char *', + 'name' => 'query' + }, + { + 'type' => 'char *', + 'name' => 'fragment' + }, + { + 'type' => 'hostent *', + 'name' => 'hostent' + }, + { + 'type' => 'apr_port_t', + 'name' => 'port' + }, + { + 'type' => 'unsigned', + 'name' => 'is_initialized' + }, + { + 'type' => 'unsigned', + 'name' => 'dns_looked_up' + }, + { + 'type' => 'unsigned', + 'name' => 'dns_resolved' } ] }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]