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.c562 bufferevent_event_cb eventcb, void *cbarg)
569 bufferevent_setcb(bufev, readcb, writecb, eventcb, cbarg);
560 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.h73 void *cbarg; member in struct:evbuffer_cb_entry
H A Dhttp-internal.h117 void *cbarg; member in struct:evhttp_cb
H A Dbufferevent.c145 bufev->errorcb(bufev, BEV_EVENT_CONNECTED, bufev->cbarg);
149 bufev->readcb(bufev, bufev->cbarg);
153 bufev->writecb(bufev, bufev->cbarg);
161 bufev->errorcb(bufev, what, bufev->cbarg);
181 void *cbarg = bufev->cbarg; local
183 UNLOCKED(errorcb(bufev, BEV_EVENT_CONNECTED, cbarg));
187 void *cbarg = bufev->cbarg; local
189 UNLOCKED(readcb(bufev, cbarg));
193 void *cbarg = bufev->cbarg; local
199 void *cbarg = bufev->cbarg; local
367 bufferevent_setcb(struct bufferevent *bufev, bufferevent_data_cb readcb, bufferevent_data_cb writecb, bufferevent_event_cb eventcb, void *cbarg) argument
[all...]
H A Devrpc.c829 void *cbarg)
845 ctx->cb_arg = cbarg;
1133 void (*callback)(struct evrpc_req_generic *, void *), void *cbarg,
1146 (void (*)(struct evrpc_req_generic*, void *))callback, cbarg);
822 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
1132 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.c506 info.orig_size, new_size, cbent->cbarg);
508 cbent->cb.cb_func(buffer, &info, cbent->cbarg);
3297 evbuffer_setcb(struct evbuffer *buffer, evbuffer_cb cb, void *cbarg) argument
3306 evbuffer_add_cb(buffer, NULL, cbarg);
3314 evbuffer_add_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg) argument
3321 e->cbarg = cbarg;
3340 evbuffer_remove_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg) argument
3346 if (cb == cbent->cb.cb_func && cbarg == cbent->cbarg) {
[all...]
H A Dhttp.c2502 void (*cb)(struct evhttp_connection *, void *), void *cbarg)
2505 evcon->closecb_arg = cbarg;
3438 (*cb->cb)(req, cb->cbarg);
3855 void (*cb)(struct evhttp_request *, void *), void *cbarg)
3876 http_cb->cbarg = cbarg;
3904 void (*cb)(struct evhttp_request *, void *), void *cbarg)
3907 http->gencbarg = cbarg;
3912 struct bufferevent* (*cb)(struct event_base *, void *), void *cbarg)
3915 http->bevcbarg = cbarg;
2501 evhttp_connection_set_closecb(struct evhttp_connection *evcon, void (*cb)(struct evhttp_connection *, void *), void *cbarg) argument
3854 evhttp_set_cb(struct evhttp *http, const char *uri, void (*cb)(struct evhttp_request *, void *), void *cbarg) argument
3903 evhttp_set_gencb(struct evhttp *http, void (*cb)(struct evhttp_request *, void *), void *cbarg) argument
3911 evhttp_set_bevcb(struct evhttp *http, struct bufferevent* (*cb)(struct event_base *, void *), void *cbarg) argument
[all...]

Completed in 246 milliseconds