Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 #if !defined (_Errno_h_)
00031 #define _Errno_h_
00032 #include <errno.h>
00033 
00034 #define INK_START_ERRNO 20000
00035 
00036 #define SOCK_ERRNO                        INK_START_ERRNO
00037 #define NET_ERRNO                         INK_START_ERRNO+100
00038 #define CLUSTER_ERRNO                     INK_START_ERRNO+200
00039 #define CACHE_ERRNO                       INK_START_ERRNO+400
00040 #define HTTP_ERRNO                        INK_START_ERRNO+600
00041 
00042 #define ENET_THROTTLING                   (NET_ERRNO+1)
00043 #define ENET_CONNECT_TIMEOUT              (NET_ERRNO+2)
00044 #define ENET_CONNECT_FAILED               (NET_ERRNO+3)
00045 
00046 #define ESOCK_DENIED                      (SOCK_ERRNO+0)
00047 #define ESOCK_TIMEOUT                     (SOCK_ERRNO+1)
00048 #define ESOCK_NO_SOCK_SERVER_CONN         (SOCK_ERRNO+2)
00049 
00050 
00051 #define ECLUSTER_NO_VC                    (CLUSTER_ERRNO+0)
00052 #define ECLUSTER_NO_MACHINE               (CLUSTER_ERRNO+1)
00053 #define ECLUSTER_OP_TIMEOUT               (CLUSTER_ERRNO+2)
00054 #define ECLUSTER_ORB_DATA_READ            (CLUSTER_ERRNO+3)
00055 #define ECLUSTER_ORB_EIO                  (CLUSTER_ERRNO+4)
00056 #define ECLUSTER_CHANNEL_INUSE            (CLUSTER_ERRNO+5)
00057 #define ECLUSTER_NOMORE_CHANNELS          (CLUSTER_ERRNO+6)
00058 
00059 #define ECACHE_NO_DOC                     (CACHE_ERRNO+0)
00060 #define ECACHE_DOC_BUSY                   (CACHE_ERRNO+1)
00061 #define ECACHE_DIR_BAD                    (CACHE_ERRNO+2)
00062 #define ECACHE_BAD_META_DATA              (CACHE_ERRNO+3)
00063 #define ECACHE_READ_FAIL                  (CACHE_ERRNO+4)
00064 #define ECACHE_WRITE_FAIL                 (CACHE_ERRNO+5)
00065 #define ECACHE_MAX_ALT_EXCEEDED           (CACHE_ERRNO+6)
00066 #define ECACHE_NOT_READY                  (CACHE_ERRNO+7)
00067 #define ECACHE_ALT_MISS                   (CACHE_ERRNO+8)
00068 #define ECACHE_BAD_READ_REQUEST           (CACHE_ERRNO+9)
00069 
00070 #define EHTTP_ERROR                       (HTTP_ERRNO+0)
00071 
00072 #endif