Re: Share data between modules

2006-10-12 Thread [EMAIL PROTECTED]
Maybe I have to use it In module A I declare apr_hash_t; in the post config I creates and populates it. Then I write a funcion called my_function and in the register_hooks I write: APR_REGISTER_OPTIONAL_FN(my_function); Then in my file.h I write: APR_DECLARE_OPTIONAL_FN(..., my_function, ...

Re: Share data between modules

2006-10-12 Thread Nick Kew
On Thursday 12 October 2006 14:37, [EMAIL PROTECTED] wrote: > Hi Nick, > > > On Thursday 12 October 2006 13:41, [EMAIL PROTECTED] wrote: > > > So my idea was that one of the three modules parses the file, creates > > > the hash_table_t and populates it. Then each child of these modules > > > should

Re: Share data between modules

2006-10-12 Thread [EMAIL PROTECTED]
Hi Nick, > On Thursday 12 October 2006 13:41, [EMAIL PROTECTED] wrote: > > > So my idea was that one of the three modules parses the file, creates > > the hash_table_t and populates it. Then each child of these modules > > should be able to read (only read e not write) the hash table. > > Is it po

Re: Share data between modules

2006-10-12 Thread Nick Kew
On Thursday 12 October 2006 13:41, [EMAIL PROTECTED] wrote: > So my idea was that one of the three modules parses the file, creates > the hash_table_t and populates it. Then each child of these modules > should be able to read (only read e not write) the hash table. > Is it possible in your opinio