src/misc/result.h

Go to the documentation of this file.
00001 
00008 #ifndef _TXC_RESULT_H
00009 #define _TXC_RESULT_H
00010 
00011 #define TXC_R_SUCCESS           0   /*%< success */
00012 #define TXC_R_NOMEMORY          1   /*%< out of memory */
00013 #define TXC_R_TIMEDOUT          2   /*%< timed out */
00014 #define TXC_R_NOTHREADS         3   /*%< no available threads */
00015 #define TXC_R_ADDRNOTAVAIL      4   /*%< address not available */
00016 #define TXC_R_ADDRINUSE         5   /*%< address in use */
00017 #define TXC_R_NOPERM            6   /*%< permission denied */
00018 #define TXC_R_NOCONN            7   /*%< no pending connections */
00019 #define TXC_R_NETUNREACH        8   /*%< network unreachable */
00020 #define TXC_R_HOSTUNREACH       9   /*%< host unreachable */
00021 #define TXC_R_NETDOWN           10  /*%< network down */
00022 #define TXC_R_HOSTDOWN          11  /*%< host down */
00023 #define TXC_R_CONNREFUSED       12  /*%< connection refused */
00024 #define TXC_R_NORESOURCES       13  /*%< not enough free resources */
00025 #define TXC_R_EOF               14  /*%< end of file */
00026 #define TXC_R_BOUND             15  /*%< socket already bound */
00027 #define TXC_R_RELOAD            16  /*%< reload */
00028 #define TXC_R_LOCKBUSY          17  /*%< lock busy */
00029 #define TXC_R_EXISTS            18  /*%< already exists */
00030 #define TXC_R_NOSPACE           19  /*%< ran out of space */
00031 #define TXC_R_CANCELED          20  /*%< operation canceled */
00032 #define TXC_R_NOTBOUND          21  /*%< socket is not bound */
00033 #define TXC_R_SHUTTINGDOWN      22  /*%< shutting down */
00034 #define TXC_R_NOTFOUND          23  /*%< not found */
00035 #define TXC_R_UNEXPECTEDEND     24  /*%< unexpected end of input */
00036 #define TXC_R_FAILURE           25  /*%< generic failure */
00037 #define TXC_R_IOERROR           26  /*%< I/O error */
00038 #define TXC_R_NOTIMPLEMENTED    27  /*%< not implemented */
00039 #define TXC_R_INVALIDFILE       28  /*%< invalid file */
00040 #define TXC_R_UNEXPECTEDTOKEN   29      /*%< unexpected token */
00041 #define TXC_R_UNEXPECTED        30  /*%< unexpected error */
00042 #define TXC_R_ALREADYRUNNING    31  /*%< already running */
00043 #define TXC_R_IGNORE            32  /*%< ignore */
00044 #define TXC_R_FILENOTFOUND      33  /*%< file not found */
00045 #define TXC_R_FILEEXISTS        34  /*%< file already exists */
00046 #define TXC_R_NOTCONNECTED      35  /*%< socket is not connected */
00047 #define TXC_R_RANGE             36  /*%< out of range */
00048 #define TXC_R_NOTFILE           37  /*%< not a file */
00049 #define TXC_R_NOTDIRECTORY      38  /*%< not a directory */
00050 #define TXC_R_QUEUEFULL         39  /*%< queue is full */
00051 #define ISC_R_TOOMANYOPENFILES  40  /*%< too many open files */
00052 #define ISC_R_NOTBLOCKING       41  /*%< not blocking */
00053 #define ISC_R_INPROGRESS        42  /*%< operation in progress */
00054 #define ISC_R_CONNECTIONRESET   43  /*%< connection reset */
00055 #define ISC_R_BADNUMBER         44  /*%< not a valid number */
00056 #define ISC_R_DISABLED          45  /*%< disabled */
00057 #define ISC_R_MAXSIZE           46  /*%< max size */
00058 #define ISC_R_BADADDRESSFORM    47  /*%< invalid address format */
00059 #define TXC_R_NOTINITLOCK       48  /*%< could not initialize lock */
00060 #define TXC_R_BUSYSENTINEL      49  /*%< busy sentinel  */
00061 #define TXC_R_NOTEXISTS         50  /*%< does not exist */      
00062 #define TXC_R_NULLITER          51  /*%< NULL iterator */       
00063         
00064 /*% Not a result code: the number of results. */
00065 #define TXC_R_NRESULTS          52
00066 
00067 typedef unsigned int            txc_result_t;  /*%< Result */
00068 
00069 #endif

Generated on Wed Dec 9 20:32:39 2009 for xCalls by  doxygen 1.4.7