[PATCH v3 07/30] docstring: enums: admin: Add 'Since version' metadata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Either create or append to existing docstring, the version (git tag)
that a given enum value was introduced in the format:

    Since: v1.2.3

Signed-off-by: Victor Toso <victortoso@xxxxxxxxxx>
---
 include/libvirt/libvirt-admin.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/libvirt/libvirt-admin.h b/include/libvirt/libvirt-admin.h
index e414f776e4..f65886f20d 100644
--- a/include/libvirt/libvirt-admin.h
+++ b/include/libvirt/libvirt-admin.h
@@ -205,12 +205,12 @@ int virAdmClientGetTransport(virAdmClientPtr client);
 int virAdmClientFree(virAdmClientPtr client);
 
 typedef enum {
-    VIR_CLIENT_TRANS_UNIX = 0, /* connection via UNIX socket */
-    VIR_CLIENT_TRANS_TCP,      /* connection via unencrypted TCP socket */
-    VIR_CLIENT_TRANS_TLS,      /* connection via encrypted TCP socket */
+    VIR_CLIENT_TRANS_UNIX = 0, /* connection via UNIX socket (Since: v1.3.5) */
+    VIR_CLIENT_TRANS_TCP,      /* connection via unencrypted TCP socket (Since: v1.3.5) */
+    VIR_CLIENT_TRANS_TLS,      /* connection via encrypted TCP socket (Since: v1.3.5) */
 
 # ifdef VIR_ENUM_SENTINELS
-    VIR_CLIENT_TRANS_LAST
+    VIR_CLIENT_TRANS_LAST /* (Since: v1.3.5) */
 # endif
 } virClientTransport;
 
-- 
2.35.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux