aboutsummaryrefslogtreecommitdiff
path: root/qemu-option.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-07-22 16:43:00 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:08:23 -0500
commit62c5802efdabe2a24ca9680a1ab9dcbbfbaf43d2 (patch)
treeb31d2dbf3090dd38af73fe600de9a059aab25b73 /qemu-option.h
parent3b0ba927931925f0f76509747ae145df30c97a05 (diff)
move parser functions from vl.c to qemu-option.c
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-option.h')
-rw-r--r--qemu-option.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu-option.h b/qemu-option.h
index 059c0a49fb..267abae297 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);
/*