diff -r 1e1fca11aaff -r 1327febf99c4 src/server/daemon/sessionhandler.h --- a/src/server/daemon/sessionhandler.h Sun Aug 11 13:26:17 2024 +0200 +++ b/src/server/daemon/sessionhandler.h Sun Aug 11 18:51:39 2024 +0200 @@ -123,6 +123,7 @@ * * defined in sesionhandler.c */ +typedef struct EventHttpIO EventHttpIO; int connection_read(Connection *conn, void *buf, int len); int connection_write(Connection *conn, const void *buf, int len); @@ -157,6 +158,8 @@ void evt_enq_conn(SessionHandler *handler, Connection *conn); +EventHttpIO* evt_req_init(SessionHandler *handler, Connection *conn); + int evt_request_ssl_accept(EventHandler *handler, Event *event); int evt_request_input(EventHandler *h, Event *event); int evt_request_finish(EventHandler *h, Event *event); @@ -164,6 +167,10 @@ void evt_keep_alive(SessionHandler *handler, Connection *conn); +int evt_keep_alive_enqueue(EventHandler *h, Event *event); +int evt_keep_alive_input_event(EventHandler *h, Event *event); + +void evt_keep_alive_destroy(EventHandler *h, EVWatchList *item); #ifdef __cplusplus }