]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/bioerr.h
DH: add CHANGES entry listing the deprecated DH functions.
[thirdparty/openssl.git] / include / openssl / bioerr.h
CommitLineData
52df25cf
RS
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
2a6a5607 3 * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
52df25cf 4 *
48f4ad77 5 * Licensed under the Apache License 2.0 (the "License"). You may not use
52df25cf
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
ae4186b0
DMSP
11#ifndef OPENSSL_BIOERR_H
12# define OPENSSL_BIOERR_H
d86167ec
DMSP
13# pragma once
14
15# include <openssl/macros.h>
936c2b9e 16# ifndef OPENSSL_NO_DEPRECATED_3_0
d86167ec
DMSP
17# define HEADER_BIOERR_H
18# endif
52df25cf 19
cbfa5b03
RS
20# include <openssl/opensslconf.h>
21# include <openssl/symhacks.h>
22
2a6a5607 23
52df25cf 24# ifdef __cplusplus
a699b8e4 25extern "C"
52df25cf
RS
26# endif
27int ERR_load_BIO_strings(void);
52df25cf
RS
28
29/*
30 * BIO function codes.
31 */
936c2b9e 32# ifndef OPENSSL_NO_DEPRECATED_3_0
cbfa5b03
RS
33# define BIO_F_ACPT_STATE 0
34# define BIO_F_ADDRINFO_WRAP 0
35# define BIO_F_ADDR_STRINGS 0
36# define BIO_F_BIO_ACCEPT 0
37# define BIO_F_BIO_ACCEPT_EX 0
38# define BIO_F_BIO_ACCEPT_NEW 0
39# define BIO_F_BIO_ADDR_NEW 0
40# define BIO_F_BIO_BIND 0
41# define BIO_F_BIO_CALLBACK_CTRL 0
42# define BIO_F_BIO_CONNECT 0
43# define BIO_F_BIO_CONNECT_NEW 0
44# define BIO_F_BIO_CTRL 0
45# define BIO_F_BIO_GETS 0
46# define BIO_F_BIO_GET_HOST_IP 0
47# define BIO_F_BIO_GET_NEW_INDEX 0
48# define BIO_F_BIO_GET_PORT 0
49# define BIO_F_BIO_LISTEN 0
50# define BIO_F_BIO_LOOKUP 0
51# define BIO_F_BIO_LOOKUP_EX 0
52# define BIO_F_BIO_MAKE_PAIR 0
53# define BIO_F_BIO_METH_NEW 0
54# define BIO_F_BIO_NEW 0
55# define BIO_F_BIO_NEW_DGRAM_SCTP 0
56# define BIO_F_BIO_NEW_FILE 0
57# define BIO_F_BIO_NEW_MEM_BUF 0
58# define BIO_F_BIO_NREAD 0
59# define BIO_F_BIO_NREAD0 0
60# define BIO_F_BIO_NWRITE 0
61# define BIO_F_BIO_NWRITE0 0
62# define BIO_F_BIO_PARSE_HOSTSERV 0
63# define BIO_F_BIO_PUTS 0
64# define BIO_F_BIO_READ 0
65# define BIO_F_BIO_READ_EX 0
66# define BIO_F_BIO_READ_INTERN 0
67# define BIO_F_BIO_SOCKET 0
68# define BIO_F_BIO_SOCKET_NBIO 0
69# define BIO_F_BIO_SOCK_INFO 0
70# define BIO_F_BIO_SOCK_INIT 0
71# define BIO_F_BIO_WRITE 0
72# define BIO_F_BIO_WRITE_EX 0
73# define BIO_F_BIO_WRITE_INTERN 0
74# define BIO_F_BUFFER_CTRL 0
75# define BIO_F_CONN_CTRL 0
76# define BIO_F_CONN_STATE 0
77# define BIO_F_DGRAM_SCTP_NEW 0
78# define BIO_F_DGRAM_SCTP_READ 0
79# define BIO_F_DGRAM_SCTP_WRITE 0
80# define BIO_F_DOAPR_OUTCH 0
81# define BIO_F_FILE_CTRL 0
82# define BIO_F_FILE_READ 0
83# define BIO_F_LINEBUFFER_CTRL 0
84# define BIO_F_LINEBUFFER_NEW 0
85# define BIO_F_MEM_WRITE 0
86# define BIO_F_NBIOF_NEW 0
87# define BIO_F_SLG_WRITE 0
88# define BIO_F_SSL_NEW 0
89# endif
52df25cf
RS
90
91/*
92 * BIO reason codes.
93 */
94# define BIO_R_ACCEPT_ERROR 100
95# define BIO_R_ADDRINFO_ADDR_IS_NOT_AF_INET 141
96# define BIO_R_AMBIGUOUS_HOST_OR_SERVICE 129
97# define BIO_R_BAD_FOPEN_MODE 101
98# define BIO_R_BROKEN_PIPE 124
99# define BIO_R_CONNECT_ERROR 103
bcbb30af 100# define BIO_R_CONNECT_TIMEOUT 147
52df25cf
RS
101# define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107
102# define BIO_R_GETSOCKNAME_ERROR 132
103# define BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS 133
104# define BIO_R_GETTING_SOCKTYPE 134
105# define BIO_R_INVALID_ARGUMENT 125
106# define BIO_R_INVALID_SOCKET 135
107# define BIO_R_IN_USE 123
108# define BIO_R_LENGTH_TOO_LONG 102
109# define BIO_R_LISTEN_V6_ONLY 136
110# define BIO_R_LOOKUP_RETURNED_NOTHING 142
111# define BIO_R_MALFORMED_HOST_OR_SERVICE 130
112# define BIO_R_NBIO_CONNECT_ERROR 110
113# define BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED 143
114# define BIO_R_NO_HOSTNAME_OR_SERVICE_SPECIFIED 144
115# define BIO_R_NO_PORT_DEFINED 113
116# define BIO_R_NO_SUCH_FILE 128
117# define BIO_R_NULL_PARAMETER 115
bcbb30af
DDO
118# define BIO_R_TRANSFER_ERROR 104
119# define BIO_R_TRANSFER_TIMEOUT 105
52df25cf
RS
120# define BIO_R_UNABLE_TO_BIND_SOCKET 117
121# define BIO_R_UNABLE_TO_CREATE_SOCKET 118
122# define BIO_R_UNABLE_TO_KEEPALIVE 137
123# define BIO_R_UNABLE_TO_LISTEN_SOCKET 119
124# define BIO_R_UNABLE_TO_NODELAY 138
125# define BIO_R_UNABLE_TO_REUSEADDR 139
126# define BIO_R_UNAVAILABLE_IP_FAMILY 145
127# define BIO_R_UNINITIALIZED 120
128# define BIO_R_UNKNOWN_INFO_TYPE 140
129# define BIO_R_UNSUPPORTED_IP_FAMILY 146
130# define BIO_R_UNSUPPORTED_METHOD 121
131# define BIO_R_UNSUPPORTED_PROTOCOL_FAMILY 131
132# define BIO_R_WRITE_TO_READ_ONLY_BIO 126
133# define BIO_R_WSASTARTUP 122
134
135#endif