src/server/daemon/sessionhandler.h

changeset 542
1327febf99c4
parent 438
22eca559aded
child 554
e0a6b761ddbc
--- 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
 }

mercurial