Ignore:
Timestamp:
Sep 18, 2007 7:33:33 PM (17 years ago)
Author:
bennylp
Message:

Ticket #374: Update STUN specification from rfc3489bis-06 to rfc3489bis-10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/stun_msg.h

    r1417 r1439  
    281281    PJ_STUN_ATTR_CHANGED_ADDR       = 0x0005,/**< CHANGED-ADDRESS (deprecatd)*/ 
    282282    PJ_STUN_ATTR_USERNAME           = 0x0006,/**< USERNAME attribute.       */ 
    283     PJ_STUN_ATTR_PASSWORD           = 0x0007,/**< PASSWORD attribute.       */ 
     283    PJ_STUN_ATTR_PASSWORD           = 0x0007,/**< was PASSWORD attribute.   */ 
    284284    PJ_STUN_ATTR_MESSAGE_INTEGRITY  = 0x0008,/**< MESSAGE-INTEGRITY.        */ 
    285285    PJ_STUN_ATTR_ERROR_CODE         = 0x0009,/**< ERROR-CODE.               */ 
     
    330330    PJ_STUN_SC_UNAUTHORIZED             = 401,  /**< Unauthorized           */ 
    331331    PJ_STUN_SC_UNKNOWN_ATTRIBUTE        = 420,  /**< Unknown Attribute      */ 
    332     PJ_STUN_SC_STALE_CREDENTIALS        = 430,  /**< Stale Credentials      */ 
    333     PJ_STUN_SC_INTEGRITY_CHECK_FAILURE  = 431,  /**< Integrity Chk Fail     */ 
    334     PJ_STUN_SC_MISSING_USERNAME         = 432,  /**< Missing Username       */ 
    335     PJ_STUN_SC_USE_TLS                  = 433,  /**< Use TLS                */ 
    336     PJ_STUN_SC_MISSING_REALM            = 434,  /**< Missing Realm          */ 
    337     PJ_STUN_SC_MISSING_NONCE            = 435,  /**< Missing Nonce          */ 
    338     PJ_STUN_SC_UNKNOWN_USERNAME         = 436,  /**< Unknown Username       */ 
    339     PJ_STUN_SC_NO_BINDING               = 437,  /**< No Binding.            */ 
     332#if 0 
     333    /* These were obsolete in recent rfc3489bis */ 
     334    //PJ_STUN_SC_STALE_CREDENTIALS      = 430,  /**< Stale Credentials      */ 
     335    //PJ_STUN_SC_INTEGRITY_CHECK_FAILURE= 431,  /**< Integrity Chk Fail     */ 
     336    //PJ_STUN_SC_MISSING_USERNAME       = 432,  /**< Missing Username       */ 
     337    //PJ_STUN_SC_USE_TLS                = 433,  /**< Use TLS                */ 
     338    //PJ_STUN_SC_MISSING_REALM          = 434,  /**< Missing Realm          */ 
     339    //PJ_STUN_SC_MISSING_NONCE          = 435,  /**< Missing Nonce          */ 
     340    //PJ_STUN_SC_UNKNOWN_USERNAME       = 436,  /**< Unknown Username       */ 
     341    //PJ_STUN_SC_NO_BINDING             = 437,  /**< No Binding.            */ 
     342#endif 
    340343    PJ_STUN_SC_STALE_NONCE              = 438,  /**< Stale Nonce            */ 
    341344    PJ_STUN_SC_TRANSITIONING            = 439,  /**< Transitioning.         */ 
     
    10921095 
    10931096/** 
     1097 * Internal: set the padding character for string attribute. 
     1098 * The default padding character is PJ_STUN_STRING_ATTR_PAD_CHR. 
     1099 * 
     1100 * @return              The previous padding character. 
     1101 */ 
     1102PJ_DECL(int) pj_stun_set_padding_char(int chr); 
     1103 
     1104 
     1105/** 
    10941106 * Create a generic STUN message. 
    10951107 * 
Note: See TracChangeset for help on using the changeset viewer.