Ignore:
Timestamp:
Nov 20, 2005 7:55:42 PM (17 years ago)
Author:
bennylp
Message:

Added hex character conversion utility in ctype

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/errno.h

    r51 r62  
    165165 * Unknown error has been reported. 
    166166 */ 
    167 #define PJ_EUNKNOWN         (PJ_ERRNO_START_STATUS + 1) 
     167#define PJ_EUNKNOWN         (PJ_ERRNO_START_STATUS + 1) /* 70001 */ 
    168168/** 
    169169 * @hideinitializer 
    170170 * The operation is pending and will be completed later. 
    171171 */ 
    172 #define PJ_EPENDING         (PJ_ERRNO_START_STATUS + 2) 
     172#define PJ_EPENDING         (PJ_ERRNO_START_STATUS + 2) /* 70002 */ 
    173173/** 
    174174 * @hideinitializer 
    175175 * Too many connecting sockets. 
    176176 */ 
    177 #define PJ_ETOOMANYCONN     (PJ_ERRNO_START_STATUS + 3) 
     177#define PJ_ETOOMANYCONN     (PJ_ERRNO_START_STATUS + 3) /* 70003 */ 
    178178/** 
    179179 * @hideinitializer 
    180180 * Invalid argument. 
    181181 */ 
    182 #define PJ_EINVAL           (PJ_ERRNO_START_STATUS + 4) 
     182#define PJ_EINVAL           (PJ_ERRNO_START_STATUS + 4) /* 70004 */ 
    183183/** 
    184184 * @hideinitializer 
    185185 * Name too long (eg. hostname too long). 
    186186 */ 
    187 #define PJ_ENAMETOOLONG     (PJ_ERRNO_START_STATUS + 5) 
     187#define PJ_ENAMETOOLONG     (PJ_ERRNO_START_STATUS + 5) /* 70005 */ 
    188188/** 
    189189 * @hideinitializer 
    190190 * Not found. 
    191191 */ 
    192 #define PJ_ENOTFOUND        (PJ_ERRNO_START_STATUS + 6) 
     192#define PJ_ENOTFOUND        (PJ_ERRNO_START_STATUS + 6) /* 70006 */ 
    193193/** 
    194194 * @hideinitializer 
    195195 * Not enough memory. 
    196196 */ 
    197 #define PJ_ENOMEM           (PJ_ERRNO_START_STATUS + 7) 
     197#define PJ_ENOMEM           (PJ_ERRNO_START_STATUS + 7) /* 70007 */ 
    198198/** 
    199199 * @hideinitializer 
    200200 * Bug detected! 
    201201 */ 
    202 #define PJ_EBUG             (PJ_ERRNO_START_STATUS + 8) 
     202#define PJ_EBUG             (PJ_ERRNO_START_STATUS + 8) /* 70008 */ 
    203203/** 
    204204 * @hideinitializer 
    205205 * Operation timed out. 
    206206 */ 
    207 #define PJ_ETIMEDOUT        (PJ_ERRNO_START_STATUS + 9) 
     207#define PJ_ETIMEDOUT        (PJ_ERRNO_START_STATUS + 9) /* 70009 */ 
    208208/** 
    209209 * @hideinitializer 
    210210 * Too many objects. 
    211211 */ 
    212 #define PJ_ETOOMANY         (PJ_ERRNO_START_STATUS + 10) 
     212#define PJ_ETOOMANY         (PJ_ERRNO_START_STATUS + 10)/* 70010 */ 
    213213/** 
    214214 * @hideinitializer 
    215215 * Object is busy. 
    216216 */ 
    217 #define PJ_EBUSY            (PJ_ERRNO_START_STATUS + 11) 
     217#define PJ_EBUSY            (PJ_ERRNO_START_STATUS + 11)/* 70011 */ 
    218218/** 
    219219 * @hideinitializer 
    220220 * The specified option is not supported. 
    221221 */ 
    222 #define PJ_ENOTSUP          (PJ_ERRNO_START_STATUS + 12) 
     222#define PJ_ENOTSUP          (PJ_ERRNO_START_STATUS + 12)/* 70012 */ 
    223223/** 
    224224 * @hideinitializer 
    225225 * Invalid operation. 
    226226 */ 
    227 #define PJ_EINVALIDOP       (PJ_ERRNO_START_STATUS + 13) 
     227#define PJ_EINVALIDOP       (PJ_ERRNO_START_STATUS + 13)/* 70013 */ 
    228228/** 
    229229 * @hideinitializer 
    230230 * Operation is cancelled. 
    231231 */ 
    232 #define PJ_ECANCELLED       (PJ_ERRNO_START_STATUS + 14) 
     232#define PJ_ECANCELLED       (PJ_ERRNO_START_STATUS + 14)/* 70014 */ 
    233233/** 
    234234 * @hideinitializer 
    235235 * Object already exists. 
    236236 */ 
    237 #define PJ_EEXISTS          (PJ_ERRNO_START_STATUS + 14) 
     237#define PJ_EEXISTS          (PJ_ERRNO_START_STATUS + 15)/* 70015 */ 
    238238 
    239239/** @} */   /* pj_errnum */ 
     
    255255/** 
    256256 * PJ_ERRNO_START_STATUS is where PJLIB specific status codes start. 
     257 * Effectively the error in this class would be 70000 - 119000. 
    257258 */ 
    258259#define PJ_ERRNO_START_STATUS   (PJ_ERRNO_START + PJ_ERRNO_SPACE_SIZE) 
     
    261262 * PJ_ERRNO_START_SYS converts platform specific error codes into 
    262263 * pj_status_t values. 
     264 * Effectively the error in this class would be 120000 - 169000. 
    263265 */ 
    264266#define PJ_ERRNO_START_SYS      (PJ_ERRNO_START_STATUS + PJ_ERRNO_SPACE_SIZE) 
     
    267269 * PJ_ERRNO_START_USER are reserved for applications that use error 
    268270 * codes along with PJLIB codes. 
     271 * Effectively the error in this class would be 170000 - 219000. 
    269272 */ 
    270273#define PJ_ERRNO_START_USER     (PJ_ERRNO_START_SYS + PJ_ERRNO_SPACE_SIZE) 
Note: See TracChangeset for help on using the changeset viewer.