1 // 2 // filecopy.h 3 // 4 // Copies files from one file to another. 5 // Contains both Unix & Native Win32 Implementations 6 // 7 // Part of the ht://Dig package <http://www.htdig.org/> 8 // Copyright (c) 2003 The ht://Dig Group 9 // For copyright details, see the file COPYING in your distribution 10 // or the GNU Library General Public License (LGPL) version 2 or later or later 11 // <http://www.gnu.org/copyleft/lgpl.html> 12 // 13 // Copyright (c) 2002 RightNow Technologies, Inc. 14 // Donated to The ht://Dig Group under LGPL License 15 16 #ifdef __cplusplus 17 //extern "C" { 18 #endif 19 20 #ifndef FILECOPY_H 21 22 #ifndef FALSE 23 #define FALSE 0 24 #endif 25 26 #ifndef TRUE 27 #define TRUE 1 28 #endif 29 30 #define FILECOPY_OVERWRITE_ON 1 31 #define FILECOPY_OVERWRITE_OFF 2 32 33 int file_copy (char * from, char * to, char flags); 34 35 36 #ifdef __cplusplus 37 //} 38 #endif 39 40 #endif /* FILECOPY_H */ 41