summaryrefslogtreecommitdiffstats
path: root/src/guestfs-structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/guestfs-structs.h')
-rw-r--r--src/guestfs-structs.h94
1 files changed, 94 insertions, 0 deletions
diff --git a/src/guestfs-structs.h b/src/guestfs-structs.h
new file mode 100644
index 00000000..45ce1316
--- /dev/null
+++ b/src/guestfs-structs.h
@@ -0,0 +1,94 @@
+/* libguestfs generated file
+ * WARNING: THIS FILE IS GENERATED BY 'src/generator.ml'.
+ * ANY CHANGES YOU MAKE TO THIS FILE WILL BE LOST.
+ *
+ * Copyright (C) 2009 Red Hat Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+struct guestfs_lvm_pv {
+ char *pv_name;
+ char pv_uuid[32]; /* this is NOT nul-terminated, be careful when printing */
+ char *pv_fmt;
+ uint64_t pv_size;
+ uint64_t dev_size;
+ uint64_t pv_free;
+ uint64_t pv_used;
+ char *pv_attr;
+ int64_t pv_pe_count;
+ int64_t pv_pe_alloc_count;
+ char *pv_tags;
+ uint64_t pe_start;
+ int64_t pv_mda_count;
+ uint64_t pv_mda_free;
+};
+
+struct guestfs_lvm_pv_list {
+ uint32_t len;
+ struct guestfs_lvm_pv *val;
+};
+
+struct guestfs_lvm_vg {
+ char *vg_name;
+ char vg_uuid[32]; /* this is NOT nul-terminated, be careful when printing */
+ char *vg_fmt;
+ char *vg_attr;
+ uint64_t vg_size;
+ uint64_t vg_free;
+ char *vg_sysid;
+ uint64_t vg_extent_size;
+ int64_t vg_extent_count;
+ int64_t vg_free_count;
+ int64_t max_lv;
+ int64_t max_pv;
+ int64_t pv_count;
+ int64_t lv_count;
+ int64_t snap_count;
+ int64_t vg_seqno;
+ char *vg_tags;
+ int64_t vg_mda_count;
+ uint64_t vg_mda_free;
+};
+
+struct guestfs_lvm_vg_list {
+ uint32_t len;
+ struct guestfs_lvm_vg *val;
+};
+
+struct guestfs_lvm_lv {
+ char *lv_name;
+ char lv_uuid[32]; /* this is NOT nul-terminated, be careful when printing */
+ char *lv_attr;
+ int64_t lv_major;
+ int64_t lv_minor;
+ int64_t lv_kernel_major;
+ int64_t lv_kernel_minor;
+ uint64_t lv_size;
+ int64_t seg_count;
+ char *origin;
+ float snap_percent; /* [0..100] or -1 */
+ float copy_percent; /* [0..100] or -1 */
+ char *move_pv;
+ char *lv_tags;
+ char *mirror_log;
+ char *modules;
+};
+
+struct guestfs_lvm_lv_list {
+ uint32_t len;
+ struct guestfs_lvm_lv *val;
+};
+