diff libpurple/network.h @ 29294:8b17877d3294

propagate from branch 'im.pidgin.pidgin' (head 74c00c33cab0e208691543b25eeae7906f6e4181) to branch 'im.pidgin.cpw.attention_ui' (head 3471a591582c3bbaaf1ed35288bce15461b920e3)
author Marcus Lundblad <ml@update.uu.se>
date Mon, 22 Jun 2009 21:53:53 +0000
parents 38c4973b5222
children 8ce05f8249da
line wrap: on
line diff
--- a/libpurple/network.h	Mon Jun 08 18:28:31 2009 +0000
+++ b/libpurple/network.h	Mon Jun 22 21:53:53 2009 +0000
@@ -259,7 +259,14 @@
  */
 const gchar *purple_network_get_turn_ip(void);
 		
-	
+/**
+ * Remove a port mapping (UPnP or NAT-PMP) associated with listening socket
+ *
+ * @param fd Socket to remove the port mapping for
+ * @since 2.6.0
+ */
+void purple_network_remove_port_mapping(gint fd);	
+
 /**
  * Initializes the network subsystem.
  */