File indexing completed on 2025-01-18 10:05:51
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef OPENSSL_THREAD_H
0012 # define OPENSSL_THREAD_H
0013
0014 # define OSSL_THREAD_SUPPORT_FLAG_THREAD_POOL (1U<<0)
0015 # define OSSL_THREAD_SUPPORT_FLAG_DEFAULT_SPAWN (1U<<1)
0016
0017 # include <openssl/types.h>
0018
0019 # ifdef __cplusplus
0020 extern "C" {
0021 # endif
0022
0023 uint32_t OSSL_get_thread_support_flags(void);
0024 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads);
0025 uint64_t OSSL_get_max_threads(OSSL_LIB_CTX *ctx);
0026
0027 # ifdef __cplusplus
0028 }
0029 # endif
0030
0031 #endif