xref: /netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/asyncerr.h (revision 4724848cf0da353df257f730694b7882798e5daf)
1*4724848cSchristos /*
2*4724848cSchristos  * Generated by util/mkerr.pl DO NOT EDIT
3*4724848cSchristos  * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
4*4724848cSchristos  *
5*4724848cSchristos  * Licensed under the OpenSSL license (the "License").  You may not use
6*4724848cSchristos  * this file except in compliance with the License.  You can obtain a copy
7*4724848cSchristos  * in the file LICENSE in the source distribution or at
8*4724848cSchristos  * https://www.openssl.org/source/license.html
9*4724848cSchristos  */
10*4724848cSchristos 
11*4724848cSchristos #ifndef HEADER_ASYNCERR_H
12*4724848cSchristos # define HEADER_ASYNCERR_H
13*4724848cSchristos 
14*4724848cSchristos # ifndef HEADER_SYMHACKS_H
15*4724848cSchristos #  include <openssl/symhacks.h>
16*4724848cSchristos # endif
17*4724848cSchristos 
18*4724848cSchristos # ifdef  __cplusplus
19*4724848cSchristos extern "C"
20*4724848cSchristos # endif
21*4724848cSchristos int ERR_load_ASYNC_strings(void);
22*4724848cSchristos 
23*4724848cSchristos /*
24*4724848cSchristos  * ASYNC function codes.
25*4724848cSchristos  */
26*4724848cSchristos # define ASYNC_F_ASYNC_CTX_NEW                            100
27*4724848cSchristos # define ASYNC_F_ASYNC_INIT_THREAD                        101
28*4724848cSchristos # define ASYNC_F_ASYNC_JOB_NEW                            102
29*4724848cSchristos # define ASYNC_F_ASYNC_PAUSE_JOB                          103
30*4724848cSchristos # define ASYNC_F_ASYNC_START_FUNC                         104
31*4724848cSchristos # define ASYNC_F_ASYNC_START_JOB                          105
32*4724848cSchristos # define ASYNC_F_ASYNC_WAIT_CTX_SET_WAIT_FD               106
33*4724848cSchristos 
34*4724848cSchristos /*
35*4724848cSchristos  * ASYNC reason codes.
36*4724848cSchristos  */
37*4724848cSchristos # define ASYNC_R_FAILED_TO_SET_POOL                       101
38*4724848cSchristos # define ASYNC_R_FAILED_TO_SWAP_CONTEXT                   102
39*4724848cSchristos # define ASYNC_R_INIT_FAILED                              105
40*4724848cSchristos # define ASYNC_R_INVALID_POOL_SIZE                        103
41*4724848cSchristos 
42*4724848cSchristos #endif
43