summaryrefslogtreecommitdiff
path: root/slirp/libslirp.h
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/libslirp.h')
-rw-r--r--slirp/libslirp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/slirp/libslirp.h b/slirp/libslirp.h
index b0496d546f..3bda69194e 100644
--- a/slirp/libslirp.h
+++ b/slirp/libslirp.h
@@ -5,6 +5,9 @@
#ifdef CONFIG_SLIRP
+struct Slirp;
+typedef struct Slirp Slirp;
+
void slirp_init(int restricted, struct in_addr vnetwork,
struct in_addr vnetmask, struct in_addr vhost,
const char *vhostname, const char *tftp_path,