From 62c5802efdabe2a24ca9680a1ab9dcbbfbaf43d2 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 22 Jul 2009 16:43:00 +0200 Subject: move parser functions from vl.c to qemu-option.c Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori --- qemu-option.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qemu-option.h') diff --git a/qemu-option.h b/qemu-option.h index 059c0a49f..267abae29 100644 --- a/qemu-option.h +++ b/qemu-option.h @@ -46,6 +46,12 @@ typedef struct QEMUOptionParameter { 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_next_param_value(char *buf, int buf_size, + const char *tag, const char **pstr); +int get_param_value(char *buf, int buf_size, + const char *tag, const char *str); +int check_params(char *buf, int buf_size, + const char * const *params, const char *str); /* -- cgit v1.2.3