status_codes.h
Go to the documentation of this file.00001
00041 #ifndef STATUS_CODES_H_INCLUDED
00042 #define STATUS_CODES_H_INCLUDED
00043
00053 enum status_code {
00054 STATUS_OK = 0,
00055 ERR_IO_ERROR = -1,
00056 ERR_FLUSHED = -2,
00057 ERR_TIMEOUT = -3,
00058 ERR_BAD_DATA = -4,
00059 ERR_PROTOCOL = -5,
00060 ERR_UNSUPPORTED_DEV = -6,
00061 ERR_NO_MEMORY = -7,
00062 ERR_INVALID_ARG = -8,
00063 ERR_BAD_ADDRESS = -9,
00064 ERR_BUSY = -10,
00065 ERR_BAD_FORMAT = -11,
00066
00076 OPERATION_IN_PROGRESS = -128,
00077 };
00078
00079 typedef enum status_code status_code_t;
00080
00081 #endif