comparison libpurple/network.h @ 29502:0aac63e8489f

propagate from branch 'im.pidgin.pidgin' (head 84b4f3d9c0a8e1306eb70e9db0003177e2782269) to branch 'im.pidgin.pidgin.next.minor' (head ff2751f3bf0343a572e3ab437dd01ff6efbaf336)
author John Bailey <rekkanoryo@rekkanoryo.org>
date Wed, 16 Sep 2009 16:25:59 +0000
parents f1aa01ff26dd
children 422889fb57e0
comparison
equal deleted inserted replaced
28635:0e4b43fc68c0 29502:0aac63e8489f
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).