aboutsummaryrefslogtreecommitdiff
path: root/slirp/slirp.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-11-14 16:36:07 +0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-01-14 00:40:54 +0100
commitd846b927a613afbee7bd30756d1c8384085cfc64 (patch)
treec49b20e0f89bebf3097526e3ef76d120194f6d9c /slirp/slirp.h
parentcf2b315265d416cdef1c06120957dc48c098d550 (diff)
slirp: use a callback structure to interface with qemu
This will bring slirp a bit forward to the state of an independent project. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp/slirp.h')
-rw-r--r--slirp/slirp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h
index de299aa36c..f7c087456a 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -220,7 +220,7 @@ struct Slirp {
GRand *grand;
QEMUTimer *ra_timer;
- slirp_output output;
+ const SlirpCb *cb;
void *opaque;
};