From ad541c67761b8aa6da1566802c347cac4018d0c2 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Mon, 2 Nov 2026 20:50:24 +0100 Subject: Move the build sources into src/ --- ot_tcp.h | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 ot_tcp.h (limited to 'ot_tcp.h') diff --git a/ot_tcp.h b/ot_tcp.h deleted file mode 100644 index afed142..0000000 --- a/ot_tcp.h +++ /dev/null @@ -1,24 +0,0 @@ -/* This software was written by Dirk Engling - It is considered beerware. Prost. Skol. Cheers or whatever. */ - -#ifndef OT_TCP_H__ -#define OT_TCP_H__ - -#include - -#include "trackerlogic.h" - -/* Take whatever connections are waiting on a listening socket and answer - them, each on this thread's stack, handing a connection that cannot be - finished to the event loop */ -void tcp_accept(const int64_t serversocket, struct ot_workstruct *ws); - -/* Handler connections in the event loop has become readable or writable */ -void tcp_read(const int64_t sock, struct ot_workstruct *ws); -void tcp_write(const int64_t sock); - -/* One thread accepting on one socket. Called once per worker. */ -void tcp_worker_install(int64_t sock); - - -#endif -- cgit v1.3