proof of concept

This commit is contained in:
Marc
2022-09-11 12:19:46 +02:00
commit ef8776b6b1
18 changed files with 1396 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#include <stdbool.h>
#include <sys/types.h>
#ifndef __FILE_H__
#define __FILE_H__
#define CP_LINK 1
#define CP_RECURSIVE 2
#define CP_NO_TARGET_DIR 4
int copy(const char * path, const char * dest, u_int32_t flags);
int delete(const char * path, bool recursive);
int move(const char * source, const char * destination);
#endif