HI, One question. How do I declare global variables ??
Thank you Ricardo Sorin Manolache wrote: > > On 2008-12-22, Andrej van der Zee <andrejvander...@gmail.com> wrote: >> Hi, >> >> I need to initialise some structures for each process (in prefork MPM) >> when it is created, and need to be able to access these structures in >> ap_hook_post_read_request and ap_hook_log_transaction handlers. I >> would like to initialise the structures before the first HTTP request >> is being served by the process. How should I do this? > > You hook child_init (ap_hook_child_init) and store your data in global > variables that are accessed by post_read_request and log_transaction. > > S > > -- > A: Because it reverses the logical flow of conversation. > Q: Why is top-posting frowned upon? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > -- View this message in context: http://www.nabble.com/process-initialisation-in-prefork-MPM-tp21127165p24686243.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.