Main Page Class Hierarchy Compound List File List Compound Members File Members

# worm_statuscode.h

Go to the documentation of this file.

    00001 #ifndef _WORM_STATUS_CODES_H
    00002 #define _WORM_STATUS_CODES_H
    00003
    00004 /*
    00005 **  Use only negative numbers for error codes to support methods
    00006 **  that might want to return a count as a positive number.
    00007 */
    00008 enum WORM_STATUS_CODE
    00009 {
    00010     WORM_STAT_BADFILE     = -12 // error
    00011   , WORM_STAT_FILEOPEN    = -11 // error
    00012   , WORM_STAT_BADMALLOC   = -10 //   "
    00013   , WORM_STAT_UNSUPPORT   =  -9 //   "
    00014   , WORM_STAT_MSGSIZE     =  -8 //   "
    00015   , WORM_STAT_FORMATERROR =  -7 //   "
    00016   , WORM_STAT_BADPARM     =  -6 //   "
    00017   , WORM_STAT_NOTINIT     =  -5 //   "
    00018   , WORM_STAT_ARRAYINDEX  =  -4 //   "
    00019   , WORM_STAT_INVALID     =  -3 //   "
    00020   , WORM_STAT_FAILURE     =  -2 //   "
    00021   , WORM_STAT_BADSTATE    =  -1 //   "
    00022   , WORM_STAT_SUCCESS     =   0
    00023   , WORM_STAT_CHANGED     =   1 // state
    00024   , WORM_STAT_NOMATCH     =   2 //   "
    00025   , WORM_STAT_NONEREMAIN  =   3 //   "
    00026   , WORM_STAT_REJECTITEM  =   4 //   "
    00027   , WORM_STAT_DROPITEM    =   5 //   "
    00028   , WORM_STAT_LAPPED      =   6 //   "
    00029   , WORM_STAT_SEQGAP      =   7 //   "
    00030   , WORM_STAT_NODATA      =   8 //   "
    00031   , WORM_STAT_DISCONNECT  =   9 //   "
    00032 };
    00033
    00034
    00035
    00036 #endif
    00037