]>
Commit | Line | Data |
---|---|---|
b6cff313 | 1 | /* |
52df25cf | 2 | * Generated by util/mkerr.pl DO NOT EDIT |
cbfa5b03 | 3 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. |
7f458a48 | 4 | * |
ab3fa1c0 | 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
b6cff313 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 | ||
52df25cf RS |
11 | #ifndef HEADER_AFALGERR_H |
12 | # define HEADER_AFALGERR_H | |
7f458a48 | 13 | |
cbfa5b03 RS |
14 | # include <openssl/opensslconf.h> |
15 | # include <openssl/symhacks.h> | |
16 | ||
17 | ||
18 | # define AFALGerr(f, r) ERR_AFALG_error(0, (r), OPENSSL_FILE, OPENSSL_LINE) | |
7f458a48 | 19 | |
7f458a48 | 20 | |
52df25cf RS |
21 | /* |
22 | * AFALG function codes. | |
23 | */ | |
cbfa5b03 RS |
24 | # if !OPENSSL_API_3 |
25 | # define AFALG_F_AFALG_CHK_PLATFORM 0 | |
26 | # define AFALG_F_AFALG_CREATE_SK 0 | |
27 | # define AFALG_F_AFALG_INIT_AIO 0 | |
28 | # define AFALG_F_AFALG_SETUP_ASYNC_EVENT_NOTIFICATION 0 | |
29 | # define AFALG_F_AFALG_SET_KEY 0 | |
30 | # define AFALG_F_BIND_AFALG 0 | |
31 | # endif | |
7f458a48 | 32 | |
52df25cf RS |
33 | /* |
34 | * AFALG reason codes. | |
35 | */ | |
7f458a48 | 36 | # define AFALG_R_EVENTFD_FAILED 108 |
6cba4a66 | 37 | # define AFALG_R_FAILED_TO_GET_PLATFORM_INFO 111 |
7f458a48 | 38 | # define AFALG_R_INIT_FAILED 100 |
39 | # define AFALG_R_IO_SETUP_FAILED 105 | |
40 | # define AFALG_R_KERNEL_DOES_NOT_SUPPORT_AFALG 101 | |
41 | # define AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG 107 | |
42 | # define AFALG_R_MEM_ALLOC_FAILED 102 | |
6cba4a66 | 43 | # define AFALG_R_SOCKET_ACCEPT_FAILED 110 |
7f458a48 | 44 | # define AFALG_R_SOCKET_BIND_FAILED 103 |
45 | # define AFALG_R_SOCKET_CREATE_FAILED 109 | |
46 | # define AFALG_R_SOCKET_OPERATION_FAILED 104 | |
47 | # define AFALG_R_SOCKET_SET_KEY_FAILED 106 | |
48 | ||
7f458a48 | 49 | #endif |