{
IHEX_OK = 0, /**< Error code for success or no error. */IHEX_ERROR_FILE = -1, /**< Error code for error while reading from or writing to a file. You may check errno for the exact error if this error code is encountered. */IHEX_ERROR_EOF = -2, /**< Error code for encountering end-of-file when reading from a file. */IHEX_ERROR_INVALID_RECORD = -3, /**< Error code for error if an invalid record was read. */IHEX_ERROR_INVALID_ARGUMENTS = -4, /**< Error code for error from invalid arguments passed to function. */
};