diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-10-23 21:46:01 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-11-06 10:58:55 +0100 |
commit | 9f118870096fcd4ec8e1bea6fa95ba6845cc4860 (patch) | |
tree | d016a7424020dc8e321c3921a2c3d04f443bf815 /include/libfile.h | |
parent | 3249006a2facd31a072fd2808991697b4727643e (diff) | |
download | barebox-9f118870096fcd4ec8e1bea6fa95ba6845cc4860.tar.gz |
libfile: Add copy_recursive
To recursively copy a directory tree.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/libfile.h')
-rw-r--r-- | include/libfile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libfile.h b/include/libfile.h index 6c48ce0b68..d5b914a47a 100644 --- a/include/libfile.h +++ b/include/libfile.h @@ -15,6 +15,8 @@ int write_file(const char *filename, void *buf, size_t size); int copy_file(const char *src, const char *dst, int verbose); +int copy_recursive(const char *src, const char *dst); + int compare_file(const char *f1, const char *f2); #endif /* __LIBFILE_H */ |