Lines Matching refs:evhttp
70 struct evhttp;
85 struct evhttp *evhttp_new(struct event_base *base);
100 int evhttp_bind_socket(struct evhttp *http, const char *address, ev_uint16_t port);
114 struct evhttp_bound_socket *evhttp_bind_socket_with_handle(struct evhttp *http, const char *address…
133 int evhttp_accept_socket(struct evhttp *http, evutil_socket_t fd);
146 struct evhttp_bound_socket *evhttp_accept_socket_with_handle(struct evhttp *http, evutil_socket_t f…
154 struct evhttp_bound_socket *evhttp_bind_listener(struct evhttp *http, struct evconnlistener *listen…
174 void evhttp_foreach_bound_socket(struct evhttp *http, evhttp_bound_socket_foreach_fn *function, voi…
194 void evhttp_del_accept_socket(struct evhttp *http, struct evhttp_bound_socket *bound_socket);
215 void evhttp_free(struct evhttp* http);
219 void evhttp_set_max_headers_size(struct evhttp* http, ev_ssize_t max_headers_size);
222 void evhttp_set_max_body_size(struct evhttp* http, ev_ssize_t max_body_size);
233 void evhttp_set_default_content_type(struct evhttp *http,
248 void evhttp_set_allowed_methods(struct evhttp* http, ev_uint16_t methods);
260 int evhttp_set_cb(struct evhttp *http, const char *path,
265 int evhttp_del_cb(struct evhttp *, const char *);
279 void evhttp_set_gencb(struct evhttp *http,
297 void evhttp_set_bevcb(struct evhttp *http,
323 int evhttp_add_virtual_host(struct evhttp* http, const char *pattern,
324 struct evhttp* vhost);
335 int evhttp_remove_virtual_host(struct evhttp* http, struct evhttp* vhost);
346 int evhttp_add_server_alias(struct evhttp *http, const char *alias);
356 int evhttp_remove_server_alias(struct evhttp *http, const char *alias);
365 void evhttp_set_timeout(struct evhttp *http, int timeout_in_secs);
374 void evhttp_set_timeout_tv(struct evhttp *http, const struct timeval* tv);
387 int evhttp_set_flags(struct evhttp *http, int flags);
535 struct evhttp *evhttp_connection_get_server(struct evhttp_connection *evcon);