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_fullscrape.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/ot_fullscrape.h (limited to 'src/ot_fullscrape.h') diff --git a/src/ot_fullscrape.h b/src/ot_fullscrape.h new file mode 100644 index 0000000..8d11cd3 --- /dev/null +++ b/src/ot_fullscrape.h @@ -0,0 +1,23 @@ +/* This software was written by Dirk Engling + It is considered beerware. Prost. Skol. Cheers or whatever. */ + +#ifndef OT_FULLSCRAPE_H__ +#define OT_FULLSCRAPE_H__ + +#ifdef WANT_FULLSCRAPE + +#include "ot_mutex.h" +#include "ot_workqueue.h" + +void fullscrape_init(void); +void fullscrape_deinit(void); +void fullscrape_deliver(int64_t sock, ot_tasktype tasktype); + +#else + +#define fullscrape_init() +#define fullscrape_deinit() + +#endif + +#endif -- cgit v1.3