X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=include%2Fopenssl%2Fcrypto.h;h=d68551dd2be897d3694ea19b57b8d754c6f5618d;hp=a5501c98fb82b162b18220c41fd0dc5221d23f8d;hb=a4625290c37193f77a04e73899e1c2fe176c4991;hpb=71567a6f418ed1dc42d4c5ec57f72d3119b75966 diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h index a5501c98fb..d68551dd2b 100644 --- a/include/openssl/crypto.h +++ b/include/openssl/crypto.h @@ -362,6 +362,7 @@ const char *OpenSSL_version(int type); # define OPENSSL_BUILT_ON 2 # define OPENSSL_PLATFORM 3 # define OPENSSL_DIR 4 +# define OPENSSL_ENGINES_DIR 5 int OPENSSL_issetugid(void); @@ -597,11 +598,10 @@ typedef struct ossl_init_settings_st { typedef struct ossl_init_stop_st OPENSSL_INIT_STOP; /* Library initialisation functions */ -void OPENSSL_INIT_library_stop(void); -void OPENSSL_INIT_crypto_library_start(uint64_t opts, - const OPENSSL_INIT_SETTINGS *settings); -int OPENSSL_INIT_register_stop_handler(void (*handler)(void)); -void OPENSSL_INIT_thread_stop(void); +void OPENSSL_cleanup(void); +int OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings); +int OPENSSL_atexit(void (*handler)(void)); +void OPENSSL_thread_stop(void); /* BEGIN ERROR CODES */ /* @@ -628,6 +628,7 @@ void ERR_load_CRYPTO_strings(void); # define CRYPTO_F_INT_DUP_EX_DATA 106 # define CRYPTO_F_INT_FREE_EX_DATA 107 # define CRYPTO_F_INT_NEW_EX_DATA 108 +# define CRYPTO_F_OPENSSL_INIT_CRYPTO 116 # define CRYPTO_F_OPENSSL_MEMDUP 114 /* Reason codes. */