hi,

I just tried to write a module which must get core_module's configuration.
So I wrote following code:

#include "http_core.h"

 *core_request_config *reqconf;*
* reqconf = (core_request_config
*)ap_get_module_config(r->request_config, &core_module);*

but I can't compile module with apxs after I added this code line.  Error
message is : "core_reqeust_config & reqconf & core_module undeclared".

Should I add some compile parameters in apxs?

Thanks!

-- 
Best regards,

Rui Hu
----------------------------------------------------------------------------------------
State Key Laboratory of Networking & Switching Technology
Beijing University of Posts and Telecommunications(BUPT)
MSN: [email protected]
-----------------------------------------------------------------------------------------

Reply via email to