aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/info.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/c_src/info.h')
-rw-r--r--lib/crypto/c_src/info.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/crypto/c_src/info.h b/lib/crypto/c_src/info.h
new file mode 100644
index 0000000000..ba547baad2
--- /dev/null
+++ b/lib/crypto/c_src/info.h
@@ -0,0 +1,15 @@
+#ifndef E_INFO_H__
+#define E_INFO_H__ 1
+
+#include "common.h"
+
+#ifdef HAVE_DYNAMIC_CRYPTO_LIB
+extern char *crypto_callback_name;
+
+int change_basename(ErlNifBinary* bin, char* buf, int bufsz, const char* newfile);
+void error_handler(void* null, const char* errstr);
+#endif
+
+ERL_NIF_TERM info_lib(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]);
+
+#endif /* E_INFO_H__ */