diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-07-22 16:43:00 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 14:08:23 -0500 |
commit | 62c5802efdabe2a24ca9680a1ab9dcbbfbaf43d2 (patch) | |
tree | b31d2dbf3090dd38af73fe600de9a059aab25b73 /qemu-option.h | |
parent | 3b0ba927931925f0f76509747ae145df30c97a05 (diff) | |
download | hqemu-62c5802efdabe2a24ca9680a1ab9dcbbfbaf43d2.zip hqemu-62c5802efdabe2a24ca9680a1ab9dcbbfbaf43d2.tar.gz |
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu-option.h b/qemu-option.h index 059c0a4..267abae 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); /* |