apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: apr_hook_get_register_count()????
Date Mon, 16 Jan 2006 11:44:30 GMT
On 1/11/06, Brad Nicholes <BNICHOLES@novell.com> wrote:
>    Does the hook API provide some way to determine if or how many
> callbacks have been registered for a given hook?

Turn on your macro unprocessor and see what ap_hook_get_handler()
resolves to.  That returns NULL if there are no registered hooks.

View raw message