aboutsummaryrefslogtreecommitdiff
path: root/include/copy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/copy.h')
-rw-r--r--include/copy.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/copy.h b/include/copy.h
new file mode 100644
index 0000000..81e543a
--- /dev/null
+++ b/include/copy.h
@@ -0,0 +1,12 @@
+#ifndef __COPY_H
+#define __COPY_H
+
+#include <ftw.h>
+#include <sys/stat.h>
+
+int copy_recursively(const char *fpath,
+ const struct stat *sb,
+ int typeflag,
+ struct FTW *ftwbuf);
+
+#endif