#ifndef STREAM_CONN_H #define STREAM_CONN_H #include "stream_route.h" void dispatch_client_fd(struct worker *w, struct accepted_client *ac); void free_conn(conn_t *conn); void set_client_idle_timeout(conn_t *conn, const struct route *r); void stream_client_event_cb(struct bufferevent *bev, short events, void *arg); void stream_upstream_event_cb(struct bufferevent *bev, short events, void *arg); #ifdef FUZZ int stream_route_adopt_client_for_fuzz( struct event_base *base, const struct route *r, evutil_socket_t client_fd, const struct sockaddr_storage *peer_addr, socklen_t peer_addr_len); #endif #endif