summaryrefslogtreecommitdiffstats
path: root/private/os2/inc/dllcopy.h
blob: 0db2e14318e6d9b03e2900cb56c6478b1e24e232 (plain) (blame)
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
/*
 *
 * DOSCOPY.H - Header file for the OS/2 DOSCOPY API function
 *
 *	This file contains declarations and definitons for use by
 *	the DOSCOPY function, its helper functions, and the test
 *	functions.
 *
 *	NOTES:
 *
 *	1)  The contents of this file are intended for internal use only,
 *	    although it may be appropriate to export parts of it to other
 *	    header files.
 *
 *	Created Oct 88, Danny Glasser (microsoft!dannygl)
 */

/* Object types */
#define COT_FILE	1	/* Object is a file */
#define COT_DIRECTORY	2	/* Object is a directory */
#define COT_PARENT	3	/* Object does not exist but its parent does
				   (and is a directory) */
#define COT_DEVICE	4	/* Object is a character device */
#define COT_OTHER	5	/* Object is none of the above */

/* Info flags for copy_file() - FOR INTERNAL USE ONLY */
#define CFF_SOURCE_IS_FILE	    0x0001	/* Source is a file */
#define CFF_TARGET_IS_FILE	    0x0002	/* Target is a file */
#define CFF_TARGET_FILE_EXISTS	    0x0004	/* Target file already exists */

/* Various constants */
#define CURRENT_DIRECTORY	    "."	    /* Shorthand for current
					       directory */
#define PARENT_DIRECTORY	    ".."    /* Shorthand for parent
					       directory */