Fix header file include guard names
[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
14 # include <openssl/opensslconf.h>
15 # include <openssl/symhacks.h>
16
17
18 # ifdef  __cplusplus
19 extern "C"
20 # endif
21 int ERR_load_ASYNC_strings(void);
22
23 /*
24  * ASYNC function codes.
25  */
26 # if !OPENSSL_API_3
27 #  define ASYNC_F_ASYNC_CTX_NEW                            0
28 #  define ASYNC_F_ASYNC_INIT_THREAD                        0
29 #  define ASYNC_F_ASYNC_JOB_NEW                            0
30 #  define ASYNC_F_ASYNC_PAUSE_JOB                          0
31 #  define ASYNC_F_ASYNC_START_FUNC                         0
32 #  define ASYNC_F_ASYNC_START_JOB                          0
33 #  define ASYNC_F_ASYNC_WAIT_CTX_SET_WAIT_FD               0
34 # endif
35
36 /*
37  * ASYNC reason codes.
38  */
39 # define ASYNC_R_FAILED_TO_SET_POOL                       101
40 # define ASYNC_R_FAILED_TO_SWAP_CONTEXT                   102
41 # define ASYNC_R_INIT_FAILED                              105
42 # define ASYNC_R_INVALID_POOL_SIZE                        103
43
44 #endif