Mercurial > pidgin
comparison libpurple/network.h @ 27590:a08e84032814
merge of '2348ff22f0ff3453774b8b25b36238465580c609'
and 'e76f11543c2a4aa05bdf584f087cbe3439029661'
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 12 Jul 2009 05:43:38 +0000 |
parents | 6e4afab5576d |
children | 7fbf964c6c6c |
comparison
equal
deleted
inserted
replaced
27104:048bcf41deef | 27590:a08e84032814 |
---|---|
244 | 244 |
245 /** | 245 /** |
246 * Update the TURN server IP given the host name | 246 * Update the TURN server IP given the host name |
247 * Will result in a DNS query being executed asynchronous | 247 * Will result in a DNS query being executed asynchronous |
248 * | 248 * |
249 * @param stun_server The host name of the STUN server to set | 249 * @param turn_server The host name of the STUN server to set |
250 * @since 2.6.0 | 250 * @since 2.6.0 |
251 */ | 251 */ |
252 void purple_network_set_turn_server(const gchar *stun_server); | 252 void purple_network_set_turn_server(const gchar *turn_server); |
253 | 253 |
254 /** | 254 /** |
255 * Get the IP address of the STUN server as a string representation | 255 * Get the IP address of the STUN server as a string representation |
256 * | 256 * |
257 * @return the IP address | 257 * @return the IP address |
258 * @since 2.6.0 | 258 * @since 2.6.0 |
259 */ | 259 */ |
260 const gchar *purple_network_get_turn_ip(void); | 260 const gchar *purple_network_get_turn_ip(void); |
261 | 261 |
262 | 262 /** |
263 * Remove a port mapping (UPnP or NAT-PMP) associated with listening socket | |
264 * | |
265 * @param fd Socket to remove the port mapping for | |
266 * @since 2.6.0 | |
267 */ | |
268 void purple_network_remove_port_mapping(gint fd); | |
269 | |
263 /** | 270 /** |
264 * Initializes the network subsystem. | 271 * Initializes the network subsystem. |
265 */ | 272 */ |
266 void purple_network_init(void); | 273 void purple_network_init(void); |
267 | 274 |