Changeset 992 for pjproject/trunk/pjlib-util/include/pjlib-util/stun_msg.h
- Timestamp:
- Feb 21, 2007 12:40:05 AM (17 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/include/pjlib-util/stun_msg.h
r991 r992 146 146 * message. 147 147 */ 148 #define PJ_STUN_GET_METHOD(msg_type) ((msg_type) & 0x 000F)148 #define PJ_STUN_GET_METHOD(msg_type) ((msg_type) & 0xFEEF) 149 149 150 150 … … 1047 1047 1048 1048 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 */ 1056 PJ_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 */ 1066 PJ_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 */ 1076 PJ_DECL(const char*) pj_stun_get_attr_name(unsigned attr_type); 1077 1049 1078 1050 1079 /**
Note: See TracChangeset
for help on using the changeset viewer.