2016-02-09 11:26:14 +00:00
|
|
|
/*
|
2018-03-20 13:00:17 +00:00
|
|
|
* Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
|
2016-02-09 11:26:14 +00:00
|
|
|
*
|
2018-12-06 13:12:35 +01:00
|
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-17 15:38:09 -04:00
|
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
|
|
* in the file LICENSE in the source distribution or at
|
|
|
|
* https://www.openssl.org/source/license.html
|
2016-02-09 11:26:14 +00:00
|
|
|
*/
|
|
|
|
|
2019-05-27 16:31:27 +01:00
|
|
|
#include <openssl/core.h>
|
2017-08-03 16:21:01 -04:00
|
|
|
#include "internal/cryptlib.h"
|
2016-02-09 11:26:14 +00:00
|
|
|
|
|
|
|
/* This file is not scanned by mkdef.pl, whereas cryptlib.h is */
|
|
|
|
|
2019-05-27 16:31:27 +01:00
|
|
|
int ossl_init_thread_start(void *arg,
|
|
|
|
OSSL_thread_stop_handler_fn handfn);
|
2019-06-17 15:16:36 +01:00
|
|
|
int ossl_init_thread(void);
|
|
|
|
void ossl_cleanup_thread(void);
|
2019-05-27 16:31:27 +01:00
|
|
|
void ossl_ctx_thread_stop(void *arg);
|
2016-03-11 21:53:18 +00:00
|
|
|
|
2016-02-09 11:26:14 +00:00
|
|
|
/*
|
|
|
|
* OPENSSL_INIT flags. The primary list of these is in crypto.h. Flags below
|
2016-08-05 19:56:58 +02:00
|
|
|
* are those omitted from crypto.h because they are "reserved for internal
|
2016-02-09 11:26:14 +00:00
|
|
|
* use".
|
|
|
|
*/
|
2016-02-29 16:14:00 +00:00
|
|
|
# define OPENSSL_INIT_ZLIB 0x00010000L
|
2018-04-20 15:45:06 +02:00
|
|
|
# define OPENSSL_INIT_BASE_ONLY 0x00040000L
|
2016-02-09 11:26:14 +00:00
|
|
|
|
2018-12-11 23:58:29 +01:00
|
|
|
int ossl_trace_init(void);
|
|
|
|
void ossl_trace_cleanup(void);
|
2016-07-08 13:40:08 -04:00
|
|
|
void ossl_malloc_setup_failures(void);
|