mie: add some more status codes
This commit is contained in:
@@ -1,12 +1,24 @@
|
||||
#ifndef MIE_STATUS_H_
|
||||
#define MIE_STATUS_H_
|
||||
|
||||
#include <mie/misc.h>
|
||||
|
||||
#define MIE_ERROR_VENDOR (ivy_error_vendor())
|
||||
|
||||
struct b_error_vendor;
|
||||
|
||||
enum mie_status {
|
||||
MIE_SUCCESS = 0,
|
||||
MIE_ERR_EOF,
|
||||
MIE_ERR_BAD_SYNTAX,
|
||||
MIE_ERR_BAD_FORMAT,
|
||||
MIE_ERR_NOT_SUPPORTED,
|
||||
MIE_ERR_INVALID_VALUE,
|
||||
MIE_ERR_INTERNAL_FAILURE,
|
||||
MIE_ERR_NO_MEMORY,
|
||||
MIE_ERR_NO_ENTRY,
|
||||
};
|
||||
|
||||
MIE_API const struct b_error_vendor *mie_error_vendor(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user