]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Add public API for volume wiping
authorDavid Allan <dallan@redhat.com>
Mon, 1 Mar 2010 19:56:46 +0000 (14:56 -0500)
committerDavid Allan <dallan@redhat.com>
Fri, 19 Mar 2010 18:31:48 +0000 (14:31 -0400)
include/libvirt/libvirt.h.in
src/libvirt_public.syms

index 0d1b5b5aca71a075bb000dd2cd29aa6bfd616854..1430a959ed861b5c68891973867da31055be4d6f 100644 (file)
@@ -1224,6 +1224,8 @@ virStorageVolPtr        virStorageVolCreateXMLFrom      (virStoragePoolPtr pool,
                                                          unsigned int flags);
 int                     virStorageVolDelete             (virStorageVolPtr vol,
                                                          unsigned int flags);
+int                     virStorageVolWipe               (virStorageVolPtr vol,
+                                                         unsigned int flags);
 int                     virStorageVolRef                (virStorageVolPtr vol);
 int                     virStorageVolFree               (virStorageVolPtr vol);
 
index 64e75051727982da7507cbbcf4018bd4282ad42a..8c72ec61427957b87272d43b35f3c1f3f6f00175 100644 (file)
@@ -358,4 +358,9 @@ LIBVIRT_0.7.7 {
        virDomainAbortJob;
 } LIBVIRT_0.7.5;
 
+LIBVIRT_0.7.8 {
+    global:
+       virStorageVolWipe;
+} LIBVIRT_0.7.7;
+
 # .... define new API here using predicted next version number ....