mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
docstring: enums: admin: Add 'Since version' metadata
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@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
committed by
Andrea Bolognani
parent
807cdbf759
commit
da6d307a34
@@ -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: v2.0.0) */
|
||||
VIR_CLIENT_TRANS_TCP, /* connection via unencrypted TCP socket (Since: v2.0.0) */
|
||||
VIR_CLIENT_TRANS_TLS, /* connection via encrypted TCP socket (Since: v2.0.0) */
|
||||
|
||||
# ifdef VIR_ENUM_SENTINELS
|
||||
VIR_CLIENT_TRANS_LAST
|
||||
VIR_CLIENT_TRANS_LAST /* (Since: v2.0.0) */
|
||||
# endif
|
||||
} virClientTransport;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user