i have a struct and 2 modules

typedef struct person{

               char *name;
                int id;
};Person

1-mod_person_adder -> add new person to system.
2-mod_person_counter -> counts total person number in system.


let say i allocate memory using mod_person_adder module

apr_palloc(r->server->process-> pool,sizeof(Person)); (Or any pool )

how can i reach this record in mod_person_counter module ? or how can

carry data like ap_table with key value between modules.  is it possible?
Thanks.

Reply via email to