aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi/ffi_rng.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ffi/ffi_rng.h')
-rw-r--r--src/lib/ffi/ffi_rng.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/ffi/ffi_rng.h b/src/lib/ffi/ffi_rng.h
new file mode 100644
index 000000000..73060eab7
--- /dev/null
+++ b/src/lib/ffi/ffi_rng.h
@@ -0,0 +1,21 @@
+/*
+* (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" {
+
+using namespace Botan_FFI;
+
+BOTAN_FFI_DECLARE_STRUCT(botan_rng_struct, Botan::RandomNumberGenerator, 0x4901F9C1);
+
+}
+
+#endif