Ralf S. Engelschall | d02b48c | 1998-12-21 10:52:47 +0000 | [diff] [blame] | 1 | /* Error codes for the BIO functions. */ |
| 2 | |
| 3 | /* Function codes. */ |
| 4 | #define BIO_F_ACPT_STATE 100 |
| 5 | #define BIO_F_BIO_ACCEPT 101 |
Ralf S. Engelschall | dfeab06 | 1998-12-21 11:00:56 +0000 | [diff] [blame] | 6 | #define BIO_F_BIO_BER_GET_HEADER 102 |
| 7 | #define BIO_F_BIO_CTRL 103 |
| 8 | #define BIO_F_BIO_GETS 104 |
| 9 | #define BIO_F_BIO_GET_ACCEPT_SOCKET 105 |
| 10 | #define BIO_F_BIO_GET_HOST_IP 106 |
| 11 | #define BIO_F_BIO_GET_PORT 107 |
| 12 | #define BIO_F_BIO_NEW 108 |
| 13 | #define BIO_F_BIO_NEW_FILE 109 |
| 14 | #define BIO_F_BIO_PUTS 110 |
| 15 | #define BIO_F_BIO_READ 111 |
| 16 | #define BIO_F_BIO_SOCK_INIT 112 |
| 17 | #define BIO_F_BIO_WRITE 113 |
| 18 | #define BIO_F_BUFFER_CTRL 114 |
| 19 | #define BIO_F_CONN_STATE 115 |
| 20 | #define BIO_F_FILE_CTRL 116 |
| 21 | #define BIO_F_MEM_WRITE 117 |
Ralf S. Engelschall | 651d0af | 1998-12-22 15:04:48 +0000 | [diff] [blame^] | 22 | #define BIO_F_SSL_NEW 118 |
| 23 | #define BIO_F_WSASTARTUP 119 |
Ralf S. Engelschall | d02b48c | 1998-12-21 10:52:47 +0000 | [diff] [blame] | 24 | |
| 25 | /* Reason codes. */ |
| 26 | #define BIO_R_ACCEPT_ERROR 100 |
| 27 | #define BIO_R_BAD_FOPEN_MODE 101 |
| 28 | #define BIO_R_BAD_HOSTNAME_LOOKUP 102 |
| 29 | #define BIO_R_CONNECT_ERROR 103 |
| 30 | #define BIO_R_ERROR_SETTING_NBIO 104 |
| 31 | #define BIO_R_ERROR_SETTING_NBIO_ON_ACCEPTED_SOCKET 105 |
| 32 | #define BIO_R_ERROR_SETTING_NBIO_ON_ACCEPT_SOCKET 106 |
| 33 | #define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107 |
| 34 | #define BIO_R_INVALID_IP_ADDRESS 108 |
Ralf S. Engelschall | 58964a4 | 1998-12-21 10:56:39 +0000 | [diff] [blame] | 35 | #define BIO_R_KEEPALIVE 109 |
| 36 | #define BIO_R_NBIO_CONNECT_ERROR 110 |
| 37 | #define BIO_R_NO_ACCEPT_PORT_SPECIFIED 111 |
| 38 | #define BIO_R_NO_HOSTHNAME_SPECIFIED 112 |
| 39 | #define BIO_R_NO_PORT_DEFINED 113 |
| 40 | #define BIO_R_NO_PORT_SPECIFIED 114 |
| 41 | #define BIO_R_NULL_PARAMETER 115 |
Ralf S. Engelschall | 651d0af | 1998-12-22 15:04:48 +0000 | [diff] [blame^] | 42 | #define BIO_R_TAG_MISMATCH 116 |
| 43 | #define BIO_R_UNABLE_TO_BIND_SOCKET 117 |
| 44 | #define BIO_R_UNABLE_TO_CREATE_SOCKET 118 |
| 45 | #define BIO_R_UNABLE_TO_LISTEN_SOCKET 119 |
| 46 | #define BIO_R_UNINITALISED 120 |
| 47 | #define BIO_R_UNSUPPORTED_METHOD 121 |
| 48 | #define BIO_R_WSASTARTUP 122 |