Provide an ability to deregister thread stop handlers
[openssl.git] / crypto / include / internal / cryptlib_int.h
index a69bdcd408cf314e8eb5efba55a49ff51067378c..673a004f0f6b8efca34392922b6f7971f0114c17 100644 (file)
@@ -12,8 +12,9 @@
 
 /* This file is not scanned by mkdef.pl, whereas cryptlib.h is */
 
-int ossl_init_thread_start(void *arg,
+int ossl_init_thread_start(const void *index, void *arg,
                            OSSL_thread_stop_handler_fn handfn);
+int ossl_init_thread_deregister(void *index);
 int ossl_init_thread(void);
 void ossl_cleanup_thread(void);
 void ossl_ctx_thread_stop(void *arg);