Home
last modified time | relevance | path

Searched refs:hook_type (Results 1 – 3 of 3) sorted by relevance

/libevent-2.1.12/
H A Devrpc.c121 enum EVRPC_HOOK_TYPE hook_type, in evrpc_add_hook() argument
128 switch (hook_type) { in evrpc_add_hook()
136 EVUTIL_ASSERT(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT); in evrpc_add_hook()
169 evrpc_remove_hook(void *vbase, enum EVRPC_HOOK_TYPE hook_type, void *handle) in evrpc_remove_hook() argument
173 switch (hook_type) { in evrpc_remove_hook()
181 EVUTIL_ASSERT(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT); in evrpc_remove_hook()
/libevent-2.1.12/include/event2/
H A Drpc.h514 enum EVRPC_HOOK_TYPE hook_type,
528 enum EVRPC_HOOK_TYPE hook_type,
/libevent-2.1.12/test/
H A Dregress_rpc.c399 const char *hook_type = arg; in rpc_hook_add_header() local
400 if (strcmp("input", hook_type) == 0) in rpc_hook_add_header()
401 evhttp_add_header(req->input_headers, "X-Hook", hook_type); in rpc_hook_add_header()
403 evhttp_add_header(req->output_headers, "X-Hook", hook_type); in rpc_hook_add_header()