Changeset 1997
- Timestamp:
- Jun 7, 2008 11:23:27 AM (16 years ago)
- Location:
- pjproject/trunk/pjnath
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/stun_msg.h
r1988 r1997 1643 1643 * @param msg The STUN message. 1644 1644 * @param attr_cnt Number of attributes in the array (can be zero). 1645 * @param attr Optional array of attribute s.1645 * @param attr Optional array of attribute types. 1646 1646 * 1647 1647 * @return PJ_SUCCESS on success or the appropriate error code. -
pjproject/trunk/pjnath/src/pjnath/stun_msg.c
r1995 r1997 1558 1558 PJ_DEF(pj_status_t) pj_stun_msg_add_unknown_attr(pj_pool_t *pool, 1559 1559 pj_stun_msg *msg, 1560 pj_size_tattr_cnt,1561 const pj_uint16_t attr_type s[])1560 unsigned attr_cnt, 1561 const pj_uint16_t attr_type[]) 1562 1562 { 1563 1563 pj_stun_unknown_attr *attr = NULL; 1564 1564 pj_status_t status; 1565 1565 1566 status = pj_stun_unknown_attr_create(pool, attr_cnt, attr_type s, &attr);1566 status = pj_stun_unknown_attr_create(pool, attr_cnt, attr_type, &attr); 1567 1567 if (status != PJ_SUCCESS) 1568 1568 return status; … … 1647 1647 int attr_type, 1648 1648 const pj_uint8_t *data, 1649 pj_size_tlength,1649 unsigned length, 1650 1650 pj_stun_binary_attr **p_attr) 1651 1651 { … … 1674 1674 int attr_type, 1675 1675 const pj_uint8_t *data, 1676 pj_size_tlength)1676 unsigned length) 1677 1677 { 1678 1678 pj_stun_binary_attr *attr = NULL;
Note: See TracChangeset
for help on using the changeset viewer.