summaryrefslogtreecommitdiffstats
path: root/debian/htdig/htdig-3.2.0b6/htlib/filecopy.h
blob: c888e7201e6c129db14a7e1d80fa316348994888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// filecopy.h
//
//  Copies files from one file to another.
//  Contains both Unix & Native Win32 Implementations
//
// Part of the ht://Dig package   <http://www.htdig.org/>
// Copyright (c) 2003 The ht://Dig Group
// For copyright details, see the file COPYING in your distribution
// or the GNU Library General Public License (LGPL) version 2 or later or later
// <http://www.gnu.org/copyleft/lgpl.html>
// 
// Copyright (c) 2002 RightNow Technologies, Inc.
// Donated to The ht://Dig Group under LGPL License

#ifdef __cplusplus
//extern "C" {
#endif

#ifndef FILECOPY_H

#ifndef FALSE
#define FALSE       0
#endif

#ifndef TRUE
#define TRUE        1
#endif

#define FILECOPY_OVERWRITE_ON 1 
#define FILECOPY_OVERWRITE_OFF 2

int file_copy (char * from, char * to, char flags);


#ifdef __cplusplus
//}
#endif

#endif /* FILECOPY_H  */