summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 59fb3bc..435fb2c 100644
--- a/utils.h
+++ b/utils.h
@@ -81,6 +81,11 @@ int write_file_at (int dirfd,
int write_to_fd (int fd,
const char *content,
ssize_t len);
+int copy_file_data (int sfd,
+ int dfd);
+int copy_file (const char *src_path,
+ const char *dst_path,
+ mode_t mode);
int create_file (const char *path,
mode_t mode,
const char *content);