]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/crypto/cryptlib.h
Reorganize private crypto header files
[thirdparty/openssl.git] / include / crypto / cryptlib.h
CommitLineData
b184e3ef 1/*
b0edda11 2 * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
b184e3ef 3 *
48f4ad77 4 * Licensed under the Apache License 2.0 (the "License"). You may not use
aa6bb135
RS
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
b184e3ef
MC
8 */
9
da747958 10#include <openssl/core.h>
5f8dd0f8 11#include "internal/cryptlib.h"
b184e3ef
MC
12
13/* This file is not scanned by mkdef.pl, whereas cryptlib.h is */
14
6913f5fe 15int ossl_init_thread_start(const void *index, void *arg,
da747958 16 OSSL_thread_stop_handler_fn handfn);
6913f5fe 17int ossl_init_thread_deregister(void *index);
2be8c56a
MC
18int ossl_init_thread(void);
19void ossl_cleanup_thread(void);
da747958 20void ossl_ctx_thread_stop(void *arg);
ff234405 21
b184e3ef
MC
22/*
23 * OPENSSL_INIT flags. The primary list of these is in crypto.h. Flags below
60250017 24 * are those omitted from crypto.h because they are "reserved for internal
b184e3ef
MC
25 * use".
26 */
15457b62 27# define OPENSSL_INIT_ZLIB 0x00010000L
eb2b9892 28# define OPENSSL_INIT_BASE_ONLY 0x00040000L
b184e3ef 29
2390c573 30void ossl_trace_cleanup(void);
f7edeced 31void ossl_malloc_setup_failures(void);