aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-04-05 08:55:14 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2013-04-05 08:55:14 -0500
commit150a470b64c548b7539ea47526f345f15ebac355 (patch)
tree5695dfe2c53f2d958e7999fb8e9d48a8b67c38b2 /include
parentd05ef160453e98546a4197496dc8a3cb2defac53 (diff)
parent4bf0bb8014ac2ac61b1004f5d92b2a4594d48017 (diff)
Merge remote-tracking branch 'luiz/queue/qmp' into staging
# By Luiz Capitulino # Via Luiz Capitulino * luiz/queue/qmp: chardev: drop the Memory chardev driver hmp: human-monitor-command: stop using the Memory chardev driver Monitor: Make output buffer dynamic qstring: add qstring_get_length()
Diffstat (limited to 'include')
-rw-r--r--include/qapi/qmp/qstring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qapi/qmp/qstring.h b/include/qapi/qmp/qstring.h
index 0e690f4849..1bc3666107 100644
--- a/include/qapi/qmp/qstring.h
+++ b/include/qapi/qmp/qstring.h
@@ -26,6 +26,7 @@ typedef struct QString {
QString *qstring_new(void);
QString *qstring_from_str(const char *str);
QString *qstring_from_substr(const char *str, int start, int end);
+size_t qstring_get_length(const QString *qstring);
const char *qstring_get_str(const QString *qstring);
void qstring_append_int(QString *qstring, int64_t value);
void qstring_append(QString *qstring, const char *str);