Coverage Report

Created: 2024-01-20 12:35

/src/openssl/include/crypto/cryptlib.h
Line
Count
Source
1
/*
2
 * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
3
 *
4
 * Licensed under the Apache License 2.0 (the "License").  You may not use
5
 * this file except in compliance with the License.  You can obtain a copy
6
 * in the file LICENSE in the source distribution or at
7
 * https://www.openssl.org/source/license.html
8
 */
9
10
#include <openssl/core.h>
11
#include "internal/cryptlib.h"
12
13
/* This file is not scanned by mkdef.pl, whereas cryptlib.h is */
14
15
int ossl_init_thread_start(const void *index, void *arg,
16
                           OSSL_thread_stop_handler_fn handfn);
17
int ossl_init_thread_deregister(void *index);
18
int ossl_init_thread(void);
19
void ossl_cleanup_thread(void);
20
void ossl_ctx_thread_stop(void *arg);
21
22
/*
23
 * OPENSSL_INIT flags. The primary list of these is in crypto.h. Flags below
24
 * are those omitted from crypto.h because they are "reserved for internal
25
 * use".
26
 */
27
2.70M
# define OPENSSL_INIT_ZLIB                   0x00010000L
28
16.3M
# define OPENSSL_INIT_BASE_ONLY              0x00040000L
29
30
void ossl_trace_cleanup(void);
31
void ossl_malloc_setup_failures(void);