Mercurial > pidgin.yaz
comparison libpurple/network.h @ 26132:ae3d25465d0f
Run an asynchronous DNS lookup for the STUN server IP (to set as a property
to the nice transmitter for media).
Also update the IP when the preference changes and when NetworkManager support
is present, when NM reports connected.
TODO: add code to run DNS lookup on Win32 when the network connection is ready
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Sat, 17 Jan 2009 01:38:44 +0000 |
parents | f52b94f3b6ca |
children | c56e8826fed0 |
comparison
equal
deleted
inserted
replaced
26131:6eeb500ce9a2 | 26132:ae3d25465d0f |
---|---|
212 * | 212 * |
213 * @return the handle to the network system | 213 * @return the handle to the network system |
214 */ | 214 */ |
215 void *purple_network_get_handle(void); | 215 void *purple_network_get_handle(void); |
216 | 216 |
217 /** | |
218 * Update the STUN server name | |
219 * Will result in a DNS query being executed asynchronous | |
220 * | |
221 * @param stun_server The host name of the STUN server to set | |
222 */ | |
223 void purple_network_set_stun_server(const gchar *stun_server); | |
224 | |
225 /** | |
226 * Get the IP address of the STUN server as a string representation | |
227 * | |
228 * @return the IP address | |
229 */ | |
230 const gchar *purple_network_get_stun_ip(void); | |
231 | |
217 /** | 232 /** |
218 * Initializes the network subsystem. | 233 * Initializes the network subsystem. |
219 */ | 234 */ |
220 void purple_network_init(void); | 235 void purple_network_init(void); |
221 | 236 |