cvs commit: modperl-2.0/xs/tables/current/Apache FunctionTable.pm StructureTable.pm

2002-01-28 Thread dougm

dougm   02/01/28 21:35:34

  Modified:xs/tables/current/Apache FunctionTable.pm StructureTable.pm
  Log:
  sync
  
  Revision  ChangesPath
  1.32  +146 -59   modperl-2.0/xs/tables/current/Apache/FunctionTable.pm
  
  Index: FunctionTable.pm
  ===
  RCS file: /home/cvs/modperl-2.0/xs/tables/current/Apache/FunctionTable.pm,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- FunctionTable.pm  25 Jan 2002 04:04:12 -  1.31
  +++ FunctionTable.pm  29 Jan 2002 05:35:34 -  1.32
  @@ -2,7 +2,7 @@
   
   # !!
   # ! WARNING: generated by Apache::ParseSource/0.02
  -# !  Thu Jan 24 19:50:33 2002
  +# !  Mon Jan 28 20:30:40 2002
   # !  do NOT edit, any changes will be lost !
   # !!
   
  @@ -28,6 +28,20 @@
   ]
 },
 {
  +'return_type' = 'void',
  +'name' = 'ap_add_file_conf',
  +'args' = [
  +  {
  +'type' = 'core_dir_config *',
  +'name' = 'conf'
  +  },
  +  {
  +'type' = 'void *',
  +'name' = 'url_config'
  +  }
  +]
  +  },
  +  {
   'return_type' = 'ap_filter_t *',
   'name' = 'ap_add_input_filter',
   'args' = [
  @@ -50,6 +64,28 @@
   ]
 },
 {
  +'return_type' = 'ap_filter_t *',
  +'name' = 'ap_add_input_filter_handle',
  +'args' = [
  +  {
  +'type' = 'ap_filter_rec_t *',
  +'name' = 'f'
  +  },
  +  {
  +'type' = 'void *',
  +'name' = 'ctx'
  +  },
  +  {
  +'type' = 'request_rec *',
  +'name' = 'r'
  +  },
  +  {
  +'type' = 'conn_rec *',
  +'name' = 'c'
  +  }
  +]
  +  },
  +  {
   'return_type' = 'void',
   'name' = 'ap_add_loaded_module',
   'args' = [
  @@ -136,6 +172,56 @@
   ]
 },
 {
  +'return_type' = 'ap_filter_t *',
  +'name' = 'ap_add_output_filter_handle',
  +'args' = [
  +  {
  +'type' = 'ap_filter_rec_t *',
  +'name' = 'f'
  +  },
  +  {
  +'type' = 'void *',
  +'name' = 'ctx'
  +  },
  +  {
  +'type' = 'request_rec *',
  +'name' = 'r'
  +  },
  +  {
  +'type' = 'conn_rec *',
  +'name' = 'c'
  +  }
  +]
  +  },
  +  {
  +'return_type' = 'void',
  +'name' = 'ap_add_per_dir_conf',
  +'args' = [
  +  {
  +'type' = 'server_rec *',
  +'name' = 's'
  +  },
  +  {
  +'type' = 'void *',
  +'name' = 'dir_config'
  +  }
  +]
  +  },
  +  {
  +'return_type' = 'void',
  +'name' = 'ap_add_per_url_conf',
  +'args' = [
  +  {
  +'type' = 'server_rec *',
  +'name' = 's'
  +  },
  +  {
  +'type' = 'void *',
  +'name' = 'url_config'
  +  }
  +]
  +  },
  +  {
   'return_type' = 'void',
   'name' = 'ap_add_version_component',
   'args' = [
  @@ -581,7 +667,7 @@
   ]
 },
 {
  -'return_type' = 'void',
  +'return_type' = 'int',
   'name' = 'ap_create_scoreboard',
   'args' = [
 {
  @@ -1513,28 +1599,6 @@
 },
 {
   'return_type' = 'void',
  -'name' = 'ap_hook_create_connection',
  -'args' = [
  -  {
  -'type' = 'ap_HOOK_create_connection_t *',
  -'name' = 'pf'
  -  },
  -  {
  -'type' = 'const char * const *',
  -'name' = 'aszPre'
  -  },
  -  {
  -'type' = 'const char * const *',
  -'name' = 'aszSucc'
  -  },
  -  {
  -'type' = 'int',
  -'name' = 'nOrder'
  -  }
  -]
  -  },
  -  {
  -'return_type' = 'void',
   'name' = 'ap_hook_create_request',
   'args' = [
 {
  @@ -1643,11 +1707,6 @@
 },
 {
   'return_type' = 'apr_array_header_t *',
  -'name' = 'ap_hook_get_create_connection',
  -'args' = []
  -  },
  -  {
  -'return_type' = 'apr_array_header_t *',
   'name' = 'ap_hook_get_create_request',
   'args' = []
 },
  @@ -2400,6 +2459,24 @@
   ]
 },
 {
  +'return_type' = 'const char *',
  +'name' = 'ap_limit_section',
  +'args' = [
  +  {
  +'type' = 'cmd_parms *',
  +'name' = 'cmd'
  +  },
  +  {
  +'type' = 'void *',
  +'name' = 'dummy'
  +  },
  +  {
  +'type' = 'const char *',
  +'name' = 'arg'
  +  }
  +]
  +  },
  +  {
   'return_type' = 'void',
   'name' = 'ap_lingering_close',
   'args' = [
  @@ -3912,32 +3989,6 @@
   ]
 },
 {
  -'return_type' = 'conn_rec *',
  -'name' = 'ap_run_create_connection',
  -'args' = [
  -  {
  -'type' = 'apr_pool_t *',
  -'name' = 'p'
  -  },
  -  {
  -'type' = 'server_rec *',
  -  

cvs commit: modperl-2.0/todo api.txt

2002-01-28 Thread stas

stas02/01/28 21:41:59

  Modified:todo api.txt
  Log:
  - no need to implement the interface for apr_array_header as there is no
  use for it in mod_perl
  
  Revision  ChangesPath
  1.20  +0 -3  modperl-2.0/todo/api.txt
  
  Index: api.txt
  ===
  RCS file: /home/cvs/modperl-2.0/todo/api.txt,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- api.txt   23 Dec 2001 04:30:28 -  1.19
  +++ api.txt   29 Jan 2002 05:41:59 -  1.20
  @@ -102,9 +102,6 @@
   Apache-unescape_url{_info}:
   not yet implemented.  should be moved to Apache::Util
   
  -apr_array_header_t:
  -needs an interface, either methods and/or tied array interface
  -
   Apache::perl_hook:
   should have this or something check if PerlOptions allows the given
   handler/feature to be used.
  
  
  



cvs commit: modperl-2.0/src/modules/perl modperl_util.c

2002-01-28 Thread stas

stas02/01/28 21:52:24

  Modified:src/modules/perl modperl_util.c
  Log:
  if undef is passed try to get the pool from the current request
  
  Revision  ChangesPath
  1.35  +12 -0 modperl-2.0/src/modules/perl/modperl_util.c
  
  Index: modperl_util.c
  ===
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_util.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- modperl_util.c29 Jan 2002 04:49:37 -  1.34
  +++ modperl_util.c29 Jan 2002 05:52:24 -  1.35
  @@ -174,6 +174,18 @@
   char *classname = NULL;
   IV ptr = 0;
   
  +/* get the pool from the current request if applicable */
  +if (obj == PL_sv_undef) {
  +request_rec *r = NULL;
  +(void)modperl_tls_get_request_rec(r);
  +
  +if (r) {
  +return r-pool;
  +}
  +
  +return NULL;
  +}
  +
   if ((SvROK(obj)  (SvTYPE(SvRV(obj)) == SVt_PVMG))) {
   ptr = SvObjIV(obj);
   classname = SvCLASS(obj);