Searched defs:cbarg (Results 1 - 8 of 8) sorted by relevance

/external/libevent/include/event2/
H A Dbufferevent_struct.h102 void *cbarg; member in struct:bufferevent
/external/libevent/
H A Dbufferevent_sock.c537 bufferevent_event_cb eventcb, void *cbarg)
544 bufferevent_setcb(bufev, readcb, writecb, eventcb, cbarg);
535 bufferevent_new(evutil_socket_t fd, bufferevent_data_cb readcb, bufferevent_data_cb writecb, bufferevent_event_cb eventcb, void *cbarg) argument
H A Devbuffer-internal.h71 void *cbarg; member in struct:evbuffer_cb_entry
H A Dhttp-internal.h116 void *cbarg; member in struct:evhttp_cb
H A Dbufferevent.c144 bufev->errorcb(bufev, BEV_EVENT_CONNECTED, bufev->cbarg);
148 bufev->readcb(bufev, bufev->cbarg);
152 bufev->writecb(bufev, bufev->cbarg);
160 bufev->errorcb(bufev, what, bufev->cbarg);
180 void *cbarg = bufev->cbarg; local
182 UNLOCKED(errorcb(bufev, BEV_EVENT_CONNECTED, cbarg));
186 void *cbarg = bufev->cbarg; local
188 UNLOCKED(readcb(bufev, cbarg));
192 void *cbarg = bufev->cbarg; local
198 void *cbarg = bufev->cbarg; local
344 bufferevent_setcb(struct bufferevent *bufev, bufferevent_data_cb readcb, bufferevent_data_cb writecb, bufferevent_event_cb eventcb, void *cbarg) argument
[all...]
H A Devrpc.c832 void *cbarg)
848 ctx->cb_arg = cbarg;
1136 void (*callback)(struct evrpc_req_generic *, void *), void *cbarg,
1149 (void (*)(struct evrpc_req_generic*, void *))callback, cbarg);
825 evrpc_make_request_ctx( struct evrpc_pool *pool, void *request, void *reply, const char *rpcname, void (*req_marshal)(struct evbuffer*, void *), void (*rpl_clear)(void *), int (*rpl_unmarshal)(void *, struct evbuffer *), void (*cb)(struct evrpc_status *, void *, void *, void *), void *cbarg) argument
1135 evrpc_register_generic(struct evrpc_base *base, const char *name, void (*callback)(struct evrpc_req_generic *, void *), void *cbarg, void *(*req_new)(void *), void *req_new_arg, void (*req_free)(void *), int (*req_unmarshal)(void *, struct evbuffer *), void *(*rpl_new)(void *), void *rpl_new_arg, void (*rpl_free)(void *), int (*rpl_complete)(void *), void (*rpl_marshal)(struct evbuffer *, void *)) argument
H A Dbuffer.c493 info.orig_size, new_size, cbent->cbarg);
495 cbent->cb.cb_func(buffer, &info, cbent->cbarg);
2944 evbuffer_setcb(struct evbuffer *buffer, evbuffer_cb cb, void *cbarg) argument
2953 evbuffer_add_cb(buffer, NULL, cbarg);
2961 evbuffer_add_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg) argument
2968 e->cbarg = cbarg;
2987 evbuffer_remove_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg) argument
2993 if (cb == cbent->cb.cb_func && cbarg == cbent->cbarg) {
[all...]
H A Dhttp.c2167 void (*cb)(struct evhttp_connection *, void *), void *cbarg)
2170 evcon->closecb_arg = cbarg;
3033 (*cb->cb)(req, cb->cbarg);
3402 void (*cb)(struct evhttp_request *, void *), void *cbarg)
3423 http_cb->cbarg = cbarg;
3451 void (*cb)(struct evhttp_request *, void *), void *cbarg)
3454 http->gencbarg = cbarg;
2166 evhttp_connection_set_closecb(struct evhttp_connection *evcon, void (*cb)(struct evhttp_connection *, void *), void *cbarg) argument
3401 evhttp_set_cb(struct evhttp *http, const char *uri, void (*cb)(struct evhttp_request *, void *), void *cbarg) argument
3450 evhttp_set_gencb(struct evhttp *http, void (*cb)(struct evhttp_request *, void *), void *cbarg) argument

Completed in 171 milliseconds