Mercurial > pidgin
comparison libpurple/network.h @ 29392:f549ad844d54
propagate from branch 'im.pidgin.pidgin.next.minor' (head 42544ec892337510146c931806a95dbf69c2fe30)
to branch 'im.pidgin.pidgin' (head 32a27a2c6eebcccdecd7d7cd420b3789c69cbb09)
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 18 Feb 2010 09:22:01 +0000 |
parents | 422889fb57e0 |
children | 9843473de5c4 |
comparison
equal
deleted
inserted
replaced
29391:4c266d9c17eb | 29392:f549ad844d54 |
---|---|
84 * | 84 * |
85 * @param fd The fd to use to help figure out the IP, or else -1. | 85 * @param fd The fd to use to help figure out the IP, or else -1. |
86 * @return The local IP address. | 86 * @return The local IP address. |
87 */ | 87 */ |
88 const char *purple_network_get_local_system_ip(int fd); | 88 const char *purple_network_get_local_system_ip(int fd); |
89 | |
90 /** | |
91 * Returns all IP addresses of the local system. | |
92 * | |
93 * @note The caller must free this list, this function currently only | |
94 * handles IPv4 addresses | |
95 * @since 2.7.0 | |
96 * | |
97 * @return A list of local IP addresses. | |
98 */ | |
99 GList *purple_network_get_all_local_system_ips(void); | |
89 | 100 |
90 /** | 101 /** |
91 * Returns the IP address that should be used anywhere a | 102 * Returns the IP address that should be used anywhere a |
92 * public IP addresses is needed (listening for an incoming | 103 * public IP addresses is needed (listening for an incoming |
93 * file transfer, etc). | 104 * file transfer, etc). |