1e1051a39Sopenharmony_ci/* 2e1051a39Sopenharmony_ci * Generated by util/mkerr.pl DO NOT EDIT 3e1051a39Sopenharmony_ci * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4e1051a39Sopenharmony_ci * 5e1051a39Sopenharmony_ci * Licensed under the Apache License 2.0 (the "License"). You may not use 6e1051a39Sopenharmony_ci * this file except in compliance with the License. You can obtain a copy 7e1051a39Sopenharmony_ci * in the file LICENSE in the source distribution or at 8e1051a39Sopenharmony_ci * https://www.openssl.org/source/license.html 9e1051a39Sopenharmony_ci */ 10e1051a39Sopenharmony_ci 11e1051a39Sopenharmony_ci#ifndef OSSL_E_AFALG_ERR_H 12e1051a39Sopenharmony_ci# define OSSL_E_AFALG_ERR_H 13e1051a39Sopenharmony_ci# pragma once 14e1051a39Sopenharmony_ci 15e1051a39Sopenharmony_ci# include <openssl/opensslconf.h> 16e1051a39Sopenharmony_ci# include <openssl/symhacks.h> 17e1051a39Sopenharmony_ci 18e1051a39Sopenharmony_ci 19e1051a39Sopenharmony_ci# define AFALGerr(f, r) ERR_AFALG_error(0, (r), OPENSSL_FILE, OPENSSL_LINE) 20e1051a39Sopenharmony_ci 21e1051a39Sopenharmony_ci 22e1051a39Sopenharmony_ci/* 23e1051a39Sopenharmony_ci * AFALG reason codes. 24e1051a39Sopenharmony_ci */ 25e1051a39Sopenharmony_ci# define AFALG_R_EVENTFD_FAILED 108 26e1051a39Sopenharmony_ci# define AFALG_R_FAILED_TO_GET_PLATFORM_INFO 111 27e1051a39Sopenharmony_ci# define AFALG_R_INIT_FAILED 100 28e1051a39Sopenharmony_ci# define AFALG_R_IO_SETUP_FAILED 105 29e1051a39Sopenharmony_ci# define AFALG_R_KERNEL_DOES_NOT_SUPPORT_AFALG 101 30e1051a39Sopenharmony_ci# define AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG 107 31e1051a39Sopenharmony_ci# define AFALG_R_MEM_ALLOC_FAILED 102 32e1051a39Sopenharmony_ci# define AFALG_R_SOCKET_ACCEPT_FAILED 110 33e1051a39Sopenharmony_ci# define AFALG_R_SOCKET_BIND_FAILED 103 34e1051a39Sopenharmony_ci# define AFALG_R_SOCKET_CREATE_FAILED 109 35e1051a39Sopenharmony_ci# define AFALG_R_SOCKET_OPERATION_FAILED 104 36e1051a39Sopenharmony_ci# define AFALG_R_SOCKET_SET_KEY_FAILED 106 37e1051a39Sopenharmony_ci 38e1051a39Sopenharmony_ci#endif 39