]> git.proxmox.com Git - qemu.git/blobdiff - qga/vss-win32.h
qemu-ga: Call Windows VSS requester in fsfreeze command handler
[qemu.git] / qga / vss-win32.h
diff --git a/qga/vss-win32.h b/qga/vss-win32.h
new file mode 100644 (file)
index 0000000..eac669c
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * QEMU Guest Agent VSS utility declarations
+ *
+ * Copyright Hitachi Data Systems Corp. 2013
+ *
+ * Authors:
+ *  Tomoki Sekiyama   <tomoki.sekiyama@hds.com>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+
+#ifndef VSS_WIN32_H
+#define VSS_WIN32_H
+
+#include "qapi/error.h"
+
+bool vss_init(bool init_requester);
+void vss_deinit(bool deinit_requester);
+bool vss_initialized(void);
+
+void qga_vss_fsfreeze(int *nr_volume, Error **err, bool freeze);
+
+#endif