Let me just impl the below for now for the upcoming next beta and we'll take it from there...
On May 8, 2011, at 9:43 AM, Jim Jagielski wrote: >>> On May 6, 2011, at 8:38 PM, Jim Jagielski wrote: >>> >>>> APR_HOOK_PROBES_ENABLED is pretty nice, the rub is that, esp >>>> in httpd, we have lots of modules which go ahead and include >>>> apr_hooks.h on their own, making the setup of "universal" >>>> probe hooks difficult. >>>> >>>> Anyone have ideas on how to make it easier, either in >>>> APR directly or in httpd? Maybe making some kind of >>>> httpd_hooks.h file that includes some local local_hooks_probes.h >>>> file (depending on some config-time setting) assuming >>>> APR_HOOK_PROBES_ENABLED is set (ie: --enable-hook-probes >>>> sets APR_HOOK_PROBES_ENABLED and httpd_hooks.h is >>>> basically: >>>> >>>> #ifdef APR_HOOK_PROBES_ENABLED >>>> #include "local_hooks_probes.h" >>>> #endif >>>> #include "apr_hooks.h" >>>> >>>> and no httpd files include apr_hooks.h directly... >>>> >>>> That seems a very rough way to do it... :/ >>>> >>> >>> >> >> >> >> -- >> Born in Roswell... married an alien... >> >