X509_LOOKUP_store: new X509_LOOKUP_METHOD that works by OSSL_STORE URI
[openssl.git] / include / openssl / asyncerr.h
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
4  *
5  * Licensed under the Apache License 2.0 (the "License").  You may not use
6  * this file except in compliance with the License.  You can obtain a copy
7  * in the file LICENSE in the source distribution or at
8  * https://www.openssl.org/source/license.html
9  */
10
11 #ifndef OPENSSL_ASYNCERR_H
12 # define OPENSSL_ASYNCERR_H
13 # pragma once
14
15 # include <openssl/macros.h>
16 # if !OPENSSL_API_3
17 #  define HEADER_ASYNCERR_H
18 # endif
19
20 # include <openssl/opensslconf.h>
21 # include <openssl/symhacks.h>
22
23
24 # ifdef  __cplusplus
25 extern "C"
26 # endif
27 int ERR_load_ASYNC_strings(void);
28
29 /*
30  * ASYNC function codes.
31  */
32 # if !OPENSSL_API_3
33 #  define ASYNC_F_ASYNC_CTX_NEW                            0
34 #  define ASYNC_F_ASYNC_INIT_THREAD                        0
35 #  define ASYNC_F_ASYNC_JOB_NEW                            0
36 #  define ASYNC_F_ASYNC_PAUSE_JOB                          0
37 #  define ASYNC_F_ASYNC_START_FUNC                         0
38 #  define ASYNC_F_ASYNC_START_JOB                          0
39 #  define ASYNC_F_ASYNC_WAIT_CTX_SET_WAIT_FD               0
40 # endif
41
42 /*
43  * ASYNC reason codes.
44  */
45 # define ASYNC_R_FAILED_TO_SET_POOL                       101
46 # define ASYNC_R_FAILED_TO_SWAP_CONTEXT                   102
47 # define ASYNC_R_INIT_FAILED                              105
48 # define ASYNC_R_INVALID_POOL_SIZE                        103
49
50 #endif