Searched defs:rpc (Results 1 - 2 of 2) sorted by relevance
/external/chromium/third_party/libevent/ |
H A D | evrpc.c | 84 struct evrpc *rpc; local 87 while ((rpc = TAILQ_FIRST(&base->registered_rpcs)) != NULL) { 88 assert(evrpc_unregister_rpc(base, rpc->uri)); 198 event_err(1, "%s: failed to register rpc at %s", 208 evrpc_register_rpc(struct evrpc_base *base, struct evrpc *rpc, argument 211 char *constructed_uri = evrpc_construct_uri(rpc->uri); 213 rpc->base = base; 214 rpc->cb = cb; 215 rpc->cb_arg = cb_arg; 217 TAILQ_INSERT_TAIL(&base->registered_rpcs, rpc, nex 233 struct evrpc *rpc; local 261 struct evrpc *rpc = arg; local 320 struct evrpc *rpc = rpc_state->rpc; local 334 struct evrpc *rpc = rpc_state->rpc; local [all...] |
H A D | evrpc.h | 62 * void FunctionCB(EVRPC_STRUCT(SendCommand)* rpc, void *arg); 64 * To send the reply, call EVRPC_REQUEST_DONE(rpc); 101 /* the callback invoked for each received rpc */ 127 * the static structure for this rpc; that can be used to 130 struct evrpc *rpc; member in struct:evrpc_req_generic 138 * callback to reply and finish answering this rpc 140 void (*done)(struct evrpc_req_generic* rpc); 147 * defined in an .rpc file and converted to source code via event_rpcgen.py 158 struct evrpc* rpc; \ 161 struct evrpc* rpc, voi [all...] |
Completed in 79 milliseconds