cvs commit: modperl-2.0/src/modules/perl modperl_cmd.h

2001-09-27 Thread dougm

dougm   01/09/27 08:39:57

  Modified:src/modules/perl modperl_cmd.h
  Log:
  add MP_CMD_SRV_DECLARE_FLAG
  
  Revision  ChangesPath
  1.8   +6 -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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- modperl_cmd.h 2001/09/27 15:28:51 1.7
  +++ modperl_cmd.h 2001/09/27 15:39:57 1.8
  @@ -8,9 +8,15 @@
   #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)
  +
  +#define MP_CMD_SRV_DECLARE_FLAG(item) \
  +const char *modperl_cmd_##item(cmd_parms *parms, \
  +   void *dummy, int on)
  +
   MP_CMD_SRV_DECLARE(trace);
   MP_CMD_SRV_DECLARE(switches);
   MP_CMD_SRV_DECLARE(modules);
  
  
  



cvs commit: modperl-2.0/src/modules/perl modperl_cmd.h

2001-09-27 Thread dougm

dougm   01/09/27 08:28:51

  Modified:src/modules/perl modperl_cmd.h
  Log:
  add MP_CMD_{SRV,DIR}_FLAG macros
  
  Revision  ChangesPath
  1.7   +8 -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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- modperl_cmd.h 2001/09/06 06:00:08 1.6
  +++ modperl_cmd.h 2001/09/27 15:28:51 1.7
  @@ -42,6 +42,10 @@
   
   #endif
   
  +#define MP_CMD_SRV_FLAG(name, item, desc) \
  +AP_INIT_FLAG( name, modperl_cmd_##item, NULL, \
  +  RSRC_CONF, desc )
  +
   #define MP_CMD_SRV_TAKE1(name, item, desc) \
   AP_INIT_TAKE1( name, modperl_cmd_##item, NULL, \
 RSRC_CONF, desc )
  @@ -64,6 +68,10 @@
   
   #define MP_CMD_DIR_ITERATE(name, item, desc) \
   AP_INIT_ITERATE( name, modperl_cmd_##item, NULL, \
  +  OR_ALL, desc )
  +
  +#define MP_CMD_DIR_FLAG(name, item, desc) \
  +AP_INIT_FLAG( name, modperl_cmd_##item, NULL, \
 OR_ALL, desc )
   
   #endif /* MODPERL_CMD_H */
  
  
  



cvs commit: modperl-2.0/src/modules/perl modperl_cmd.h

2001-09-05 Thread stas

stas01/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  ChangesPath
  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) \
  
  
  



cvs commit: modperl-2.0/src/modules/perl modperl_cmd.h

2001-03-25 Thread dougm

dougm   01/03/25 10:20:12

  Modified:src/modules/perl modperl_cmd.h
  Log:
  fix copy-n-pasto
  
  Revision  ChangesPath
  1.3   +1 -1  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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- modperl_cmd.h 2001/03/25 17:42:26 1.2
  +++ modperl_cmd.h 2001/03/25 18:20:11 1.3
  @@ -50,7 +50,7 @@
 OR_ALL, desc )
   
   #define MP_CMD_DIR_ITERATE(name, item, desc) \
  -AP_INIT_TAKE1( name, modperl_cmd_##item, NULL, \
  +AP_INIT_ITERATE( name, modperl_cmd_##item, NULL, \
 OR_ALL, desc )
   
   #endif /* MODPERL_CMD_H */