aboutsummaryrefslogtreecommitdiff
path: root/src/libslirp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libslirp.h')
-rw-r--r--src/libslirp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libslirp.h b/src/libslirp.h
index 582c711..3c8baba 100644
--- a/src/libslirp.h
+++ b/src/libslirp.h
@@ -140,6 +140,9 @@ int slirp_add_exec(Slirp *slirp, const char *cmdline,
struct in_addr *guest_addr, int guest_port);
int slirp_add_guestfwd(Slirp *slirp, SlirpWriteCb write_cb, void *opaque,
struct in_addr *guest_addr, int guest_port);
+/* remove entries added by slirp_add_exec or slirp_add_guestfwd */
+int slirp_remove_guestfwd(Slirp *slirp, struct in_addr guest_addr,
+ int guest_port);
char *slirp_connection_info(Slirp *slirp);