From 1d4daa91ff0b77e86b3944faf8fc7f978cf51c84 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Fri, 28 Aug 2009 15:27:15 -0300 Subject: 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 Signed-off-by: Anthony Liguori --- net.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'net.h') diff --git a/net.h b/net.h index 7fadc350e0..f46e6c6756 100644 --- a/net.h +++ b/net.h @@ -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); -- cgit v1.2.3