httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: ApacheModulePerl.dll
Date Wed, 30 Jul 1997 19:55:54 GMT


On Wed, 30 Jul 1997, Doug MacEachern wrote:

> from mod_perl's config.c:
> /* XXX, had to copy-n-paste much code from http_core.c for
>  * perl_*sections, would be nice if the core config routines 
>  * had a handful of callback hooks instead
>  */
> 
> :-)
> But, I never really thought about it much and wasn't (still am
> not) sure if it's worth the trouble.  We'd need more that just
> srm_command_loop(), at least hooks into the *_section() functions in
> http_config.c, I forget what else.  Just keep in mind, when mod_perl
> is calling this stuff, it's reading config info from one of it's
> symbol tables, not a file.  

Then let's do it this way if it's feasible.  Add another field to
cmd_parms:  int (*getline)(char *, size_t, void *getline_data)
and change FILE *infile to void *getline_data.

Dean



Mime
View raw message