You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
432 B

#ifndef oi_error_h
#define oi_error_h
#ifdef __cplusplus
extern "C" {
#endif
struct oi_error {
enum { OI_ERROR_GNUTLS
, OI_ERROR_EV
, OI_ERROR_CLOSE
, OI_ERROR_SHUTDOWN
, OI_ERROR_OPEN
, OI_ERROR_SEND
, OI_ERROR_RECV
, OI_ERROR_WRITE
, OI_ERROR_READ
, OI_ERROR_SENDFILE
} domain;
int code; /* errno */
};
#ifdef __cplusplus
}
#endif
#endif // oi_error_h