summaryrefslogtreecommitdiff
path: root/libs/libsodium/src/include/sodium/randombytes_nativeclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libsodium/src/include/sodium/randombytes_nativeclient.h')
-rw-r--r--libs/libsodium/src/include/sodium/randombytes_nativeclient.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/libs/libsodium/src/include/sodium/randombytes_nativeclient.h b/libs/libsodium/src/include/sodium/randombytes_nativeclient.h
new file mode 100644
index 0000000000..5158d8c3c3
--- /dev/null
+++ b/libs/libsodium/src/include/sodium/randombytes_nativeclient.h
@@ -0,0 +1,23 @@
+
+#ifndef randombytes_nativeclient_H
+#define randombytes_nativeclient_H
+
+#ifdef __native_client__
+
+# include "export.h"
+# include "randombytes.h"
+
+# ifdef __cplusplus
+extern "C" {
+# endif
+
+SODIUM_EXPORT
+extern struct randombytes_implementation randombytes_nativeclient_implementation;
+
+# ifdef __cplusplus
+}
+# endif
+
+#endif
+
+#endif