X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Fcopy.h;h=2cc7ad1465fa19c38430c87d9e4af08ad3ec68f4;hp=f5d8a1dd882b5babab89aaa7d6acad1cf6ce3fe6;hb=2705eaf36d46539397571886ba6ccd0045ef3e9b;hpb=0d8d17b410396e92d931465768b22349aa6679e4 diff --git a/src/basic/copy.h b/src/basic/copy.h index f5d8a1dd8..2cc7ad146 100644 --- a/src/basic/copy.h +++ b/src/basic/copy.h @@ -25,12 +25,18 @@ #include #include -// UNNEEDED int copy_file_fd(const char *from, int to, bool try_reflink); -// UNNEEDED int copy_file(const char *from, const char *to, int flags, mode_t mode, unsigned chattr_flags); -// UNNEEDED int copy_file_atomic(const char *from, const char *to, mode_t mode, bool replace, unsigned chattr_flags); -// UNNEEDED int copy_tree(const char *from, const char *to, bool merge); -// UNNEEDED int copy_tree_at(int fdf, const char *from, int fdt, const char *to, bool merge); -// UNNEEDED int copy_directory_fd(int dirfd, const char *to, bool merge); +/// UNNEEDED by elogind +#if 0 +int copy_file_fd(const char *from, int to, bool try_reflink); +int copy_file(const char *from, const char *to, int flags, mode_t mode, unsigned chattr_flags); +int copy_file_atomic(const char *from, const char *to, mode_t mode, bool replace, unsigned chattr_flags); +int copy_tree(const char *from, const char *to, bool merge); +int copy_tree_at(int fdf, const char *from, int fdt, const char *to, bool merge); +int copy_directory_fd(int dirfd, const char *to, bool merge); +#endif // 0 int copy_bytes(int fdf, int fdt, uint64_t max_bytes, bool try_reflink); -// UNNEEDED int copy_times(int fdf, int fdt); -// UNNEEDED int copy_xattr(int fdf, int fdt); +/// UNNEEDED by elogind +#if 0 +int copy_times(int fdf, int fdt); +int copy_xattr(int fdf, int fdt); +#endif // 0