whoops - forgot to commit header files
[reactos.git] / posix / include / cpio.h
1 /*
2 * cpio.h
3 *
4 * cpio archive values. Based on the Single UNIX(r) Specification,
5 * Version 2
6 *
7 * This file is part of the ReactOS Operating System.
8 *
9 * Contributors:
10 * Created by KJK::Hyperion <noog@libero.it>
11 *
12 * THIS SOFTWARE IS NOT COPYRIGHTED
13 *
14 * This source code is offered for use in the public domain. You may
15 * use, modify or distribute it freely.
16 *
17 * This code is distributed in the hope that it will be useful but
18 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
19 * DISCLAMED. This includes but is not limited to warranties of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21 *
22 */
23 #ifndef __CPIO_H_INCLUDED__
24 #define __CPIO_H_INCLUDED__
25
26 #ifdef __PSXDLL__
27
28 /* headers for internal usage by psxdll.dll and ReactOS */
29
30 #else /* ! __PSXDLL__ */
31
32 /* standard POSIX headers */
33
34 #endif
35
36 /* types */
37
38 /* constants */
39 #define C_IRUSR (0000400) /* read by owner */
40 #define C_IWUSR (0000200) /* write by owner */
41 #define C_IXUSR (0000100) /* execute by owner */
42 #define C_IRGRP (0000040) /* read by group */
43 #define C_IWGRP (0000020) /* write by group */
44 #define C_IXGRP (0000010) /* execute by group */
45 #define C_IROTH (0000004) /* read by others */
46 #define C_IWOTH (0000002) /* write by others */
47 #define C_IXOTH (0000001) /* execute by others */
48 #define C_ISUID (0004000) /* set user ID */
49 #define C_ISGID (0002000) /* set group ID */
50 #define C_ISVTX (0001000) /* on directories, restricted deletion flag */
51 #define C_ISDIR (0040000) /* directory */
52 #define C_ISFIFO (0010000) /* FIFO */
53 #define C_ISREG (0100000) /* regular file */
54 #define C_ISBLK (0060000) /* block special */
55 #define C_ISCHR (0020000) /* character special */
56 #define C_ISCTG (0110000) /* reserved */
57 #define C_ISLNK (0120000) /* symbolic link */
58 #define C_ISSOCK (0140000) /* socket */
59
60 #define MAGIC "070707"
61
62 /* prototypes */
63
64 /* macros */
65
66 #endif /* __CPIO_H_INCLUDED__ */
67
68 /* EOF */
69