Home
last modified time | relevance | path

Searched refs:hook (Results 1 – 2 of 2) sorted by relevance

/libevent-2.1.12/
H A Devrpc.c96 struct evrpc_hook *hook; in evrpc_free() local
127 struct evrpc_hook *hook = NULL; in evrpc_add_hook() local
140 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() local
193 int res = hook->process(ctx, req, evbuf, hook->process_arg); in evrpc_process_hooks()
[all …]
H A DChangeLog-2.01163 …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