Lines Matching refs:what
206 static void evhttp_error_cb(struct bufferevent *bufev, short what, void *arg);
1393 evhttp_connection_retry(evutil_socket_t fd, short what, void *arg) in evhttp_connection_retry() argument
1479 evhttp_error_cb(struct bufferevent *bufev, short what, void *arg) in evhttp_error_cb() argument
1489 if (what & BEV_EVENT_TIMEOUT) { in evhttp_error_cb()
1501 && what == (BEV_EVENT_READING|BEV_EVENT_EOF)) { in evhttp_error_cb()
1544 if (what & BEV_EVENT_TIMEOUT) { in evhttp_error_cb()
1546 } else if (what & (BEV_EVENT_EOF|BEV_EVENT_ERROR)) { in evhttp_error_cb()
1547 if (what & BEV_EVENT_WRITING && in evhttp_error_cb()
1553 if (what & BEV_EVENT_READING && in evhttp_error_cb()
1562 } else if (what == BEV_EVENT_CONNECTED) { in evhttp_error_cb()
1572 evhttp_connection_cb(struct bufferevent *bufev, short what, void *arg) in evhttp_connection_cb() argument
1581 if (!(what & BEV_EVENT_CONNECTED)) { in evhttp_connection_cb()
1590 evhttp_error_cb(bufev, what, arg); in evhttp_connection_cb()
3351 if (!strcmp(cb->what, translated)) { in evhttp_dispatch_callback()
3755 mm_free(http_cb->what); in evhttp_free()
3920 if (strcmp(http_cb->what, uri) == 0) in evhttp_set_cb()
3929 http_cb->what = mm_strdup(uri); in evhttp_set_cb()
3930 if (http_cb->what == NULL) { in evhttp_set_cb()
3949 if (strcmp(http_cb->what, uri) == 0) in evhttp_del_cb()
3956 mm_free(http_cb->what); in evhttp_del_cb()