I'm porting a 1.3 module to 2.0. In our 1.3 module, we have this kind of
structure:
static const handler_rec our_handlers[] =
{
{ "ourthis", HandleThis },
{ "ourthat", HandleThat },
{ "ourother", HandleOther },
{ NULL }
};
It is not at all clear to me using the new 2.0 modules how I associate the
different names to our module. I see the ap_hook_handler(), but it only
wants the function, and doesn't seem to have a way of binding a name to that
function.
I also noticed within the mod_example, that they check the actual handler
name when the function is called. Is that necessary? Is that the actual
mechanism?
Any help would be appreciated.
(If this is the wrong list for this, then a pointer to the correct one would
also be appreciated.)
Will Hartung
([EMAIL PROTECTED])