- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

# include/status-codes.h

Go to the documentation of this file.

    00001
    00044 #ifndef STATUS_CODES_H_INCLUDED
    00045 #define STATUS_CODES_H_INCLUDED
    00046
    00057 enum status_code {
    00058         STATUS_OK               =   0,
    00059         STATUS_INVALID_PARAM    =   1,
    00060         STATUS_PROTO_ERROR      =   2,
    00061         STATUS_READ_FAILED      =   3,
    00062         STATUS_WRITE_FAILED     =   4,
    00063         STATUS_INSUFF_RESOURCES =   5,
    00064         STATUS_BAD_ADDRESS      =   6,
    00065         STATUS_INVALID_IMAGE    =   7,
    00066         STATUS_UNSUPP_TAG       =   8,
    00067         STATUS_INTERNAL_ERROR   =   9,
    00068         STATUS_BAD_COMMAND      =  10,
    00069         STATUS_TIMEOUT          =  11,
    00070         STATUS_UNSUPP_CHIP      =  12,
    00071         STATUS_IO_ERROR         =  13,
    00072         STATUS_CORRUPTED_IMAGE  =  14,
    00073         STATUS_ERASE_FAILED     =  15,
    00074         STATUS_FLUSHED          =  16,
    00075 };
    00076
    00086 #define STATUS_IN_PROGRESS      1024
    00088 #endif /* STATUS_CODES_H_INCLUDED */