aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi/ffi_mp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ffi/ffi_mp.h')
-rw-r--r--src/lib/ffi/ffi_mp.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/ffi/ffi_mp.h b/src/lib/ffi/ffi_mp.h
new file mode 100644
index 000000000..fb2e2dee5
--- /dev/null
+++ b/src/lib/ffi/ffi_mp.h
@@ -0,0 +1,21 @@
+/*
+* (C) 2017 Jack Lloyd
+*
+* Botan is released under the Simplified BSD License (see license.txt)
+*/
+
+#ifndef BOTAN_FFI_MP_H__
+#define BOTAN_FFI_MP_H__
+
+#include <botan/bigint.h>
+#include <botan/internal/ffi_util.h>
+
+extern "C" {
+
+using namespace Botan_FFI;
+
+BOTAN_FFI_DECLARE_STRUCT(botan_mp_struct, Botan::BigInt, 0xC828B9D2);
+
+}
+
+#endif