diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-08-28 15:27:15 -0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-09-04 09:37:31 -0500 |
commit | 1d4daa91ff0b77e86b3944faf8fc7f978cf51c84 (patch) | |
tree | b1331e881597acdb9089ce77e3100a56b4aa4282 /net.h | |
parent | f18c16de4a321f1dda01dc7eae8f0aca86900e32 (diff) | |
download | qemu-1d4daa91ff0b77e86b3944faf8fc7f978cf51c84.tar.gz qemu-1d4daa91ff0b77e86b3944faf8fc7f978cf51c84.tar.bz2 qemu-1d4daa91ff0b77e86b3944faf8fc7f978cf51c84.zip |
monitor: Port handler_3 to use QDict
This commit ports command handlers that receive three arguments to use
the new monitor's dictionary.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -138,10 +138,8 @@ int net_client_init(Monitor *mon, const char *device, const char *p); void net_client_uninit(NICInfo *nd); int net_client_parse(const char *str); void net_slirp_smb(const char *exported_dir); -void net_slirp_hostfwd_add(Monitor *mon, const char *arg1, - const char *arg2, const char *arg3); -void net_slirp_hostfwd_remove(Monitor *mon, const char *arg1, - const char *arg2, const char *arg3); +void net_slirp_hostfwd_add(Monitor *mon, const QDict *qdict); +void net_slirp_hostfwd_remove(Monitor *mon, const QDict *qdict); void net_slirp_redir(const char *redir_str); void net_cleanup(void); void net_client_check(void); |