aboutsummaryrefslogtreecommitdiff
path: root/websocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'websocket.h')
-rw-r--r--websocket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/websocket.h b/websocket.h
index f57fccc..011e63e 100644
--- a/websocket.h
+++ b/websocket.h
@@ -2,6 +2,6 @@
/* WebSocket connection handling functions */
int ws_close(websocket* ws, ws_close_reason code, char* reason);
-int ws_accept(int listen_fd);
+int ws_accept(int listen_fd, time_t current_time);
int ws_send_frame(websocket* ws, ws_operation opcode, uint8_t* data, size_t len);
int ws_data(websocket* ws);