diff options
| author | Anthony Liguori | 2013-04-05 15:55:14 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2013-04-05 15:55:14 +0200 |
| commit | 150a470b64c548b7539ea47526f345f15ebac355 (patch) | |
| tree | 5695dfe2c53f2d958e7999fb8e9d48a8b67c38b2 /include | |
| parent | Allow clock_gettime() monotonic clock to be utilized on more OS's (diff) | |
| parent | chardev: drop the Memory chardev driver (diff) | |
| download | qemu-150a470b64c548b7539ea47526f345f15ebac355.tar.gz qemu-150a470b64c548b7539ea47526f345f15ebac355.tar.xz qemu-150a470b64c548b7539ea47526f345f15ebac355.zip | |
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.h | 1 |
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); |
