gmio_core: add error code GMIO_UNKNOWN_ERROR

This commit is contained in:
Hugues Delorme 2015-03-23 18:13:07 +01:00
parent 6de7891d88
commit 47d5700157

View File

@ -37,12 +37,15 @@ enum gmio_error
/*! Argument buffer's size is too small */ /*! Argument buffer's size is too small */
GMIO_INVALID_BUFFER_SIZE_ERROR = -3, GMIO_INVALID_BUFFER_SIZE_ERROR = -3,
/*! An error occurred with the argument gmio_stream_t */ /*! An error occurred with the gmio_stream */
GMIO_STREAM_ERROR = -4, GMIO_STREAM_ERROR = -4,
/*! Transfer was stopped by user, that is to say /*! Transfer was stopped by user, that is to say
* gmio_transfer::is_stop_requested_func() returned GMIO_TRUE */ * gmio_transfer::is_stop_requested_func() returned GMIO_TRUE */
GMIO_TRANSFER_STOPPED_ERROR = -5 GMIO_TRANSFER_STOPPED_ERROR = -5,
/*! Unknown error */
GMIO_UNKNOWN_ERROR = -6
}; };
typedef enum gmio_error gmio_error_t; typedef enum gmio_error gmio_error_t;