https://issues.apache.org/bugzilla/show_bug.cgi?id=54986
--- Comment #4 from Mike Rumph <[email protected]> --- (In reply to comment #0) > I find no function definition in the apache source tree for > ap_run_handler(). > > Line 157 in config.c is > AP_IMPLEMENT_HOOK_RUN_FIRST(int, handler, (request_rec *r), (r), DECLINED) > > Following the code for definitions of this macro, leads me to a rather > obfuscated define in apr_hooks.h, line 358 > /** macro to implement the hook */ > #define APR_IMPLEMENT_EXTERNAL_HOOK_BASE(ns,link,name) \ > link##_DECLARE(void) ns##_hook_##name(ns##_HOOK_##name##_t *pf,const char * > const *aszPre, \ > const char * const *aszSucc,int > nOrder) \ > { \ > > The apache docs are no help, simply notes it as an internal macro. > The function to look for is ap_hook_handler. This is found in several modules. One example is server/core.c: ap_hook_handler(default_handler,NULL,NULL,APR_HOOK_REALLY_LAST); This will cause the default_handler function in core.c to be called whenever ap_run_handler is called. The following documentation may help explain this: - http://httpd.apache.org/docs/2.2/developer/hooks.html Perhaps mod_perl should have something like this as well. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
