]>
Commit | Line | Data |
---|---|---|
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 | ||
11 | #ifndef HEADER_BIOERR_H | |
12 | # define HEADER_BIOERR_H | |
13 | ||
2a6a5607 RS |
14 | # ifndef HEADER_SYMHACKS_H |
15 | # include <openssl/symhacks.h> | |
16 | # endif | |
17 | ||
52df25cf | 18 | # ifdef __cplusplus |
a699b8e4 | 19 | extern "C" |
52df25cf RS |
20 | # endif |
21 | int ERR_load_BIO_strings(void); | |
52df25cf RS |
22 | |
23 | /* | |
24 | * BIO function codes. | |
25 | */ | |
26 | # define BIO_F_ACPT_STATE 100 | |
cdb10bae | 27 | # define BIO_F_ADDRINFO_WRAP 148 |
52df25cf RS |
28 | # define BIO_F_ADDR_STRINGS 134 |
29 | # define BIO_F_BIO_ACCEPT 101 | |
30 | # define BIO_F_BIO_ACCEPT_EX 137 | |
f06080cb | 31 | # define BIO_F_BIO_ACCEPT_NEW 152 |
52df25cf | 32 | # define BIO_F_BIO_ADDR_NEW 144 |
ebc01683 | 33 | # define BIO_F_BIO_BIND 147 |
52df25cf RS |
34 | # define BIO_F_BIO_CALLBACK_CTRL 131 |
35 | # define BIO_F_BIO_CONNECT 138 | |
f06080cb | 36 | # define BIO_F_BIO_CONNECT_NEW 153 |
52df25cf RS |
37 | # define BIO_F_BIO_CTRL 103 |
38 | # define BIO_F_BIO_GETS 104 | |
39 | # define BIO_F_BIO_GET_HOST_IP 106 | |
40 | # define BIO_F_BIO_GET_NEW_INDEX 102 | |
41 | # define BIO_F_BIO_GET_PORT 107 | |
42 | # define BIO_F_BIO_LISTEN 139 | |
43 | # define BIO_F_BIO_LOOKUP 135 | |
44 | # define BIO_F_BIO_LOOKUP_EX 143 | |
45 | # define BIO_F_BIO_MAKE_PAIR 121 | |
6dbe4dc4 | 46 | # define BIO_F_BIO_METH_NEW 146 |
52df25cf RS |
47 | # define BIO_F_BIO_NEW 108 |
48 | # define BIO_F_BIO_NEW_DGRAM_SCTP 145 | |
49 | # define BIO_F_BIO_NEW_FILE 109 | |
50 | # define BIO_F_BIO_NEW_MEM_BUF 126 | |
51 | # define BIO_F_BIO_NREAD 123 | |
52 | # define BIO_F_BIO_NREAD0 124 | |
53 | # define BIO_F_BIO_NWRITE 125 | |
54 | # define BIO_F_BIO_NWRITE0 122 | |
55 | # define BIO_F_BIO_PARSE_HOSTSERV 136 | |
56 | # define BIO_F_BIO_PUTS 110 | |
57 | # define BIO_F_BIO_READ 111 | |
58 | # define BIO_F_BIO_READ_EX 105 | |
59 | # define BIO_F_BIO_READ_INTERN 120 | |
60 | # define BIO_F_BIO_SOCKET 140 | |
61 | # define BIO_F_BIO_SOCKET_NBIO 142 | |
62 | # define BIO_F_BIO_SOCK_INFO 141 | |
63 | # define BIO_F_BIO_SOCK_INIT 112 | |
64 | # define BIO_F_BIO_WRITE 113 | |
65 | # define BIO_F_BIO_WRITE_EX 119 | |
66 | # define BIO_F_BIO_WRITE_INTERN 128 | |
67 | # define BIO_F_BUFFER_CTRL 114 | |
68 | # define BIO_F_CONN_CTRL 127 | |
69 | # define BIO_F_CONN_STATE 115 | |
cdb10bae | 70 | # define BIO_F_DGRAM_SCTP_NEW 149 |
52df25cf RS |
71 | # define BIO_F_DGRAM_SCTP_READ 132 |
72 | # define BIO_F_DGRAM_SCTP_WRITE 133 | |
cdb10bae | 73 | # define BIO_F_DOAPR_OUTCH 150 |
52df25cf RS |
74 | # define BIO_F_FILE_CTRL 116 |
75 | # define BIO_F_FILE_READ 130 | |
76 | # define BIO_F_LINEBUFFER_CTRL 129 | |
cdb10bae | 77 | # define BIO_F_LINEBUFFER_NEW 151 |
52df25cf | 78 | # define BIO_F_MEM_WRITE 117 |
f06080cb F |
79 | # define BIO_F_NBIOF_NEW 154 |
80 | # define BIO_F_SLG_WRITE 155 | |
52df25cf RS |
81 | # define BIO_F_SSL_NEW 118 |
82 | ||
83 | /* | |
84 | * BIO reason codes. | |
85 | */ | |
86 | # define BIO_R_ACCEPT_ERROR 100 | |
87 | # define BIO_R_ADDRINFO_ADDR_IS_NOT_AF_INET 141 | |
88 | # define BIO_R_AMBIGUOUS_HOST_OR_SERVICE 129 | |
89 | # define BIO_R_BAD_FOPEN_MODE 101 | |
90 | # define BIO_R_BROKEN_PIPE 124 | |
91 | # define BIO_R_CONNECT_ERROR 103 | |
92 | # define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107 | |
93 | # define BIO_R_GETSOCKNAME_ERROR 132 | |
94 | # define BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS 133 | |
95 | # define BIO_R_GETTING_SOCKTYPE 134 | |
96 | # define BIO_R_INVALID_ARGUMENT 125 | |
97 | # define BIO_R_INVALID_SOCKET 135 | |
98 | # define BIO_R_IN_USE 123 | |
99 | # define BIO_R_LENGTH_TOO_LONG 102 | |
100 | # define BIO_R_LISTEN_V6_ONLY 136 | |
101 | # define BIO_R_LOOKUP_RETURNED_NOTHING 142 | |
102 | # define BIO_R_MALFORMED_HOST_OR_SERVICE 130 | |
103 | # define BIO_R_NBIO_CONNECT_ERROR 110 | |
104 | # define BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED 143 | |
105 | # define BIO_R_NO_HOSTNAME_OR_SERVICE_SPECIFIED 144 | |
106 | # define BIO_R_NO_PORT_DEFINED 113 | |
107 | # define BIO_R_NO_SUCH_FILE 128 | |
108 | # define BIO_R_NULL_PARAMETER 115 | |
109 | # define BIO_R_UNABLE_TO_BIND_SOCKET 117 | |
110 | # define BIO_R_UNABLE_TO_CREATE_SOCKET 118 | |
111 | # define BIO_R_UNABLE_TO_KEEPALIVE 137 | |
112 | # define BIO_R_UNABLE_TO_LISTEN_SOCKET 119 | |
113 | # define BIO_R_UNABLE_TO_NODELAY 138 | |
114 | # define BIO_R_UNABLE_TO_REUSEADDR 139 | |
115 | # define BIO_R_UNAVAILABLE_IP_FAMILY 145 | |
116 | # define BIO_R_UNINITIALIZED 120 | |
117 | # define BIO_R_UNKNOWN_INFO_TYPE 140 | |
118 | # define BIO_R_UNSUPPORTED_IP_FAMILY 146 | |
119 | # define BIO_R_UNSUPPORTED_METHOD 121 | |
120 | # define BIO_R_UNSUPPORTED_PROTOCOL_FAMILY 131 | |
121 | # define BIO_R_WRITE_TO_READ_ONLY_BIO 126 | |
122 | # define BIO_R_WSASTARTUP 122 | |
123 | ||
124 | #endif |