Changeset 745 for pjproject/trunk/pjlib-util/include/pjlib-util/errno.h
- Timestamp:
- Sep 30, 2006 11:39:17 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/include/pjlib-util/errno.h
r264 r745 26 26 /** 27 27 * Start of error code relative to PJ_ERRNO_START_USER. 28 * This value is 320000. 28 29 */ 29 30 #define PJLIB_UTIL_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*3) … … 37 38 * Unable to resolve STUN server 38 39 */ 39 #define PJLIB_UTIL_ESTUNRESOLVE (PJLIB_UTIL_ERRNO_START+1) 40 #define PJLIB_UTIL_ESTUNRESOLVE (PJLIB_UTIL_ERRNO_START+1) /* 320001 */ 40 41 /** 41 42 * @hideinitializer 42 43 * Unknown STUN message type. 43 44 */ 44 #define PJLIB_UTIL_ESTUNINMSGTYPE (PJLIB_UTIL_ERRNO_START+2) 45 #define PJLIB_UTIL_ESTUNINMSGTYPE (PJLIB_UTIL_ERRNO_START+2) /* 320002 */ 45 46 /** 46 47 * @hideinitializer 47 48 * Invalid STUN message length. 48 49 */ 49 #define PJLIB_UTIL_ESTUNINMSGLEN (PJLIB_UTIL_ERRNO_START+3) 50 #define PJLIB_UTIL_ESTUNINMSGLEN (PJLIB_UTIL_ERRNO_START+3) /* 320003 */ 50 51 /** 51 52 * @hideinitializer 52 53 * STUN attribute length error. 53 54 */ 54 #define PJLIB_UTIL_ESTUNINATTRLEN (PJLIB_UTIL_ERRNO_START+4) 55 #define PJLIB_UTIL_ESTUNINATTRLEN (PJLIB_UTIL_ERRNO_START+4) /* 320004 */ 55 56 /** 56 57 * @hideinitializer 57 58 * Invalid STUN attribute type 58 59 */ 59 #define PJLIB_UTIL_ESTUNINATTRTYPE (PJLIB_UTIL_ERRNO_START+5) 60 #define PJLIB_UTIL_ESTUNINATTRTYPE (PJLIB_UTIL_ERRNO_START+5) /* 320005 */ 60 61 /** 61 62 * @hideinitializer 62 63 * Invalid STUN server/socket index 63 64 */ 64 #define PJLIB_UTIL_ESTUNININDEX (PJLIB_UTIL_ERRNO_START+6) 65 #define PJLIB_UTIL_ESTUNININDEX (PJLIB_UTIL_ERRNO_START+6) /* 320006 */ 65 66 /** 66 67 * @hideinitializer 67 68 * No STUN binding response in the message 68 69 */ 69 #define PJLIB_UTIL_ESTUNNOBINDRES (PJLIB_UTIL_ERRNO_START+7) 70 #define PJLIB_UTIL_ESTUNNOBINDRES (PJLIB_UTIL_ERRNO_START+7) /* 320007 */ 70 71 /** 71 72 * @hideinitializer 72 73 * Received STUN error attribute 73 74 */ 74 #define PJLIB_UTIL_ESTUNRECVERRATTR (PJLIB_UTIL_ERRNO_START+8) 75 #define PJLIB_UTIL_ESTUNRECVERRATTR (PJLIB_UTIL_ERRNO_START+8) /* 320008 */ 75 76 /** 76 77 * @hideinitializer 77 78 * No STUN mapped address attribute 78 79 */ 79 #define PJLIB_UTIL_ESTUNNOMAP (PJLIB_UTIL_ERRNO_START+9) 80 #define PJLIB_UTIL_ESTUNNOMAP (PJLIB_UTIL_ERRNO_START+9) /* 320009 */ 80 81 /** 81 82 * @hideinitializer 82 83 * Received no response from STUN server 83 84 */ 84 #define PJLIB_UTIL_ESTUNNOTRESPOND (PJLIB_UTIL_ERRNO_START+10) 85 #define PJLIB_UTIL_ESTUNNOTRESPOND (PJLIB_UTIL_ERRNO_START+10) /* 320010 */ 85 86 /** 86 87 * @hideinitializer 87 88 * Symetric NAT detected by STUN 88 89 */ 89 #define PJLIB_UTIL_ESTUNSYMMETRIC (PJLIB_UTIL_ERRNO_START+11) 90 #define PJLIB_UTIL_ESTUNSYMMETRIC (PJLIB_UTIL_ERRNO_START+11) /* 320011 */ 90 91 91 92 … … 98 99 * General invalid XML message. 99 100 */ 100 #define PJLIB_UTIL_EINXML (PJLIB_UTIL_ERRNO_START+20) 101 #define PJLIB_UTIL_EINXML (PJLIB_UTIL_ERRNO_START+20) /* 320020 */ 102 103 104 105 /************************************************************ 106 * DNS ERROR 107 ***********************************************************/ 108 /** 109 * @hideinitializer 110 * Outgoing DNS query packet buffer is too small. 111 * This error occurs when the user supplied buffer for creating DNS 112 * query (#pj_dns_make_query() function) is too small. 113 */ 114 #define PJLIB_UTIL_EDNSQRYTOOSMALL (PJLIB_UTIL_ERRNO_START+40) /* 320040 */ 115 /** 116 * @hideinitializer 117 * Invalid packet length in DNS response. 118 * This error occurs when the received DNS response packet does not 119 * match all the fields length. 120 */ 121 #define PJLIB_UTIL_EDNSINSIZE (PJLIB_UTIL_ERRNO_START+41) /* 320041 */ 122 /** 123 * @hideinitializer 124 * Invalid class in DNS response. 125 * This error occurs when the received DNS response contains network 126 * class other than IN (Internet). 127 */ 128 #define PJLIB_UTIL_EDNSINCLASS (PJLIB_UTIL_ERRNO_START+42) /* 320042 */ 129 /** 130 * @hideinitializer 131 * Invalid name pointer in DNS response. 132 * This error occurs when parsing the compressed names inside DNS 133 * response packet, when the name pointer points to an invalid address 134 * or the parsing has triggerred too much recursion. 135 */ 136 #define PJLIB_UTIL_EDNSINNAMEPTR (PJLIB_UTIL_ERRNO_START+43) /* 320043 */ 137 101 138 102 139
Note: See TracChangeset
for help on using the changeset viewer.