aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/algorithms.h
diff options
context:
space:
mode:
authorDoug Hogan <[email protected]>2018-12-20 02:16:22 -0800
committerDoug Hogan <[email protected]>2018-12-20 02:30:59 -0800
commit7bc247373aa238d3f2f25b438f414e4214bd19c6 (patch)
tree5b42249b6c49728230a7734430ca1f6ef26d4f4b /lib/crypto/c_src/algorithms.h
parent49663961687dbf3beda19d875f91730b719e9f6f (diff)
downloadotp-7bc247373aa238d3f2f25b438f414e4214bd19c6.tar.gz
otp-7bc247373aa238d3f2f25b438f414e4214bd19c6.tar.bz2
otp-7bc247373aa238d3f2f25b438f414e4214bd19c6.zip
Move algorithms to a new file
crypto.c is now only responsible for declaring NIFs and setup/tear down.
Diffstat (limited to 'lib/crypto/c_src/algorithms.h')
-rw-r--r--lib/crypto/c_src/algorithms.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/crypto/c_src/algorithms.h b/lib/crypto/c_src/algorithms.h
new file mode 100644
index 0000000000..fd9d6d11ce
--- /dev/null
+++ b/lib/crypto/c_src/algorithms.h
@@ -0,0 +1,10 @@
+#ifndef E_ALGORITHMS_H__
+#define E_ALGORITHMS_H__ 1
+
+#include "common.h"
+
+void init_algorithms_types(ErlNifEnv* env);
+
+ERL_NIF_TERM algorithms(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]);
+
+#endif /* E_ALGORITHMS_H__ */