[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Storage Pool and Volumes are converted



---
 src/org/libvirt/jna/StoragePoolPointer.java |    7 +++++++
 src/org/libvirt/jna/StorageVolPointer.java  |    7 +++++++
 src/org/libvirt/jna/virStoragePoolInfo.java |   11 +++++++++++
 src/org/libvirt/jna/virStorageVolInfo.java  |   11 +++++++++++
 4 files changed, 36 insertions(+), 0 deletions(-)
 create mode 100644 src/org/libvirt/jna/StoragePoolPointer.java
 create mode 100644 src/org/libvirt/jna/StorageVolPointer.java
 create mode 100644 src/org/libvirt/jna/virStoragePoolInfo.java
 create mode 100644 src/org/libvirt/jna/virStorageVolInfo.java

diff --git a/src/org/libvirt/jna/StoragePoolPointer.java b/src/org/libvirt/jna/StoragePoolPointer.java
new file mode 100644
index 0000000..e004ee8
--- /dev/null
+++ b/src/org/libvirt/jna/StoragePoolPointer.java
@@ -0,0 +1,7 @@
+package org.libvirt.jna;
+
+import com.sun.jna.PointerType;
+
+public class StoragePoolPointer extends PointerType
+{
+}
diff --git a/src/org/libvirt/jna/StorageVolPointer.java b/src/org/libvirt/jna/StorageVolPointer.java
new file mode 100644
index 0000000..e0a4acd
--- /dev/null
+++ b/src/org/libvirt/jna/StorageVolPointer.java
@@ -0,0 +1,7 @@
+package org.libvirt.jna;
+
+import com.sun.jna.PointerType;
+
+public class StorageVolPointer extends PointerType
+{
+}
diff --git a/src/org/libvirt/jna/virStoragePoolInfo.java b/src/org/libvirt/jna/virStoragePoolInfo.java
new file mode 100644
index 0000000..78915ff
--- /dev/null
+++ b/src/org/libvirt/jna/virStoragePoolInfo.java
@@ -0,0 +1,11 @@
+package org.libvirt.jna;
+
+import com.sun.jna.Structure;
+
+public class virStoragePoolInfo extends Structure
+{
+    public int state ;
+    public long capacity ;
+    public long allocation ;
+    public long available ;
+}
diff --git a/src/org/libvirt/jna/virStorageVolInfo.java b/src/org/libvirt/jna/virStorageVolInfo.java
new file mode 100644
index 0000000..598f28a
--- /dev/null
+++ b/src/org/libvirt/jna/virStorageVolInfo.java
@@ -0,0 +1,11 @@
+package org.libvirt.jna;
+
+import com.sun.jna.Structure;
+
+public class virStorageVolInfo extends Structure
+{
+    public int type ;
+    public long capacity ;
+    public long allocation ;
+    
+}
\ No newline at end of file
-- 
1.6.0.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]