perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: modperl-2.0/src/modules/perl modperl_config.h
Date Sun, 21 Jan 2001 21:04:53 GMT
dougm       01/01/21 13:04:53

  Modified:    src/modules/perl modperl_config.h
  Log:
  add modperl_{srv,dir}_config_get
  
  Revision  Changes    Path
  1.16      +9 -5      modperl-2.0/src/modules/perl/modperl_config.h
  
  Index: modperl_config.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_config.h,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- modperl_config.h	2001/01/02 06:40:19	1.15
  +++ modperl_config.h	2001/01/21 21:04:52	1.16
  @@ -56,14 +56,18 @@
   #define MP_dRCFG \
      modperl_request_config_t *rcfg = modperl_request_config_get(r)
   
  -#define MP_dDCFG \
  -   modperl_dir_config_t *dcfg = \
  +#define modperl_dir_config_get(r) \
         (r ? (modperl_dir_config_t *) \
                 ap_get_module_config(r->per_dir_config, &perl_module) : NULL)
   
  -#define MP_dSCFG(s) \
  -   modperl_srv_config_t *scfg = \
  -      (modperl_srv_config_t *) \
  +#define MP_dDCFG \
  +   modperl_dir_config_t *dcfg = modperl_dir_config_get(r)
  +
  +#define modperl_srv_config_get(s) \
  + (modperl_srv_config_t *) \
             ap_get_module_config(s->module_config, &perl_module)
  +
  +#define MP_dSCFG(s) \
  +   modperl_srv_config_t *scfg = modperl_srv_config_get(s)
   
   #endif /* MODPERL_CONFIG_H */
  
  
  

Mime
View raw message