aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen/include
diff options
context:
space:
mode:
authorewan@localhost.localdomain <ewan@localhost.localdomain>2007-04-16 16:10:39 -0400
committerewan@localhost.localdomain <ewan@localhost.localdomain>2007-04-16 16:10:39 -0400
commitf01fa26a0f4b16f0b296d30463f77f57974996dc (patch)
treee25709b8a538656911fa19186a7f3d55cfe60cd9 /tools/libxen/include
parent1d4f277da8ecdd0e858bb12d37f9c01ce5e3b266 (diff)
downloadxen-f01fa26a0f4b16f0b296d30463f77f57974996dc.tar.gz
xen-f01fa26a0f4b16f0b296d30463f77f57974996dc.tar.bz2
xen-f01fa26a0f4b16f0b296d30463f77f57974996dc.zip
Added host.enabled flag.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxen/include')
-rw-r--r--tools/libxen/include/xen_host.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/libxen/include/xen_host.h b/tools/libxen/include/xen_host.h
index 181aa5e22d..cb2c447fc4 100644
--- a/tools/libxen/include/xen_host.h
+++ b/tools/libxen/include/xen_host.h
@@ -76,6 +76,7 @@ typedef struct xen_host_record
int64_t api_version_minor;
char *api_version_vendor;
xen_string_string_map *api_version_vendor_implementation;
+ bool enabled;
xen_string_string_map *software_version;
xen_string_string_map *other_config;
struct xen_string_set *capabilities;
@@ -242,6 +243,13 @@ xen_host_get_api_version_vendor_implementation(xen_session *session, xen_string_
/**
+ * Get the enabled field of the given host.
+ */
+extern bool
+xen_host_get_enabled(xen_session *session, bool *result, xen_host host);
+
+
+/**
* Get the software_version field of the given host.
*/
extern bool