summaryrefslogtreecommitdiff
path: root/ot_tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ot_tcp.h')
-rw-r--r--ot_tcp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ot_tcp.h b/ot_tcp.h
index b0a93f4..96b6ec1 100644
--- a/ot_tcp.h
+++ b/ot_tcp.h
@@ -19,4 +19,10 @@ void tcp_accept(const int64_t serversocket, struct ot_workstruct *ws);
19void tcp_read(const int64_t sock, struct ot_workstruct *ws); 19void tcp_read(const int64_t sock, struct ot_workstruct *ws);
20void tcp_write(const int64_t sock); 20void tcp_write(const int64_t sock);
21 21
22/* One thread accepting on one socket. Called once per worker. */
23void tcp_worker_install(int64_t sock);
24
25/* Stop every worker installed above and wait for it to be gone */
26void tcp_workers_deinit(void);
27
22#endif 28#endif