perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-2.0/src/modules/perl modperl_cmd.h
Date Thu, 06 Sep 2001 06:00:08 GMT
stas        01/09/05 23:00:08

  Modified:    src/modules/perl modperl_cmd.h
  Log:
  new TAKE wrappers for the Perl{Set|Pass}Env and
  a new DECLARE wrapper for 'directive key val'
  
  Revision  Changes    Path
  1.6       +11 -0     modperl-2.0/src/modules/perl/modperl_cmd.h
  
  Index: modperl_cmd.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_cmd.h,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- modperl_cmd.h	2001/08/08 07:02:41	1.5
  +++ modperl_cmd.h	2001/09/06 06:00:08	1.6
  @@ -8,6 +8,9 @@
   #define MP_CMD_SRV_DECLARE(item) \
   const char *modperl_cmd_##item(cmd_parms *parms, \
                                  void *dummy, const char *arg)
  +#define MP_CMD_SRV_DECLARE2(item) \
  +const char *modperl_cmd_##item(cmd_parms *parms, \
  +                               void *dummy, const char *arg1, const char *arg2)
   MP_CMD_SRV_DECLARE(trace);
   MP_CMD_SRV_DECLARE(switches);
   MP_CMD_SRV_DECLARE(modules);
  @@ -43,12 +46,20 @@
       AP_INIT_TAKE1( name, modperl_cmd_##item, NULL, \
         RSRC_CONF, desc )
   
  +#define MP_CMD_SRV_TAKE2(name, item, desc) \
  +    AP_INIT_TAKE2( name, modperl_cmd_##item, NULL, \
  +      RSRC_CONF, desc )
  +
   #define MP_CMD_SRV_ITERATE(name, item, desc) \
      AP_INIT_ITERATE( name, modperl_cmd_##item, NULL, \
         RSRC_CONF, desc )
   
   #define MP_CMD_DIR_TAKE1(name, item, desc) \
       AP_INIT_TAKE1( name, modperl_cmd_##item, NULL, \
  +      OR_ALL, desc )
  +
  +#define MP_CMD_DIR_TAKE2(name, item, desc) \
  +    AP_INIT_TAKE2( name, modperl_cmd_##item, NULL, \
         OR_ALL, desc )
   
   #define MP_CMD_DIR_ITERATE(name, item, desc) \
  
  
  

Mime
View raw message