]> Git Repo - qemu.git/blobdiff - include/chardev/char.h
hmp: add hmp analogue for qmp-chardev-change
[qemu.git] / include / chardev / char.h
index 22fd734999e6ce3da86e0cb324a7ab94beef4558..1604ea91436bb8da31d442d57e7090e89d10677e 100644 (file)
@@ -80,6 +80,16 @@ Chardev *qemu_chr_new_from_opts(QemuOpts *opts,
  */
 void qemu_chr_parse_common(QemuOpts *opts, ChardevCommon *backend);
 
+/**
+ * @qemu_chr_parse_opts:
+ *
+ * Parse the options to the ChardevBackend struct.
+ *
+ * Returns: a new backend or NULL on error
+ */
+ChardevBackend *qemu_chr_parse_opts(QemuOpts *opts,
+                                    Error **errp);
+
 /**
  * @qemu_chr_new:
  *
This page took 0.022925 seconds and 4 git commands to generate.