/* Error codes for the BIO functions. */ /* Function codes. */ #define BIO_F_ACPT_STATE 100 #define BIO_F_BIO_ACCEPT 101 #define BIO_F_BIO_CTRL 102 #define BIO_F_BIO_GETS 103 #define BIO_F_BIO_GET_ACCEPT_SOCKET 104 #define BIO_F_BIO_GET_HOST_IP 105 #define BIO_F_BIO_GET_PORT 106 #define BIO_F_BIO_NEW 107 #define BIO_F_BIO_NEW_FILE 108 #define BIO_F_BIO_PUTS 109 #define BIO_F_BIO_READ 110 #define BIO_F_BIO_SOCK_INIT 111 #define BIO_F_BIO_WRITE 112 #define BIO_F_CONN_STATE 113 #define BIO_F_FILE_CTRL 114 #define BIO_F_MEM_WRITE 115 #define BIO_F_WSASTARTUP 116 /* Reason codes. */ #define BIO_R_ACCEPT_ERROR 100 #define BIO_R_BAD_FOPEN_MODE 101 #define BIO_R_BAD_HOSTNAME_LOOKUP 102 #define BIO_R_CONNECT_ERROR 103 #define BIO_R_ERROR_SETTING_NBIO 104 #define BIO_R_ERROR_SETTING_NBIO_ON_ACCEPTED_SOCKET 105 #define BIO_R_ERROR_SETTING_NBIO_ON_ACCEPT_SOCKET 106 #define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107 #define BIO_R_INVALID_IP_ADDRESS 108 #define BIO_R_NBIO_CONNECT_ERROR 109 #define BIO_R_NO_ACCEPT_PORT_SPECIFIED 110 #define BIO_R_NO_HOSTHNAME_SPECIFIED 111 #define BIO_R_NO_PORT_DEFINED 112 #define BIO_R_NO_PORT_SPECIFIED 113 #define BIO_R_NULL_PARAMETER 114 #define BIO_R_UNABLE_TO_BIND_SOCKET 115 #define BIO_R_UNABLE_TO_CREATE_SOCKET 116 #define BIO_R_UNABLE_TO_LISTEN_SOCKET 117 #define BIO_R_UNINITALISED 118 #define BIO_R_UNSUPPORTED_METHOD 119 #define BIO_R_WSASTARTUP 120