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/ --- src/ot_udp.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/ot_udp.h (limited to 'src/ot_udp.h') diff --git a/src/ot_udp.h b/src/ot_udp.h new file mode 100644 index 0000000..2710744 --- /dev/null +++ b/src/ot_udp.h @@ -0,0 +1,17 @@ +/* This software was written by Dirk Engling + It is considered beerware. Prost. Skol. Cheers or whatever. */ + +#ifndef OT_UDP_H__ +#define OT_UDP_H__ + +#include + +#include "trackerlogic.h" + +void udp_init(void); +/* One thread reading one socket. Called once per worker. */ +void udp_worker_install(int64_t sock); + +int handle_udp6(int64_t serversocket, struct ot_workstruct *ws); + +#endif -- cgit v1.3