Changeset 1601 for pjproject/trunk/pjlib/include/pj/ip_helper.h
- Timestamp:
- Dec 1, 2007 8:52:57 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/ip_helper.h
r1104 r1601 54 54 55 55 /** 56 * Enumerate the local IP interface currently active in the host.56 * Enumerate the local IP interfaces currently active in the host. 57 57 * 58 * @param af Family of the address to be retrieved. Application 59 * may specify pj_AF_UNSPEC() to retrieve all addresses, 60 * or pj_AF_INET() or pj_AF_INET6() to retrieve interfaces 61 * with specific address family. 58 62 * @param count On input, specify the number of entries. On output, 59 63 * it will be filled with the actual number of entries. 60 * @param ifs Array of IP addresses. 64 * @param ifs Array of socket addresses, which address part will 65 * be filled with the interface address. The address 66 * family part will be initialized with the address 67 * family of the IP address. 61 68 * 62 69 * @return PJ_SUCCESS on success, or the appropriate error code. 63 70 */ 64 PJ_DECL(pj_status_t) pj_enum_ip_interface(unsigned *count, 65 pj_in_addr ifs[]); 71 PJ_DECL(pj_status_t) pj_enum_ip_interface(int af, 72 unsigned *count, 73 pj_sockaddr ifs[]); 66 74 67 75
Note: See TracChangeset
for help on using the changeset viewer.