Re: [mp2] accessing mod_perl configuration from another C module

2006-09-14 Thread Srebrenko Sehic
On 9/14/06, Srebrenko Sehic <[EMAIL PROTECTED]> wrote: I need to tap into PerlSetVar table from another C module. In mp1, you can do something like the following: #include "mod_perl.h" perl_dir_config *c = (perl_dir_config *) ap_get_module_config(r->per_dir_config, &perl_module); table *pe

[mp2] accessing mod_perl configuration from another C module

2006-09-14 Thread Srebrenko Sehic
I need to tap into PerlSetVar table from another C module. In mp1, you can do something like the following: #include "mod_perl.h" perl_dir_config *c = (perl_dir_config *) ap_get_module_config(r->per_dir_config, &perl_module); table *perl_vars = c->vars; char *value = ap_table_get(perl_vars,