xref: /netbsd-src/crypto/external/bsd/openssl/dist/engines/e_afalg_err.h (revision b0d1725196a7921d003d2c66a14f186abda4176b)
113d40330Schristos /*
213d40330Schristos  * Generated by util/mkerr.pl DO NOT EDIT
3*b0d17251Schristos  * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
413d40330Schristos  *
5*b0d17251Schristos  * Licensed under the Apache License 2.0 (the "License").  You may not use
613d40330Schristos  * this file except in compliance with the License.  You can obtain a copy
713d40330Schristos  * in the file LICENSE in the source distribution or at
813d40330Schristos  * https://www.openssl.org/source/license.html
913d40330Schristos  */
1013d40330Schristos 
11*b0d17251Schristos #ifndef OSSL_E_AFALG_ERR_H
12*b0d17251Schristos # define OSSL_E_AFALG_ERR_H
13*b0d17251Schristos # pragma once
1413d40330Schristos 
15*b0d17251Schristos # include <openssl/opensslconf.h>
16*b0d17251Schristos # include <openssl/symhacks.h>
1713d40330Schristos 
1813d40330Schristos 
19*b0d17251Schristos # define AFALGerr(f, r) ERR_AFALG_error(0, (r), OPENSSL_FILE, OPENSSL_LINE)
20*b0d17251Schristos 
2113d40330Schristos 
2213d40330Schristos /*
2313d40330Schristos  * AFALG reason codes.
2413d40330Schristos  */
2513d40330Schristos # define AFALG_R_EVENTFD_FAILED                           108
2613d40330Schristos # define AFALG_R_FAILED_TO_GET_PLATFORM_INFO              111
2713d40330Schristos # define AFALG_R_INIT_FAILED                              100
2813d40330Schristos # define AFALG_R_IO_SETUP_FAILED                          105
2913d40330Schristos # define AFALG_R_KERNEL_DOES_NOT_SUPPORT_AFALG            101
3013d40330Schristos # define AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG      107
3113d40330Schristos # define AFALG_R_MEM_ALLOC_FAILED                         102
3213d40330Schristos # define AFALG_R_SOCKET_ACCEPT_FAILED                     110
3313d40330Schristos # define AFALG_R_SOCKET_BIND_FAILED                       103
3413d40330Schristos # define AFALG_R_SOCKET_CREATE_FAILED                     109
3513d40330Schristos # define AFALG_R_SOCKET_OPERATION_FAILED                  104
3613d40330Schristos # define AFALG_R_SOCKET_SET_KEY_FAILED                    106
3713d40330Schristos 
3813d40330Schristos #endif
39