aboutsummaryrefslogtreecommitdiff
path: root/libslirp.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-05 17:11:42 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-05 17:11:42 +0000
commita48d505695367905155ab463993ccdae41250ae7 (patch)
treefc45613e2ed78257489f7a1679f004d979201e27 /libslirp.h
parentefa0f8b2352e980e3c1b2d90e1d130ccd7257c69 (diff)
downloadslirp-a48d505695367905155ab463993ccdae41250ae7.zip
slirp-a48d505695367905155ab463993ccdae41250ae7.tar.gz
slirp-a48d505695367905155ab463993ccdae41250ae7.tar.bz2
64 bit fixes (initial patch by Gwenole Beauchesne)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1458 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'libslirp.h')
-rw-r--r--libslirp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libslirp.h b/libslirp.h
index c8fb3bf..f6d7702 100644
--- a/libslirp.h
+++ b/libslirp.h
@@ -9,6 +9,10 @@ int inet_aton(const char *cp, struct in_addr *ia);
#include <arpa/inet.h>
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void slirp_init(void);
void slirp_select_fill(int *pnfds, fd_set *readfds, fd_set *writefds,
@@ -29,4 +33,8 @@ int slirp_add_exec(int do_pty, const char *args, int addr_low_byte,
extern const char *tftp_prefix;
+#ifdef __cplusplus
+}
+#endif
+
#endif