summaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-05-18 12:55:27 +0100
committerMark McLoughlin <markmc@redhat.com>2009-06-09 11:38:49 +0100
commit463af5349a787160642f023dad10eaf0cb419fb7 (patch)
tree5e8bb3409816c956e473c9c81ab666038094a45e /net.h
parent3471b757d0ca63a0e8188c4c96acd1c279a8c737 (diff)
downloadqemu-463af5349a787160642f023dad10eaf0cb419fb7.tar.gz
net: add fd_readv() handler to qemu_new_vlan_client() args
This, apparently, is the style we prefer - all VLANClientState should be an argument to qemu_new_vlan_client(). Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Diffstat (limited to 'net.h')
-rw-r--r--net.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/net.h b/net.h
index 3e602f7299..ab445aa2ec 100644
--- a/net.h
+++ b/net.h
@@ -51,8 +51,9 @@ VLANState *qemu_find_vlan(int id);
VLANClientState *qemu_new_vlan_client(VLANState *vlan,
const char *model,
const char *name,
- IOReadHandler *fd_read,
IOCanRWHandler *fd_can_read,
+ IOReadHandler *fd_read,
+ IOReadvHandler *fd_readv,
NetCleanup *cleanup,
void *opaque);
void qemu_del_vlan_client(VLANClientState *vc);
@@ -129,8 +130,9 @@ void net_host_device_remove(Monitor *mon, int vlan_id, const char *device);
void qdev_get_macaddr(DeviceState *dev, uint8_t *macaddr);
VLANClientState *qdev_get_vlan_client(DeviceState *dev,
- IOReadHandler *fd_read,
IOCanRWHandler *fd_can_read,
+ IOReadHandler *fd_read,
+ IOReadvHandler *fd_readv,
NetCleanup *cleanup,
void *opaque);