aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/info.h
diff options
context:
space:
mode:
authorDoug Hogan <[email protected]>2018-12-20 02:08:04 -0800
committerDoug Hogan <[email protected]>2018-12-20 02:30:53 -0800
commiteab44e595a209e7e09d135cfcc92e94fd1b061c8 (patch)
treea7ed01d2611304f97506606c6edee0e3d771f5a6 /lib/crypto/c_src/info.h
parentcf23c663c5dc3995097ad29f18f54bc366391e7b (diff)
downloadotp-eab44e595a209e7e09d135cfcc92e94fd1b061c8.tar.gz
otp-eab44e595a209e7e09d135cfcc92e94fd1b061c8.tar.bz2
otp-eab44e595a209e7e09d135cfcc92e94fd1b061c8.zip
Move info functionality to a new file
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__ */