mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
qdict: Add qdict_array_split()
This function splits a QDict consisting of entries prefixed by incrementally enumerated indices into a QList of QDicts. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
d4881b9bcb
commit
05a8c22271
2 changed files with 38 additions and 0 deletions
|
@ -68,5 +68,6 @@ QDict *qdict_clone_shallow(const QDict *src);
|
|||
void qdict_flatten(QDict *qdict);
|
||||
|
||||
void qdict_extract_subqdict(QDict *src, QDict **dst, const char *start);
|
||||
void qdict_array_split(QDict *src, QList **dst);
|
||||
|
||||
#endif /* QDICT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue