Blame include/crypto/cryptlib.h

Packit c4476c
/*
Packit c4476c
 * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
Packit c4476c
 *
Packit c4476c
 * Licensed under the OpenSSL license (the "License").  You may not use
Packit c4476c
 * this file except in compliance with the License.  You can obtain a copy
Packit c4476c
 * in the file LICENSE in the source distribution or at
Packit c4476c
 * https://www.openssl.org/source/license.html
Packit c4476c
 */
Packit c4476c
Packit c4476c
#include "internal/cryptlib.h"
Packit c4476c
Packit c4476c
/* This file is not scanned by mkdef.pl, whereas cryptlib.h is */
Packit c4476c
Packit c4476c
struct thread_local_inits_st {
Packit c4476c
    int async;
Packit c4476c
    int err_state;
Packit c4476c
    int rand;
Packit c4476c
};
Packit c4476c
Packit c4476c
int ossl_init_thread_start(uint64_t opts);
Packit c4476c
Packit c4476c
/*
Packit c4476c
 * OPENSSL_INIT flags. The primary list of these is in crypto.h. Flags below
Packit c4476c
 * are those omitted from crypto.h because they are "reserved for internal
Packit c4476c
 * use".
Packit c4476c
 */
Packit c4476c
# define OPENSSL_INIT_ZLIB                   0x00010000L
Packit c4476c
# define OPENSSL_INIT_BASE_ONLY              0x00040000L
Packit c4476c
Packit c4476c
/* OPENSSL_INIT_THREAD flags */
Packit c4476c
# define OPENSSL_INIT_THREAD_ASYNC           0x01
Packit c4476c
# define OPENSSL_INIT_THREAD_ERR_STATE       0x02
Packit c4476c
# define OPENSSL_INIT_THREAD_RAND            0x04
Packit c4476c
Packit c4476c
void ossl_malloc_setup_failures(void);