sha512.c: Grammar Fixes and Spell Checks in Implementation Notes
[openssl.git] / include / openssl / asyncerr.h
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2020 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/opensslconf.h>
16 # include <openssl/symhacks.h>
17
18
19 # ifdef  __cplusplus
20 extern "C"
21 # endif
22 int ERR_load_ASYNC_strings(void);
23
24 /*
25  * ASYNC function codes.
26  */
27 # ifndef OPENSSL_NO_DEPRECATED_3_0
28 #  define ASYNC_F_ASYNC_CTX_NEW                            0
29 #  define ASYNC_F_ASYNC_INIT_THREAD                        0
30 #  define ASYNC_F_ASYNC_JOB_NEW                            0
31 #  define ASYNC_F_ASYNC_PAUSE_JOB                          0
32 #  define ASYNC_F_ASYNC_START_FUNC                         0
33 #  define ASYNC_F_ASYNC_START_JOB                          0
34 #  define ASYNC_F_ASYNC_WAIT_CTX_SET_WAIT_FD               0
35 # endif
36
37 /*
38  * ASYNC reason codes.
39  */
40 # define ASYNC_R_FAILED_TO_SET_POOL                       101
41 # define ASYNC_R_FAILED_TO_SWAP_CONTEXT                   102
42 # define ASYNC_R_INIT_FAILED                              105
43 # define ASYNC_R_INVALID_POOL_SIZE                        103
44
45 #endif