summaryrefslogtreecommitdiff
path: root/libbtrfsutil/python/btrfsutilpy.h
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2018-01-24 12:48:59 -0800
committerDavid Sterba <dsterba@suse.com>2018-03-06 11:28:37 +0100
commitf23918016238a67b98740bdcb2509e290715977a (patch)
tree086a0297dc788c9536c934f32d43c9f990aa4486 /libbtrfsutil/python/btrfsutilpy.h
parent678da5a7f71ed7fbc887e40cc8ef91008c6fe843 (diff)
libbtrfsutil: add btrfs_util_deleted_subvolumes()
Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'libbtrfsutil/python/btrfsutilpy.h')
-rw-r--r--libbtrfsutil/python/btrfsutilpy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbtrfsutil/python/btrfsutilpy.h b/libbtrfsutil/python/btrfsutilpy.h
index 0ee6afa7..af3a6edf 100644
--- a/libbtrfsutil/python/btrfsutilpy.h
+++ b/libbtrfsutil/python/btrfsutilpy.h
@@ -54,6 +54,8 @@ struct path_arg {
int path_converter(PyObject *o, void *p);
void path_cleanup(struct path_arg *path);
+PyObject *list_from_uint64_array(const uint64_t *arr, size_t n);
+
void SetFromBtrfsUtilError(enum btrfs_util_error err);
void SetFromBtrfsUtilErrorWithPath(enum btrfs_util_error err,
struct path_arg *path);
@@ -75,6 +77,7 @@ PyObject *set_default_subvolume(PyObject *self, PyObject *args, PyObject *kwds);
PyObject *create_subvolume(PyObject *self, PyObject *args, PyObject *kwds);
PyObject *create_snapshot(PyObject *self, PyObject *args, PyObject *kwds);
PyObject *delete_subvolume(PyObject *self, PyObject *args, PyObject *kwds);
+PyObject *deleted_subvolumes(PyObject *self, PyObject *args, PyObject *kwds);
void add_module_constants(PyObject *m);