Changeset 1988 for pjproject/trunk/pjnath/include/pjnath/stun_msg.h
- Timestamp:
- Jun 6, 2008 2:47:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/stun_msg.h
r1924 r1988 35 35 /** 36 36 * @defgroup PJNATH_STUN_MSG STUN Message Representation and Parsing 37 * @ingroup PJNATH_STUN 37 38 * @brief Low-level representation and parsing of STUN messages. 38 * @ingroup PJNATH_STUN39 39 * @{ 40 40 */ … … 956 956 * This describes the TURN REQUESTED-PROPS attribute, encoded as 957 957 * STUN 32bit integer attribute. Few macros are provided to manipulate 958 * the values in this attribute: #PJ_STUN_GET_RPP_BITS(), 959 * #PJ_STUN_SET_RPP_BITS(), #PJ_STUN_GET_RPP_PORT(), and 960 * #PJ_STUN_SET_RPP_PORT(). 958 * the values in this attribute: #PJ_STUN_GET_PROP_TYPE(), and 959 * #PJ_STUN_SET_PROP_TYPE(). 961 960 * 962 961 * This attribute allows the client to request certain properties for … … 1165 1164 * #pj_stun_msg_check() and #pj_stun_msg_decode() to disable the 1166 1165 * verification of FINGERPRINT, for example when the STUN usage says when 1167 * FINGERPRINT mechanism shall not *be used.1166 * FINGERPRINT mechanism shall not be used. 1168 1167 */ 1169 1168 PJ_STUN_NO_FINGERPRINT_CHECK = 8 … … 1293 1292 * 1294 1293 * If application wants to apply credential to the message, it MUST 1295 * include a blank MESSAGE-INTEGRITY attribute in the message ,as the1294 * include a blank MESSAGE-INTEGRITY attribute in the message as the 1296 1295 * last attribute or the attribute before FINGERPRINT. This function will 1297 1296 * calculate the HMAC digest from the message using the supplied key in … … 1321 1320 PJ_DECL(pj_status_t) pj_stun_msg_encode(pj_stun_msg *msg, 1322 1321 pj_uint8_t *pkt_buf, 1323 unsignedbuf_size,1322 pj_size_t buf_size, 1324 1323 unsigned options, 1325 1324 const pj_str_t *key, 1326 unsigned*p_msg_len);1325 pj_size_t *p_msg_len); 1327 1326 1328 1327 /** … … 1346 1345 */ 1347 1346 PJ_DECL(pj_status_t) pj_stun_msg_check(const pj_uint8_t *pdu, 1348 unsignedpdu_len, unsigned options);1347 pj_size_t pdu_len, unsigned options); 1349 1348 1350 1349 … … 1372 1371 PJ_DECL(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, 1373 1372 const pj_uint8_t *pdu, 1374 unsignedpdu_len,1373 pj_size_t pdu_len, 1375 1374 unsigned options, 1376 1375 pj_stun_msg **p_msg, 1377 unsigned*p_parsed_len,1376 pj_size_t *p_parsed_len, 1378 1377 pj_stun_msg **p_response); 1379 1378
Note: See TracChangeset
for help on using the changeset viewer.