aboutsummaryrefslogtreecommitdiff
path: root/qdict.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-01-21 19:15:39 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-26 15:42:01 -0600
commitdf10ce6aa96ef6782250cec8ab53742144ed5c93 (patch)
tree2a2deceb3b1e2e29b3524ea5ffa54fd013d9c9e6 /qdict.h
parent59eb1c85cd5f416e8f8743db27d0c98c15b64d18 (diff)
QDict: Introduce qdict_get_qdict()
A helper to retrieve a QDict from a QDict. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qdict.h')
-rw-r--r--qdict.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qdict.h b/qdict.h
index 5fef1ea4ea..2eaf6d54d3 100644
--- a/qdict.h
+++ b/qdict.h
@@ -40,6 +40,7 @@ void qdict_iter(const QDict *qdict,
int64_t qdict_get_int(const QDict *qdict, const char *key);
int qdict_get_bool(const QDict *qdict, const char *key);
QList *qdict_get_qlist(const QDict *qdict, const char *key);
+QDict *qdict_get_qdict(const QDict *qdict, const char *key);
const char *qdict_get_str(const QDict *qdict, const char *key);
int64_t qdict_get_try_int(const QDict *qdict, const char *key,
int64_t err_value);