Searched refs:hook (Results 1 – 2 of 2) sorted by relevance
96 struct evrpc_hook *hook; in evrpc_free() local127 struct evrpc_hook *hook = NULL; in evrpc_add_hook() local140 EVUTIL_ASSERT(hook != NULL); in evrpc_add_hook()142 hook->process = cb; in evrpc_add_hook()143 hook->process_arg = cb_arg; in evrpc_add_hook()146 return (hook); in evrpc_add_hook()154 if (hook == handle) { in evrpc_remove_hook_internal()156 mm_free(hook); in evrpc_remove_hook_internal()191 struct evrpc_hook *hook; in evrpc_process_hooks() local193 int res = hook->process(ctx, req, evbuf, hook->process_arg); in evrpc_process_hooks()[all …]
1163 …o change evrpc hooking to allow pausing of RPCs; this will make it possible for the hook to do som…1165 o allow association of meta data with RPC requests for hook processing