1 #ifndef __COPYFILE_H 2 #define __COPYFILE_H 3 4 #define COPY_NOERR 0 5 #define COPY_NOTEXIST -1 6 #define COPY_OTHER -2 7 8 extern int copyfile_no_api; /* prevent usage of OS copy API */ 9 int copyfile(const char *cpDest, const char *cpSource); 10 #define BUFLEN 65536 11 12 #endif 13 14 15