Home | History | Annotate | Download | only in libevent

Lines Matching refs:evhttp

43 /** @file evhttp.h
64 struct evhttp;
71 * @return a pointer to a newly initialized evhttp server structure
73 struct evhttp *evhttp_new(struct event_base *base);
81 * @param http a pointer to an evhttp object
84 * @return a newly allocated evhttp struct
87 int evhttp_bind_socket(struct evhttp *http, const char *address, u_short port);
100 * @param http a pointer to an evhttp object
105 int evhttp_accept_socket(struct evhttp *http, int fd);
112 * @param http the evhttp server object to be freed
115 void evhttp_free(struct evhttp* http);
118 void evhttp_set_cb(struct evhttp *, const char *,
122 int evhttp_del_cb(struct evhttp *, const char *);
126 void evhttp_set_gencb(struct evhttp *,
132 * @param http an evhttp object
135 void evhttp_set_timeout(struct evhttp *, int timeout_in_secs);
172 * @return an struct evhttp object
174 struct evhttp *evhttp_start(const char *address, u_short port);