cvs commit: modperl-2.0/xs/maps apache_structures.map
dougm 01/10/05 16:39:32 Modified:xs/maps apache_structures.map Log: request_rec.content_language no longer exists Revision ChangesPath 1.10 +0 -1 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.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- apache_structures.map 2001/09/10 05:49:04 1.9 +++ apache_structures.map 2001/10/05 23:39:31 1.10 @@ -44,7 +44,6 @@ content_type handler content_encoding - content_language content_languages vlist_validator user
cvs commit: modperl-2.0/xs/maps apache_structures.map apr_structures.map
dougm 01/09/09 22:49:04 Modified:xs/maps apache_structures.map apr_structures.map Log: update structure maps wrt current httpd-2.0 Revision ChangesPath 1.9 +22 -1 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.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- apache_structures.map 2001/09/08 18:26:46 1.8 +++ apache_structures.map 2001/09/10 05:49:04 1.9 @@ -54,6 +54,7 @@ unparsed_uri uri filename + canonical_filename path_info args ~ finfo @@ -107,6 +108,7 @@ aborted keepalive ? double_reverse + keepalives local_ip local_host id @@ -114,7 +116,6 @@ notes input_filters output_filters - remain /conn_rec !server_addr_rec @@ -240,3 +241,23 @@ context err_directive /cmd_parms + +!ap_mgmt_item_t + description + name + vtype + v +/ap_mgmt_item_t + +!ap_mgmt_value + s_value + i_value + h_value +/ap_mgmt_value + +!ap_pod_t + pod_in + pod_out + p + sa +/ap_pod_t 1.6 +5 -2 modperl-2.0/xs/maps/apr_structures.map Index: apr_structures.map === RCS file: /home/cvs/modperl-2.0/xs/maps/apr_structures.map,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- apr_structures.map2001/08/19 17:33:32 1.5 +++ apr_structures.map2001/09/10 05:49:04 1.6 @@ -2,6 +2,7 @@ IGNORE: apr_pool_t apr_os_ apr_vformatter_buff_t apr_pool_t \ apr_table_t apr_in_addr_t apr_bucket_ apr_md5_ctx_t apr_sha1_ctx_t \ +apr_md4_ctx_t apr_sdbm_datum_t \ apr_uuid_t apr_datum_t apr_mmap_t apr_hdtr_t apr_ipsubnet_t #buckets @@ -22,6 +23,7 @@ length start data + sms /apr_bucket !apr_finfo_t @@ -55,6 +57,7 @@ addr_str_len ipaddr_ptr next + family /apr_sockaddr_t !apr_proc_t @@ -81,7 +84,7 @@ #generic data structures !apr_array_header_t - cont + pool elt_size nelts nalloc @@ -129,7 +132,7 @@ attr last_child ns_scope - private + priv /apr_xml_elem apr_xml_doc
cvs commit: modperl-2.0/xs/maps apache_structures.map
dougm 01/04/18 08:53:25 Modified:xs/maps apache_structures.map Log: keepalive has moved out of the conn_rec Revision ChangesPath 1.4 +0 -2 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.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- apache_structures.map 2001/04/13 07:17:08 1.3 +++ apache_structures.map 2001/04/18 15:53:22 1.4 @@ -105,8 +105,6 @@ remote_host remote_logname aborted - keepalive - keptalive ? double_reverse keepalives local_ip
cvs commit: modperl-2.0/xs/maps apache_structures.map modperl_functions.map
dougm 01/04/13 00:17:08 Modified:src/modules/perl modperl_types.h xs/Apache/Filter Apache__Filter.h xs/maps apache_structures.map modperl_functions.map Added: t/filter/TestFilter api.pm Log: enable Apache::Filter structure interface enable Apache::FilterRec module add Apache::OutputFilter-f method for access to Apache::Filter object add filter api test Revision ChangesPath 1.35 +0 -3 modperl-2.0/src/modules/perl/modperl_types.h Index: modperl_types.h === RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_types.h,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- modperl_types.h 2001/04/09 23:57:22 1.34 +++ modperl_types.h 2001/04/13 07:17:06 1.35 @@ -185,9 +185,6 @@ apr_pool_t *pool; } modperl_filter_t; -typedef modperl_filter_t * Apache__OutputFilter; -typedef modperl_filter_t * Apache__InputFilter; - typedef struct { SV *data; modperl_handler_t *handler; 1.1 modperl-2.0/t/filter/TestFilter/api.pm Index: api.pm === package TestFilter::api; use strict; use warnings FATAL = 'all'; use Apache::Filter (); use Apache::FilterRec (); use Test; my $response_data = "blah blah blah"; sub init_test_pm { my $filter = shift; { package Apache::OutputFilter; #XXX: make part of standard api? unless (defined PRINT) { *PRINT = \print; *TIEHANDLE = sub { shift }; } } tie *STDOUT, $filter; $Test::TESTOUT = \*STDOUT; $Test::planned = 0; $Test::ntest = 1; } sub handler { my $filter = shift; $filter-read(my $buffer); #slurp everything; init_test_pm($filter); plan tests = 6; ok $buffer eq $response_data; my $f = $filter-f; ok $f-isa('Apache::Filter'); my $frec = $f-frec; ok $frec-isa('Apache::FilterRec'); ok $frec-name; my $r = $f-r; ok $r-isa('Apache::RequestRec'); ok $r-uri eq '/' . __PACKAGE__; 0; } sub response { my $r = shift; $r-content_type('text/plain'); $r-puts($response_data); Apache::OK; } 1; __DATA__ SetHandler modperl PerlResponseHandler TestFilter::api::response 1.3 +2 -0 modperl-2.0/xs/Apache/Filter/Apache__Filter.h Index: Apache__Filter.h === RCS file: /home/cvs/modperl-2.0/xs/Apache/Filter/Apache__Filter.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Apache__Filter.h 2001/03/13 07:28:54 1.2 +++ Apache__Filter.h 2001/04/13 07:17:07 1.3 @@ -1,3 +1,5 @@ +#define mpxs_Apache__OutputFilter_f(filter) filter-f + #define mpxs_Apache__RequestRec_add_output_filter(r, name, ctx) \ ap_add_output_filter(name, ctx, r, NULL) 1.3 +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.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- apache_structures.map 2001/03/25 22:32:11 1.2 +++ apache_structures.map 2001/04/13 07:17:08 1.3 @@ -160,14 +160,14 @@ errmsg /command_rec -!ap_filter_rec_t +ap_filter_rec_t name - filter_func - ftype +! ftype next /ap_filter_rec_t -!ap_filter_t +ap_filter_t frec ctx next 1.2 +1 -0 modperl-2.0/xs/maps/modperl_functions.map Index: modperl_functions.map === RCS file: /home/cvs/modperl-2.0/xs/maps/modperl_functions.map,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- modperl_functions.map 2001/03/17 17:33:03 1.1 +++ modperl_functions.map 2001/04/13 07:17:08 1.2 @@ -22,3 +22,4 @@ MODULE=Apache::Filter PACKAGE=Apache::OutputFilter mpxs_Apache__OutputFilter_print | | ... mpxs_Apache__OutputFilter_read | | ... + ap_filter_t *:DEFINE_f | | modperl_filter_t *:filter