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

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_BADMALLOC   =  -7 // error
00011   , WORM_STAT_UNSUPPORT   =  -6 //   "
00012   , WORM_STAT_MSGSIZE     =  -5 //   "
00013   , WORM_STAT_BADPARM     =  -4 //   "
00014   , WORM_STAT_INVALID     =  -3 //   "
00015   , WORM_STAT_FAILURE     =  -2 //   "
00016   , WORM_STAT_BADSTATE    =  -1 //   "
00017   , WORM_STAT_SUCCESS     =   0
00018   , WORM_STAT_NOMATCH     =   1 // state
00019   , WORM_STAT_REJECTITEM  =   2 //   "
00020   , WORM_STAT_DROPITEM    =   3 //   "
00021   , WORM_STAT_LAPPED      =   4 //   "
00022   , WORM_STAT_SEQGAP      =   5 //   "
00023 };
00024 
00025 
00026 
00027 /*
00028 ** Handler Status -- commonly for configuration line handling
00029 */
00030 enum HANDLE_STATUS
00031 {
00032     HANDLER_INVALID = -1
00033   , HANDLER_UNUSED  =  0
00034   , HANDLER_USED    =  1
00035 };
00036 
00037 #endif
00038  

Generated on Tue May 6 09:16:10 2003 for Earthworm Libs by doxygen1.3-rc3