summaryrefslogtreecommitdiff
path: root/src/shared/copy.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-12 03:15:58 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-12 13:35:32 +0100
commitd7c7c334f56edab8cfc102b657366277a65738cf (patch)
tree1f979d8cf1fb749c82522a004dc838bba729184b /src/shared/copy.h
parent700c6087eb58de7af510f747414ea97b07e08b2b (diff)
shared: add new btrfs-util.[ch] helpers for doing common btrfs operation
Diffstat (limited to 'src/shared/copy.h')
-rw-r--r--src/shared/copy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/copy.h b/src/shared/copy.h
index 62932112af..15faf548a1 100644
--- a/src/shared/copy.h
+++ b/src/shared/copy.h
@@ -27,4 +27,5 @@
int copy_file_fd(const char *from, int to);
int copy_file(const char *from, const char *to, int flags, mode_t mode);
int copy_tree(const char *from, const char *to, bool merge);
+int copy_tree_fd(int dirfd, const char *to, bool merge);
int copy_bytes(int fdf, int fdt, off_t max_bytes);