blob: 3eb1332bbfe465a3268c02e9fc0fa03d23e86c7f [file] [log] [blame]
Rich Salzb6cff312016-05-17 17:38:18 -04001/*
Rich Salz52df25c2017-06-07 15:12:03 -04002 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
clucey7f458a42016-02-17 13:38:36 +00004 *
Rich Salzb6cff312016-05-17 17:38:18 -04005 * 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
Rich Salz52df25c2017-06-07 15:12:03 -040011#ifndef HEADER_AFALGERR_H
12# define HEADER_AFALGERR_H
13
14# define AFALGerr(f, r) ERR_AFALG_error((f), (r), OPENSSL_FILE, OPENSSL_LINE)
15
16
Rich Salzb6cff312016-05-17 17:38:18 -040017/*
Rich Salz52df25c2017-06-07 15:12:03 -040018 * AFALG function codes.
clucey7f458a42016-02-17 13:38:36 +000019 */
clucey7f458a42016-02-17 13:38:36 +000020# define AFALG_F_AFALG_CHK_PLATFORM 100
Rich Salz52df25c2017-06-07 15:12:03 -040021# define AFALG_F_AFALG_CREATE_SK 101
22# define AFALG_F_AFALG_INIT_AIO 102
23# define AFALG_F_AFALG_SETUP_ASYNC_EVENT_NOTIFICATION 103
24# define AFALG_F_AFALG_SET_KEY 104
25# define AFALG_F_BIND_AFALG 105
clucey7f458a42016-02-17 13:38:36 +000026
Rich Salz52df25c2017-06-07 15:12:03 -040027/*
28 * AFALG reason codes.
29 */
clucey7f458a42016-02-17 13:38:36 +000030# define AFALG_R_EVENTFD_FAILED 108
clucey6cba4a62016-02-23 08:01:01 +000031# define AFALG_R_FAILED_TO_GET_PLATFORM_INFO 111
clucey7f458a42016-02-17 13:38:36 +000032# define AFALG_R_INIT_FAILED 100
33# define AFALG_R_IO_SETUP_FAILED 105
34# define AFALG_R_KERNEL_DOES_NOT_SUPPORT_AFALG 101
35# define AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG 107
36# define AFALG_R_MEM_ALLOC_FAILED 102
clucey6cba4a62016-02-23 08:01:01 +000037# define AFALG_R_SOCKET_ACCEPT_FAILED 110
clucey7f458a42016-02-17 13:38:36 +000038# define AFALG_R_SOCKET_BIND_FAILED 103
39# define AFALG_R_SOCKET_CREATE_FAILED 109
40# define AFALG_R_SOCKET_OPERATION_FAILED 104
41# define AFALG_R_SOCKET_SET_KEY_FAILED 106
42
clucey7f458a42016-02-17 13:38:36 +000043#endif