Lines Matching defs:hook
290 ns_hook_t *hook = NULL, *next = NULL;
299 for (hook = ISC_LIST_HEAD((*table)[i]); hook != NULL;
300 hook = next)
302 next = ISC_LIST_NEXT(hook, link);
303 ISC_LIST_UNLINK((*table)[i], hook, link);
304 if (hook->mctx != NULL) {
305 isc_mem_putanddetach(&hook->mctx, hook,
306 sizeof(*hook));
316 ns_hookpoint_t hookpoint, const ns_hook_t *hook) {
322 REQUIRE(hook != NULL);
326 .action = hook->action,
327 .action_data = hook->action_data,