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