Commit 1e45bd52 authored by Daniel P. Berrangé's avatar Daniel P. Berrangé

Add VIR_DOMAIN_SNAPSHOT_LIST_TOPOLOGICAL constant

Signed-off-by: 's avatarDaniel P. Berrangé <berrange@redhat.com>
parent b3f8da01
......@@ -29,6 +29,7 @@ package libvirt
/*
#cgo pkg-config: libvirt
#include <stdlib.h>
#include "domain_snapshot_compat.h"
#include "domain_snapshot_wrapper.h"
*/
import "C"
......@@ -66,6 +67,7 @@ const (
DOMAIN_SNAPSHOT_LIST_DISK_ONLY = DomainSnapshotListFlags(C.VIR_DOMAIN_SNAPSHOT_LIST_DISK_ONLY)
DOMAIN_SNAPSHOT_LIST_INTERNAL = DomainSnapshotListFlags(C.VIR_DOMAIN_SNAPSHOT_LIST_INTERNAL)
DOMAIN_SNAPSHOT_LIST_EXTERNAL = DomainSnapshotListFlags(C.VIR_DOMAIN_SNAPSHOT_LIST_EXTERNAL)
DOMAIN_SNAPSHOT_LIST_TOPOLOGICAL = DomainSnapshotListFlags(C.VIR_DOMAIN_SNAPSHOT_LIST_TOPOLOGICAL)
)
type DomainSnapshotRevertFlags int
......
/*
* This file is part of the libvirt-go project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* Copyright (C) 2019 Red Hat, Inc.
*
*/
#ifndef LIBVIRT_GO_DOMAIN_SNAPSHOT_COMPAT_H__
#define LIBVIRT_GO_DOMAIN_SNAPSHOT_COMPAT_H__
/* 5.2.0 */
#ifndef VIR_DOMAIN_SNAPSHOT_LIST_TOPOLOGICAL
# define VIR_DOMAIN_SNAPSHOT_LIST_TOPOLOGICAL (1 << 10)
#endif
#endif /* LIBVIRT_GO_DOMAIN_SNAPSHOT_COMPAT_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment