Changeset 1988 for pjproject/trunk/pjnath/src/pjnath/stun_msg.c
- Timestamp:
- Jun 6, 2008 2:47:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/stun_msg.c
r1924 r1988 1558 1558 PJ_DEF(pj_status_t) pj_stun_msg_add_unknown_attr(pj_pool_t *pool, 1559 1559 pj_stun_msg *msg, 1560 unsignedattr_cnt,1560 pj_size_t attr_cnt, 1561 1561 const pj_uint16_t attr_types[]) 1562 1562 { … … 1647 1647 int attr_type, 1648 1648 const pj_uint8_t *data, 1649 unsignedlength,1649 pj_size_t length, 1650 1650 pj_stun_binary_attr **p_attr) 1651 1651 { … … 1674 1674 int attr_type, 1675 1675 const pj_uint8_t *data, 1676 unsignedlength)1676 pj_size_t length) 1677 1677 { 1678 1678 pj_stun_binary_attr *attr = NULL; … … 1834 1834 * Check that the PDU is potentially a valid STUN message. 1835 1835 */ 1836 PJ_DEF(pj_status_t) pj_stun_msg_check(const pj_uint8_t *pdu, unsignedpdu_len,1836 PJ_DEF(pj_status_t) pj_stun_msg_check(const pj_uint8_t *pdu, pj_size_t pdu_len, 1837 1837 unsigned options) 1838 1838 { 1839 unsignedmsg_len;1839 pj_size_t msg_len; 1840 1840 1841 1841 PJ_ASSERT_RETURN(pdu, PJ_EINVAL); … … 1939 1939 PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, 1940 1940 const pj_uint8_t *pdu, 1941 unsignedpdu_len,1941 pj_size_t pdu_len, 1942 1942 unsigned options, 1943 1943 pj_stun_msg **p_msg, 1944 unsigned*p_parsed_len,1944 pj_size_t *p_parsed_len, 1945 1945 pj_stun_msg **p_response) 1946 1946 { … … 2191 2191 PJ_DEF(pj_status_t) pj_stun_msg_encode(pj_stun_msg *msg, 2192 2192 pj_uint8_t *buf, unsigned buf_size, 2193 unsignedoptions,2193 pj_size_t options, 2194 2194 const pj_str_t *key, 2195 unsigned*p_msg_len)2195 pj_size_t *p_msg_len) 2196 2196 { 2197 2197 pj_uint8_t *start = buf;
Note: See TracChangeset
for help on using the changeset viewer.