Home
last modified time | relevance | path

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

/external/libevent/
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()
/external/libevent/include/event2/
Drpc.h493 enum EVRPC_HOOK_TYPE hook_type,
506 enum EVRPC_HOOK_TYPE hook_type,
/external/libevent/test/
Dregress_rpc.c400 const char *hook_type = arg; in rpc_hook_add_header() local
401 if (strcmp("input", hook_type) == 0) in rpc_hook_add_header()
402 evhttp_add_header(req->input_headers, "X-Hook", hook_type); in rpc_hook_add_header()
404 evhttp_add_header(req->output_headers, "X-Hook", hook_type); in rpc_hook_add_header()