Recently, some code were cleaned ups. Now, some parameters are being
converted to its respective enum type. For example, there are many functions
that are using int or unsigned int types instead enum types. So, this kind of
cleaning up can be necessary.
Signed-off-by: Julio Faracco <jcfaracco(a)gmail.com>
---
include/libvirt/libvirt-domain.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h
index 9487b80..8016e2a 100644
--- a/include/libvirt/libvirt-domain.h
+++ b/include/libvirt/libvirt-domain.h
@@ -854,7 +854,7 @@ typedef enum {
int virDomainShutdown (virDomainPtr domain);
int virDomainShutdownFlags (virDomainPtr domain,
- unsigned int flags);
+ virDomainShutdownFlagValues flags);
typedef enum {
VIR_DOMAIN_REBOOT_DEFAULT = 0, /* hypervisor choice */
@@ -866,7 +866,7 @@ typedef enum {
} virDomainRebootFlagValues;
int virDomainReboot (virDomainPtr domain,
- unsigned int flags);
+ virDomainRebootFlagValues flags);
int virDomainReset (virDomainPtr domain,
unsigned int flags);
@@ -884,7 +884,7 @@ typedef enum {
} virDomainDestroyFlagsValues;
int virDomainDestroyFlags (virDomainPtr domain,
- unsigned int flags);
+ virDomainDestroyFlagsValues flags);
int virDomainRef (virDomainPtr domain);
int virDomainFree (virDomainPtr domain);
--
1.9.1