...
 
Commits (2)
...@@ -29,7 +29,6 @@ package libvirt ...@@ -29,7 +29,6 @@ package libvirt
/* /*
#cgo pkg-config: libvirt #cgo pkg-config: libvirt
#include <stdlib.h> #include <stdlib.h>
#include "domain_snapshot_compat.h"
#include "domain_snapshot_wrapper.h" #include "domain_snapshot_wrapper.h"
*/ */
import "C" import "C"
...@@ -89,7 +88,7 @@ const ( ...@@ -89,7 +88,7 @@ const (
type DomainSnapshotXMLFlags int type DomainSnapshotXMLFlags int
const ( const (
DOMAIN_SNAPSHOT_XML_SECURE = DomainSnapshotXMLFlags(C.VIR_DOMAIN_SNAPSHOT_XML_SECURE) DOMAIN_SNAPSHOT_XML_SECURE = DomainSnapshotXMLFlags(C.VIR_DOMAIN_SNAPSHOT_XML_SECURE)
) )
type DomainSnapshot struct { type DomainSnapshot struct {
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <libvirt/libvirt.h> #include <libvirt/libvirt.h>
#include <libvirt/virterror.h> #include <libvirt/virterror.h>
#include "domain_compat.h" #include "domain_compat.h"
#include "domain_snapshot_compat.h"
int int
virDomainRevertToSnapshotWrapper(virDomainSnapshotPtr snapshot, virDomainRevertToSnapshotWrapper(virDomainSnapshotPtr snapshot,
......