]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
include: Fix documentation for various VIR_*_LAST values
authorAndrea Bolognani <abologna@redhat.com>
Thu, 27 Jan 2022 14:26:57 +0000 (15:26 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 27 Jan 2022 15:20:36 +0000 (16:20 +0100)
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
include/libvirt/libvirt-domain.h
include/libvirt/libvirt-secret.h

index 4da1a63a14c525eb57c0592366f887a252521e89..374859fdffb7e786392c7dd8704742e514f95b2f 100644 (file)
@@ -62,7 +62,7 @@ typedef enum {
 # ifdef VIR_ENUM_SENTINELS
     VIR_DOMAIN_LAST
     /*
-     * NB: this enum value will increase over time as new events are
+     * NB: this enum value will increase over time as new states are
      * added to the libvirt API. It reflects the last state supported
      * by this version of the libvirt API.
      */
@@ -696,7 +696,7 @@ typedef enum {
     VIR_DOMAIN_CORE_DUMP_FORMAT_LAST
     /*
      * NB: this enum value will increase over time as new formats are
-     * added to the libvirt API. It reflects the last state supported
+     * added to the libvirt API. It reflects the last format supported
      * by this version of the libvirt API.
      */
 # endif
@@ -2909,7 +2909,7 @@ typedef enum {
 # ifdef VIR_ENUM_SENTINELS
     VIR_KEYCODE_SET_LAST
     /*
-     * NB: this enum value will increase over time as new events are
+     * NB: this enum value will increase over time as new keycode sets are
      * added to the libvirt API. It reflects the last keycode set supported
      * by this version of the libvirt API.
      */
index a75abc832a9e07a8468f89996dfc7c65e1975000..82e18b8611b2409afe093a54b4acbe72330dc448 100644 (file)
@@ -48,9 +48,9 @@ typedef enum {
 # ifdef VIR_ENUM_SENTINELS
     VIR_SECRET_USAGE_TYPE_LAST
     /*
-     * NB: this enum value will increase over time as new events are
-     * added to the libvirt API. It reflects the last secret owner ID
-     * supported by this version of the libvirt API.
+     * NB: this enum value will increase over time as new usage types are
+     * added to the libvirt API. It reflects the last usage type supported
+     * by this version of the libvirt API.
      */
 # endif
 } virSecretUsageType;