diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2013-06-25 13:04:39 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2013-06-25 17:15:23 +0200 |
commit | c1264ce41f8b0090741cb5d4c611a70fc3eb9e3d (patch) | |
tree | a047f731c85722aca93d19a9dfb3571227ac130f /govirt/ovirt-vm-private.h | |
parent | 48ad1896fd776a70538a36a9867a9fb10ab12c44 (diff) |
Parse sub-collection links in VM REST descriptions
The various sub-collections give access to the description of the various
VM devices (CDROM, NICs, disks, ...) as well as to other resources
(snapshots, permissions, stats, ...).
This will be useful at first to access the CDROM device information
to be able to change the currently mounted ISO in the VM.
Diffstat (limited to 'govirt/ovirt-vm-private.h')
-rw-r--r-- | govirt/ovirt-vm-private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/govirt/ovirt-vm-private.h b/govirt/ovirt-vm-private.h index 324a2e8..6c13649 100644 --- a/govirt/ovirt-vm-private.h +++ b/govirt/ovirt-vm-private.h @@ -42,6 +42,9 @@ typedef enum { } OvirtVmAction; void ovirt_vm_add_action(OvirtVm *vm, const char *action, const char *url); +void ovirt_vm_add_sub_collection(OvirtVm *vm, + const char *sub_collection, + const char *url); gboolean ovirt_vm_refresh_from_xml(OvirtVm *vm, RestXmlNode *node); G_END_DECLS |