diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-11-10 17:45:36 +0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-01-14 00:40:54 +0100 |
commit | 62c1d2c4833f53897098f945f504f5ec3022d35b (patch) | |
tree | 69006dccce299b57a6df93c06362fa86fbc245d2 /slirp/slirp.h | |
parent | 27df21ca3886fff4dd3d70e515517667963a52f1 (diff) | |
download | qemu-62c1d2c4833f53897098f945f504f5ec3022d35b.zip qemu-62c1d2c4833f53897098f945f504f5ec3022d35b.tar.gz qemu-62c1d2c4833f53897098f945f504f5ec3022d35b.tar.bz2 |
slirp: associate slirp_output callback with the Slirp context
Let's make the slirp interface a bit more library-like.
Associate the slirp_output() with a Slirp context.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp/slirp.h')
-rw-r--r-- | slirp/slirp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h index b80725a..e3d65d6 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -220,6 +220,7 @@ struct Slirp { GRand *grand; QEMUTimer *ra_timer; + slirp_output output; void *opaque; }; |