summaryrefslogtreecommitdiffstats
path: root/comm/third_party/botan/src/lib/ffi/ffi_rng.h
diff options
context:
space:
mode:
Diffstat (limited to 'comm/third_party/botan/src/lib/ffi/ffi_rng.h')
-rw-r--r--comm/third_party/botan/src/lib/ffi/ffi_rng.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/comm/third_party/botan/src/lib/ffi/ffi_rng.h b/comm/third_party/botan/src/lib/ffi/ffi_rng.h
new file mode 100644
index 0000000000..2117853c47
--- /dev/null
+++ b/comm/third_party/botan/src/lib/ffi/ffi_rng.h
@@ -0,0 +1,19 @@
+/*
+* (C) 2017 Jack Lloyd
+*
+* Botan is released under the Simplified BSD License (see license.txt)
+*/
+
+#ifndef BOTAN_FFI_RNG_H_
+#define BOTAN_FFI_RNG_H_
+
+#include <botan/rng.h>
+#include <botan/internal/ffi_util.h>
+
+extern "C" {
+
+BOTAN_FFI_DECLARE_STRUCT(botan_rng_struct, Botan::RandomNumberGenerator, 0x4901F9C1);
+
+}
+
+#endif