[libvirt] [PATCH] Add gvir_storage_vol_download() and gvir_storage_vol_upload() to h file

Jovanka Gulicoska jovanka.gulicoska at gmail.com
Mon Jul 9 04:32:54 UTC 2012


From: Jovanka Gulicoska <jovanka.gulicoska at gmail.com>

---
 libvirt-gobject/libvirt-gobject-storage-vol.h |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/libvirt-gobject/libvirt-gobject-storage-vol.h b/libvirt-gobject/libvirt-gobject-storage-vol.h
index b425f0a..c6c64c8 100644
--- a/libvirt-gobject/libvirt-gobject-storage-vol.h
+++ b/libvirt-gobject/libvirt-gobject-storage-vol.h
@@ -110,6 +110,20 @@ gboolean gvir_storage_vol_resize(GVirStorageVol *vol,
                                  guint flags,
                                  GError **err);
 
+gboolean gvir_storage_vol_download(GVirStorageVol *vol,
+                                   GVirStream *stream,
+                                   unsigned long long offset,
+                                   unsigned long long length,
+                                   guint flags,
+                                   GError **err);                                   
+
+gboolean gvir_storage_vol_upload(GVirStorageVol *vol,
+                                 GVirStream *stream,
+                                 unsigned long long offset,
+                                 unsigned long long length,
+                                 guint flags,
+                                 GError **err);
+
 G_END_DECLS
 
 #endif /* __LIBVIRT_GOBJECT_STORAGE_VOL_H__ */
-- 
1.7.10.4




More information about the libvir-list mailing list