diff options
author | Doug Hogan <[email protected]> | 2018-12-20 02:08:04 -0800 |
---|---|---|
committer | Doug Hogan <[email protected]> | 2018-12-20 02:30:53 -0800 |
commit | eab44e595a209e7e09d135cfcc92e94fd1b061c8 (patch) | |
tree | a7ed01d2611304f97506606c6edee0e3d771f5a6 /lib/crypto/c_src/info.h | |
parent | cf23c663c5dc3995097ad29f18f54bc366391e7b (diff) | |
download | otp-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.h | 15 |
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__ */ |