1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 *
5 * Licensed under the Apache License 2.0 (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
11#ifndef OPENSSL_BIOERR_H
12# define OPENSSL_BIOERR_H
13# pragma once
14
15# include <openssl/opensslconf.h>
16# include <openssl/symhacks.h>
17# include <openssl/cryptoerr_legacy.h>
18
19
20
21/*
22 * BIO reason codes.
23 */
24# define BIO_R_ACCEPT_ERROR 100
25# define BIO_R_ADDRINFO_ADDR_IS_NOT_AF_INET 141
26# define BIO_R_AMBIGUOUS_HOST_OR_SERVICE 129
27# define BIO_R_BAD_FOPEN_MODE 101
28# define BIO_R_BROKEN_PIPE 124
29# define BIO_R_CONNECT_ERROR 103
30# define BIO_R_CONNECT_TIMEOUT 147
31# define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107
32# define BIO_R_GETSOCKNAME_ERROR 132
33# define BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS 133
34# define BIO_R_GETTING_SOCKTYPE 134
35# define BIO_R_INVALID_ARGUMENT 125
36# define BIO_R_INVALID_SOCKET 135
37# define BIO_R_IN_USE 123
38# define BIO_R_LENGTH_TOO_LONG 102
39# define BIO_R_LISTEN_V6_ONLY 136
40# define BIO_R_LOOKUP_RETURNED_NOTHING 142
41# define BIO_R_MALFORMED_HOST_OR_SERVICE 130
42# define BIO_R_NBIO_CONNECT_ERROR 110
43# define BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED 143
44# define BIO_R_NO_HOSTNAME_OR_SERVICE_SPECIFIED 144
45# define BIO_R_NO_PORT_DEFINED 113
46# define BIO_R_NO_SUCH_FILE 128
47# define BIO_R_NULL_PARAMETER 115 /* unused */
48# define BIO_R_TRANSFER_ERROR 104
49# define BIO_R_TRANSFER_TIMEOUT 105
50# define BIO_R_UNABLE_TO_BIND_SOCKET 117
51# define BIO_R_UNABLE_TO_CREATE_SOCKET 118
52# define BIO_R_UNABLE_TO_KEEPALIVE 137
53# define BIO_R_UNABLE_TO_LISTEN_SOCKET 119
54# define BIO_R_UNABLE_TO_NODELAY 138
55# define BIO_R_UNABLE_TO_REUSEADDR 139
56# define BIO_R_UNAVAILABLE_IP_FAMILY 145
57# define BIO_R_UNINITIALIZED 120
58# define BIO_R_UNKNOWN_INFO_TYPE 140
59# define BIO_R_UNSUPPORTED_IP_FAMILY 146
60# define BIO_R_UNSUPPORTED_METHOD 121
61# define BIO_R_UNSUPPORTED_PROTOCOL_FAMILY 131
62# define BIO_R_WRITE_TO_READ_ONLY_BIO 126
63# define BIO_R_WSASTARTUP 122
64
65#endif
66