]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/include/internal/cryptlib_int.h
Copyright consolidation 05/10
[thirdparty/openssl.git] / crypto / include / internal / cryptlib_int.h
CommitLineData
b184e3ef 1/*
aa6bb135 2 * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
b184e3ef 3 *
aa6bb135
RS
4 * Licensed under the OpenSSL license (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
b184e3ef
MC
8 */
9
10#include <internal/cryptlib.h>
11
12/* This file is not scanned by mkdef.pl, whereas cryptlib.h is */
13
14struct thread_local_inits_st {
15 int async;
16 int err_state;
17};
b7326ea7 18
b184e3ef 19int ossl_init_thread_start(uint64_t opts);
ff234405 20
b184e3ef
MC
21/*
22 * OPENSSL_INIT flags. The primary list of these is in crypto.h. Flags below
8483a003 23 * are those ommitted from crypto.h because they are "reserved for internal
b184e3ef
MC
24 * use".
25 */
15457b62 26# define OPENSSL_INIT_ZLIB 0x00010000L
b184e3ef
MC
27
28/* OPENSSL_INIT_THREAD flags */
29# define OPENSSL_INIT_THREAD_ASYNC 0x01
30# define OPENSSL_INIT_THREAD_ERR_STATE 0x02
31