aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen/include
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2007-02-25 23:37:05 +0000
committerEwan Mellor <ewan@xensource.com>2007-02-25 23:37:05 +0000
commit496ee4e22a895b6b13452ef0b2f59d95851d37bd (patch)
tree8bff4495eee034ec82116c549744df9b45ca4b35 /tools/libxen/include
parentd8f5871da1f98195c4f8b86c1cd5188b729fdc5c (diff)
downloadxen-496ee4e22a895b6b13452ef0b2f59d95851d37bd.tar.gz
xen-496ee4e22a895b6b13452ef0b2f59d95851d37bd.tar.bz2
xen-496ee4e22a895b6b13452ef0b2f59d95851d37bd.zip
Added host.capabilities field.
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 8f84dc37ad..f9919ad309 100644
--- a/tools/libxen/include/xen_host.h
+++ b/tools/libxen/include/xen_host.h
@@ -78,6 +78,7 @@ typedef struct xen_host_record
xen_string_string_map *api_version_vendor_implementation;
xen_string_string_map *software_version;
xen_string_string_map *other_config;
+ struct xen_string_set *capabilities;
struct xen_string_set *supported_bootloaders;
struct xen_vm_record_opt_set *resident_vms;
xen_string_string_map *logging;
@@ -253,6 +254,13 @@ xen_host_get_other_config(xen_session *session, xen_string_string_map **result,
/**
+ * Get the capabilities field of the given host.
+ */
+extern bool
+xen_host_get_capabilities(xen_session *session, struct xen_string_set **result, xen_host host);
+
+
+/**
* Get the supported_bootloaders field of the given host.
*/
extern bool