From d3f243676addaef6c8d818934565292c698f91cc Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Mon, 18 May 2009 16:42:09 +0200 Subject: Create qemu-option.h This patch creates a new header file and the corresponding implementation file for parsing of parameter strings for options (like used in -drive). Part of this is code moved from vl.c (so qemu-img can use it later). The idea is to have a data structure describing all accepted parameters. When parsing a parameter string, the structure is copied and filled with the parameter values. Signed-off-by: Kevin Wolf Signed-off-by: Anthony Liguori --- sysemu.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sysemu.h') diff --git a/sysemu.h b/sysemu.h index a1dadaa42a..92501edcef 100644 --- a/sysemu.h +++ b/sysemu.h @@ -265,8 +265,6 @@ void do_usb_add(Monitor *mon, const char *devname); void do_usb_del(Monitor *mon, const char *devname); void usb_info(Monitor *mon); -const char *get_opt_name(char *buf, int buf_size, const char *p, char delim); -const char *get_opt_value(char *buf, int buf_size, const char *p); int get_param_value(char *buf, int buf_size, const char *tag, const char *str); int check_params(const char * const *params, const char *str); -- cgit v1.2.3