Changeset 1021 for pjproject/trunk/pjlib-util/include/pjlib-util/stun_msg.h
- Timestamp:
- Mar 1, 2007 12:08:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/include/pjlib-util/stun_msg.h
r1003 r1021 1175 1175 * the FINGERPRINT CRC attribute for the message. 1176 1176 * 1177 * @param msg The STUN message to be printed. 1177 * @param msg The STUN message to be printed. Upon return, 1178 * some fields in the header (such as message 1179 * length) will be updated. 1178 1180 * @param pkt_buf The buffer to be filled with the packet. 1179 1181 * @param buf_size Size of the buffer. … … 1187 1189 * @return PJ_SUCCESS on success or the appropriate error code. 1188 1190 */ 1189 PJ_DECL(pj_status_t) pj_stun_msg_encode( constpj_stun_msg *msg,1191 PJ_DECL(pj_status_t) pj_stun_msg_encode(pj_stun_msg *msg, 1190 1192 pj_uint8_t *pkt_buf, 1191 1193 unsigned buf_size, … … 1423 1425 * @param xor_ed If non-zero, the port and address will be XOR-ed 1424 1426 * with magic, to make the XOR-MAPPED-ADDRESS attribute. 1427 * @param addr A pj_sockaddr_in or pj_sockaddr_in6 structure. 1425 1428 * @param addr_len Length of \a addr parameter. 1426 * @param addr A pj_sockaddr_in or pj_sockaddr_in6 structure.1427 1429 * @param p_attr Pointer to receive the attribute. 1428 1430 * … … 1433 1435 int attr_type, 1434 1436 pj_bool_t xor_ed, 1437 const pj_sockaddr_t *addr, 1435 1438 unsigned addr_len, 1436 const pj_sockaddr_t *addr,1437 1439 pj_stun_generic_ip_addr_attr **p_attr); 1438 1440 … … 1448 1450 * @param xor_ed If non-zero, the port and address will be XOR-ed 1449 1451 * with magic, to make the XOR-MAPPED-ADDRESS attribute. 1452 * @param addr A pj_sockaddr_in or pj_sockaddr_in6 structure. 1450 1453 * @param addr_len Length of \a addr parameter. 1451 * @param addr A pj_sockaddr_in or pj_sockaddr_in6 structure.1452 1454 * 1453 1455 * @return PJ_SUCCESS on success or the appropriate error code. … … 1458 1460 int attr_type, 1459 1461 pj_bool_t xor_ed, 1460 unsigned addr_len,1461 const pj_sockaddr_t *addr);1462 const pj_sockaddr_t *addr, 1463 unsigned addr_len); 1462 1464 1463 1465 /**
Note: See TracChangeset
for help on using the changeset viewer.