diff options
author | Ewan Mellor <ewan@xensource.com> | 2007-04-04 18:42:20 +0100 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2007-04-04 18:42:20 +0100 |
commit | fccf5da0dd1207e80d6e8a9c6e40d2f4d6580607 (patch) | |
tree | 7976a2f4c14a602d77db196687c3b8b87bd471f5 /tools/libxen/src | |
parent | 3a7400aa8668b4ec5b9590662d29510001b10bd7 (diff) | |
download | xen-fccf5da0dd1207e80d6e8a9c6e40d2f4d6580607.tar.gz xen-fccf5da0dd1207e80d6e8a9c6e40d2f4d6580607.tar.bz2 xen-fccf5da0dd1207e80d6e8a9c6e40d2f4d6580607.zip |
Expose the method-listing call as host.list_methods.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxen/src')
-rw-r--r-- | tools/libxen/src/xen_host.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/libxen/src/xen_host.c b/tools/libxen/src/xen_host.c index 64badac031..d46f061c30 100644 --- a/tools/libxen/src/xen_host.c +++ b/tools/libxen/src/xen_host.c @@ -740,6 +740,18 @@ xen_host_dmesg(xen_session *session, char **result, xen_host host) bool +xen_host_list_methods(xen_session *session, struct xen_string_set **result) +{ + + abstract_type result_type = abstract_type_string_set; + + *result = NULL; + xen_call_(session, "host.list_methods", NULL, 0, &result_type, result); + return session->ok; +} + + +bool xen_host_get_all(xen_session *session, struct xen_host_set **result) { |