]> Git Repo - qemu.git/blobdiff - include/io/channel.h
io: Introduce a qio_channel_set_feature() helper
[qemu.git] / include / io / channel.h
index 5368604c8e80671bf03dd5c235f03b03b2729002..cf1c6223fa11f4ef086d4e0695b4f0a8ba86adf6 100644 (file)
@@ -148,6 +148,16 @@ struct QIOChannelClass {
 bool qio_channel_has_feature(QIOChannel *ioc,
                              QIOChannelFeature feature);
 
+/**
+ * qio_channel_set_feature:
+ * @ioc: the channel object
+ * @feature: the feature to set support for
+ *
+ * Add channel support for the feature named in @feature.
+ */
+void qio_channel_set_feature(QIOChannel *ioc,
+                             QIOChannelFeature feature);
+
 /**
  * qio_channel_readv_full:
  * @ioc: the channel object
This page took 0.0237 seconds and 4 git commands to generate.