Ignore:
Timestamp:
Feb 21, 2007 12:40:05 AM (17 years ago)
Author:
bennylp
Message:

Merged the ICE branch into the trunk

File:
1 copied

Legend:

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

    r991 r992  
    146146 * message. 
    147147 */ 
    148 #define PJ_STUN_GET_METHOD(msg_type)    ((msg_type) & 0x000F) 
     148#define PJ_STUN_GET_METHOD(msg_type)    ((msg_type) & 0xFEEF) 
    149149 
    150150 
     
    10471047 
    10481048 
     1049/** 
     1050 * Get STUN message method name. 
     1051 * 
     1052 * @param msg_type      The STUN message type (in host byte order) 
     1053 * 
     1054 * @return              The STUN message method name string. 
     1055 */ 
     1056PJ_DECL(const char*) pj_stun_get_method_name(unsigned msg_type); 
     1057 
     1058 
     1059/** 
     1060 * Get STUN message class name. 
     1061 * 
     1062 * @param msg_type      The STUN message type (in host byte order) 
     1063 * 
     1064 * @return              The STUN message class name string. 
     1065 */ 
     1066PJ_DECL(const char*) pj_stun_get_class_name(unsigned msg_type); 
     1067 
     1068 
     1069/** 
     1070 * Get STUN attribute name. 
     1071 * 
     1072 * @return attr_type    The STUN attribute type (in host byte order). 
     1073 * 
     1074 * @return              The STUN attribute type name string. 
     1075 */ 
     1076PJ_DECL(const char*) pj_stun_get_attr_name(unsigned attr_type); 
     1077 
    10491078 
    10501079/** 
Note: See TracChangeset for help on using the changeset viewer.