> On 27 Apr 2020, at 16:52, Jeffrey Walton <noloader@xxxxxxxxx> wrote: > > Hi Everyone, > > I'm reading https://httpd.apache.org/docs/2.4/developer/hooks.html. It > says to declare a hook function: > > AP_DECLARE_HOOK(int, do_something, (request_rec *r, int n)) That declares a hook to enable modules to insert a function. The r and the n are arguments to the function do_something. Best way to get a feel for it is to look at examples in the core server and standard modules, and match the declarations to AP_IMPLEMENT_HOOK_* and ap_hook_*. Hooks are pretty central to everything. -- Nick Kew --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx