Changeset 62 for pjproject/trunk/pjlib/include/pj/errno.h
- Timestamp:
- Nov 20, 2005 7:55:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/errno.h
r51 r62 165 165 * Unknown error has been reported. 166 166 */ 167 #define PJ_EUNKNOWN (PJ_ERRNO_START_STATUS + 1) 167 #define PJ_EUNKNOWN (PJ_ERRNO_START_STATUS + 1) /* 70001 */ 168 168 /** 169 169 * @hideinitializer 170 170 * The operation is pending and will be completed later. 171 171 */ 172 #define PJ_EPENDING (PJ_ERRNO_START_STATUS + 2) 172 #define PJ_EPENDING (PJ_ERRNO_START_STATUS + 2) /* 70002 */ 173 173 /** 174 174 * @hideinitializer 175 175 * Too many connecting sockets. 176 176 */ 177 #define PJ_ETOOMANYCONN (PJ_ERRNO_START_STATUS + 3) 177 #define PJ_ETOOMANYCONN (PJ_ERRNO_START_STATUS + 3) /* 70003 */ 178 178 /** 179 179 * @hideinitializer 180 180 * Invalid argument. 181 181 */ 182 #define PJ_EINVAL (PJ_ERRNO_START_STATUS + 4) 182 #define PJ_EINVAL (PJ_ERRNO_START_STATUS + 4) /* 70004 */ 183 183 /** 184 184 * @hideinitializer 185 185 * Name too long (eg. hostname too long). 186 186 */ 187 #define PJ_ENAMETOOLONG (PJ_ERRNO_START_STATUS + 5) 187 #define PJ_ENAMETOOLONG (PJ_ERRNO_START_STATUS + 5) /* 70005 */ 188 188 /** 189 189 * @hideinitializer 190 190 * Not found. 191 191 */ 192 #define PJ_ENOTFOUND (PJ_ERRNO_START_STATUS + 6) 192 #define PJ_ENOTFOUND (PJ_ERRNO_START_STATUS + 6) /* 70006 */ 193 193 /** 194 194 * @hideinitializer 195 195 * Not enough memory. 196 196 */ 197 #define PJ_ENOMEM (PJ_ERRNO_START_STATUS + 7) 197 #define PJ_ENOMEM (PJ_ERRNO_START_STATUS + 7) /* 70007 */ 198 198 /** 199 199 * @hideinitializer 200 200 * Bug detected! 201 201 */ 202 #define PJ_EBUG (PJ_ERRNO_START_STATUS + 8) 202 #define PJ_EBUG (PJ_ERRNO_START_STATUS + 8) /* 70008 */ 203 203 /** 204 204 * @hideinitializer 205 205 * Operation timed out. 206 206 */ 207 #define PJ_ETIMEDOUT (PJ_ERRNO_START_STATUS + 9) 207 #define PJ_ETIMEDOUT (PJ_ERRNO_START_STATUS + 9) /* 70009 */ 208 208 /** 209 209 * @hideinitializer 210 210 * Too many objects. 211 211 */ 212 #define PJ_ETOOMANY (PJ_ERRNO_START_STATUS + 10) 212 #define PJ_ETOOMANY (PJ_ERRNO_START_STATUS + 10)/* 70010 */ 213 213 /** 214 214 * @hideinitializer 215 215 * Object is busy. 216 216 */ 217 #define PJ_EBUSY (PJ_ERRNO_START_STATUS + 11) 217 #define PJ_EBUSY (PJ_ERRNO_START_STATUS + 11)/* 70011 */ 218 218 /** 219 219 * @hideinitializer 220 220 * The specified option is not supported. 221 221 */ 222 #define PJ_ENOTSUP (PJ_ERRNO_START_STATUS + 12) 222 #define PJ_ENOTSUP (PJ_ERRNO_START_STATUS + 12)/* 70012 */ 223 223 /** 224 224 * @hideinitializer 225 225 * Invalid operation. 226 226 */ 227 #define PJ_EINVALIDOP (PJ_ERRNO_START_STATUS + 13) 227 #define PJ_EINVALIDOP (PJ_ERRNO_START_STATUS + 13)/* 70013 */ 228 228 /** 229 229 * @hideinitializer 230 230 * Operation is cancelled. 231 231 */ 232 #define PJ_ECANCELLED (PJ_ERRNO_START_STATUS + 14) 232 #define PJ_ECANCELLED (PJ_ERRNO_START_STATUS + 14)/* 70014 */ 233 233 /** 234 234 * @hideinitializer 235 235 * Object already exists. 236 236 */ 237 #define PJ_EEXISTS (PJ_ERRNO_START_STATUS + 1 4)237 #define PJ_EEXISTS (PJ_ERRNO_START_STATUS + 15)/* 70015 */ 238 238 239 239 /** @} */ /* pj_errnum */ … … 255 255 /** 256 256 * PJ_ERRNO_START_STATUS is where PJLIB specific status codes start. 257 * Effectively the error in this class would be 70000 - 119000. 257 258 */ 258 259 #define PJ_ERRNO_START_STATUS (PJ_ERRNO_START + PJ_ERRNO_SPACE_SIZE) … … 261 262 * PJ_ERRNO_START_SYS converts platform specific error codes into 262 263 * pj_status_t values. 264 * Effectively the error in this class would be 120000 - 169000. 263 265 */ 264 266 #define PJ_ERRNO_START_SYS (PJ_ERRNO_START_STATUS + PJ_ERRNO_SPACE_SIZE) … … 267 269 * PJ_ERRNO_START_USER are reserved for applications that use error 268 270 * codes along with PJLIB codes. 271 * Effectively the error in this class would be 170000 - 219000. 269 272 */ 270 273 #define PJ_ERRNO_START_USER (PJ_ERRNO_START_SYS + PJ_ERRNO_SPACE_SIZE)
Note: See TracChangeset
for help on using the changeset viewer.