yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame] | 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 OpenSSL license (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 HEADER_ASYNCERR_H |
| 12 | # define HEADER_ASYNCERR_H |
| 13 | |
| 14 | # ifndef HEADER_SYMHACKS_H |
| 15 | # include <openssl/symhacks.h> |
| 16 | # endif |
| 17 | |
| 18 | # ifdef __cplusplus |
| 19 | extern "C" |
| 20 | # endif |
| 21 | int ERR_load_ASYNC_strings(void); |
| 22 | |
| 23 | /* |
| 24 | * ASYNC function codes. |
| 25 | */ |
| 26 | # define ASYNC_F_ASYNC_CTX_NEW 100 |
| 27 | # define ASYNC_F_ASYNC_INIT_THREAD 101 |
| 28 | # define ASYNC_F_ASYNC_JOB_NEW 102 |
| 29 | # define ASYNC_F_ASYNC_PAUSE_JOB 103 |
| 30 | # define ASYNC_F_ASYNC_START_FUNC 104 |
| 31 | # define ASYNC_F_ASYNC_START_JOB 105 |
| 32 | # define ASYNC_F_ASYNC_WAIT_CTX_SET_WAIT_FD 106 |
| 33 | |
| 34 | /* |
| 35 | * ASYNC reason codes. |
| 36 | */ |
| 37 | # define ASYNC_R_FAILED_TO_SET_POOL 101 |
| 38 | # define ASYNC_R_FAILED_TO_SWAP_CONTEXT 102 |
| 39 | # define ASYNC_R_INIT_FAILED 105 |
| 40 | # define ASYNC_R_INVALID_POOL_SIZE 103 |
| 41 | |
| 42 | #endif |