diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-06-24 14:42:28 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 08:52:44 -0500 |
commit | 5db4af8bc8eb99333b0d2be1f88c943353361e50 (patch) | |
tree | 6f94de6cc354fdddc9e52f2c4563f1415220b982 /sysemu.h | |
parent | e15f4a992cd8c6fcec42bc00c85c2641a2fbcb14 (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |