]>
Commit | Line | Data |
---|---|---|
52df25cf RS |
1 | /* |
2 | * Generated by util/mkerr.pl DO NOT EDIT | |
2a6a5607 | 3 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. |
52df25cf | 4 | * |
48f4ad77 | 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
52df25cf RS |
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 | ||
ae4186b0 DMSP |
11 | #ifndef OPENSSL_ASYNCERR_H |
12 | # define OPENSSL_ASYNCERR_H | |
52df25cf | 13 | |
cbfa5b03 RS |
14 | # include <openssl/opensslconf.h> |
15 | # include <openssl/symhacks.h> | |
16 | ||
2a6a5607 | 17 | |
52df25cf | 18 | # ifdef __cplusplus |
a699b8e4 | 19 | extern "C" |
52df25cf RS |
20 | # endif |
21 | int ERR_load_ASYNC_strings(void); | |
52df25cf RS |
22 | |
23 | /* | |
24 | * ASYNC function codes. | |
25 | */ | |
cbfa5b03 RS |
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 | |
52df25cf RS |
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 |