comparison libpurple/network.h @ 29712:d5fe33c3a765

propagate from branch 'im.pidgin.pidgin' (head 42a8485e73af5f2091d307b51c09dded94eceb24) to branch 'im.pidgin.pidgin.next.minor' (head 4edcf8da14be654127117da5af0cbdd7a0616439)
author John Bailey <rekkanoryo@rekkanoryo.org>
date Tue, 17 Nov 2009 07:33:47 +0000
parents f1aa01ff26dd
children 422889fb57e0
comparison
equal deleted inserted replaced
28963:546e870dc506 29712:d5fe33c3a765
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).