At 03:39 AM 3/22/2005, Graham Leggett wrote:
>William A. Rowe, Jr. said:
>
>> It would be nice if before 2.2 we got around to changing the
>> mod_ldap api to register optional functions.  It will still fail
>> to start if the user didn't load mod_ldap, but at least we would
>> accept them loaded in either order.
>
>Is this easy to do?

I'd think so.  See modules/test/

mod_optional_fn_export.c
mod_optional_fn_export.h
mod_optional_fn_import.c

Optional functions are for many:one implementations

mod_optional_hook_export.c
mod_optional_hook_export.h
mod_optional_hook_import.c

Optional hooks are for many:many implementations, where you want
multiple backends.

These calls seem to be fn's not hooks.

Reply via email to