Re: a newbie question: Share custom Data between modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for information.

2015-10-07 2:56 GMT+03:00 Kurtis Rader <krader@xxxxxxxxxxxxx>:
On Tue, Oct 6, 2015 at 4:08 PM, Suat Furkan Kahya <suat.f.k@xxxxxxxxx> wrote:
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.

You are unlikely to get an answer on this mailing list. Even though developers (like myself) read this mailing list it isn't the correct forum for such questions. Check out the "Third-Party Module Authors' List" on this page: http://httpd.apache.org/lists.html

--
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux