aboutsummaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-06-24 14:42:28 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 08:52:44 -0500
commit5db4af8bc8eb99333b0d2be1f88c943353361e50 (patch)
tree6f94de6cc354fdddc9e52f2c4563f1415220b982 /sysemu.h
parente15f4a992cd8c6fcec42bc00c85c2641a2fbcb14 (diff)
Introduce get_next_param_value
In order to parse multiple instances of the same param=value pair, introduce get_next_param_value which can pass back to string parsing position after reading a parameter value. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysemu.h b/sysemu.h
index aa036bfd1f..8744347f28 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -275,6 +275,8 @@ void usb_info(Monitor *mon);
int get_param_value(char *buf, int buf_size,
const char *tag, const char *str);
+int get_next_param_value(char *buf, int buf_size,
+ const char *tag, const char **pstr);
int check_params(char *buf, int buf_size,
const char * const *params, const char *str);