summaryrefslogtreecommitdiff
path: root/libgupnp-igd/gupnp-simple-igd.h
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2014-09-30 23:10:53 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-09-30 23:45:21 -0400
commitc383af72e3846f30ea40f1807b892c36544404c4 (patch)
tree8c5ab48126d683fbdae860de493fc16718c2bb9a /libgupnp-igd/gupnp-simple-igd.h
parente47f5a979764c17d59432f2b7b35a89798b1d2ed (diff)
downloadgupnp-igd-c383af72e3846f30ea40f1807b892c36544404c4.tar.gz
Add function to remove the port using the local port
Diffstat (limited to 'libgupnp-igd/gupnp-simple-igd.h')
-rw-r--r--libgupnp-igd/gupnp-simple-igd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgupnp-igd/gupnp-simple-igd.h b/libgupnp-igd/gupnp-simple-igd.h
index 96d096a..d0acd8f 100644
--- a/libgupnp-igd/gupnp-simple-igd.h
+++ b/libgupnp-igd/gupnp-simple-igd.h
@@ -100,6 +100,12 @@ gupnp_simple_igd_remove_port (GUPnPSimpleIgd *self,
const gchar *protocol,
guint external_port);
+void
+gupnp_simple_igd_remove_port_local (GUPnPSimpleIgd *self,
+ const gchar *protocol,
+ const gchar *local_ip,
+ guint16 local_port);
+
gboolean
gupnp_simple_igd_delete_all_mappings (GUPnPSimpleIgd *self);