Ignore:
Timestamp:
Mar 3, 2007 2:16:36 AM (17 years ago)
Author:
bennylp
Message:

Committed today's work on STUN

File:
1 edited

Legend:

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

    r1030 r1037  
    262262/** 
    263263 * @hideinitializer 
    264  * Invalid STUN attribute 
    265  */ 
    266 #define PJLIB_UTIL_ESTUNINATTR      (PJLIB_UTIL_ERRNO_START+110)/* 320110 */ 
    267 /** 
    268  * @hideinitializer 
    269264 * Too many STUN attributes. 
    270265 */ 
    271 #define PJLIB_UTIL_ESTUNTOOMANYATTR (PJLIB_UTIL_ERRNO_START+111)/* 320111 */ 
    272 /** 
    273  * @hideinitializer 
    274  * Unknown STUN attribute. 
    275  */ 
    276 #define PJLIB_UTIL_ESTUNUNKNOWNATTR (PJLIB_UTIL_ERRNO_START+112)/* 320112 */ 
     266#define PJLIB_UTIL_ESTUNTOOMANYATTR (PJLIB_UTIL_ERRNO_START+110)/* 320110 */ 
     267/** 
     268 * @hideinitializer 
     269 * Unknown STUN attribute. This error happens when the decoder encounters 
     270 * mandatory attribute type which it doesn't understand. 
     271 */ 
     272#define PJLIB_UTIL_ESTUNUNKNOWNATTR (PJLIB_UTIL_ERRNO_START+111)/* 320111 */ 
    277273/** 
    278274 * @hideinitializer 
    279275 * Invalid STUN socket address length. 
    280276 */ 
    281 #define PJLIB_UTIL_ESTUNINADDRLEN   (PJLIB_UTIL_ERRNO_START+113)/* 320113 */ 
     277#define PJLIB_UTIL_ESTUNINADDRLEN   (PJLIB_UTIL_ERRNO_START+112)/* 320112 */ 
    282278/** 
    283279 * @hideinitializer 
     
    320316 */ 
    321317#define PJLIB_UTIL_ESTUNNOUSERNAME  (PJLIB_UTIL_ERRNO_START+120)/* 320120 */ 
    322  
    323  
    324 #define PJ_STATUS_FROM_STUN_CODE(code)  (PJLIB_UTIL_ERRNO_START+code) 
     318/** 
     319 * @hideinitializer 
     320 * Unknown STUN username/credential. 
     321 */ 
     322#define PJLIB_UTIL_ESTUNUSERNAME    (PJLIB_UTIL_ERRNO_START+121)/* 320121 */ 
     323/** 
     324 * @hideinitializer 
     325 * Missing/invalidSTUN MESSAGE-INTEGRITY attribute. 
     326 */ 
     327#define PJLIB_UTIL_ESTUNMSGINT      (PJLIB_UTIL_ERRNO_START+122)/* 320122 */ 
     328/** 
     329 * @hideinitializer 
     330 * Found duplicate STUN attribute. 
     331 */ 
     332#define PJLIB_UTIL_ESTUNDUPATTR     (PJLIB_UTIL_ERRNO_START+123)/* 320123 */ 
     333/** 
     334 * @hideinitializer 
     335 * Missing STUN REALM attribute. 
     336 */ 
     337#define PJLIB_UTIL_ESTUNNOREALM     (PJLIB_UTIL_ERRNO_START+124)/* 320124 */ 
     338/** 
     339 * @hideinitializer 
     340 * Missing/stale STUN NONCE attribute value. 
     341 */ 
     342#define PJLIB_UTIL_ESTUNNONCE       (PJLIB_UTIL_ERRNO_START+125)/* 320125 */ 
     343/** 
     344 * @hideinitializer 
     345 * STUN transaction terminates with failure. 
     346 */ 
     347#define PJLIB_UTIL_ESTUNTSXFAILED    (PJLIB_UTIL_ERRNO_START+126)/* 320126 */ 
     348 
     349 
     350//#define PJ_STATUS_FROM_STUN_CODE(code)        (PJLIB_UTIL_ERRNO_START+code) 
    325351 
    326352 
Note: See TracChangeset for help on using the changeset viewer.