From acf0b7a45171555eba2c10a6ef84f915c62f6791 Mon Sep 17 00:00:00 2001 From: David Timber Date: Mon, 24 Aug 2020 09:37:43 +0930 Subject: * htbt checkpoint * Change PRNE_BUILD_ENTROPY to uint8_t array * endian.h problem * Remove "-I." CFLAG added by Automake () * Moved endian conversion macros to endian.h * Moved DNS server config from config.h to resolv.h to reduce compile time * Refactor resolv_ensure_act_dns_fd() to reduce binary size --- src/htbt.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/htbt.h (limited to 'src/htbt.h') diff --git a/src/htbt.h b/src/htbt.h new file mode 100644 index 0000000..edb6cda --- /dev/null +++ b/src/htbt.h @@ -0,0 +1,14 @@ +#pragma once +#include "pth.h" +#include "resolv.h" + + +typedef struct prne_htbt prne_htbt_t; +struct prne_htbt; + + +prne_htbt_t *prne_alloc_htbt_worker ( + prne_worker_t *w, + pth_t sigterm_pth, + prne_resolv_t *resolv, // optional + mbedtls_ctr_drbg_context *ctr_drbg); -- cgit