summaryrefslogtreecommitdiff
path: root/support/dktools/dk4ft.h
blob: 3968c7de38baef10e9a10afa770f55e685041f57 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99

#ifndef DK4FT_H_INCLUDED
#define	DK4FT_H_INCLUDED 1

/**	@file	dk4ft.h	File type constants.
*/

/**	File types.
*/
enum {

  /**	File type not found.
  */
  DK4_FT_UNKNOWN		=	0,

  /**	Regular file.
  */
  DK4_FT_REGULAR,

  /**	Directory.
  */
  DK4_FT_DIRECTORY,

  /**	Character device (special file).
  */
  DK4_FT_SPECIAL_CHAR,

  /**	Pipe (first in, first out).
  */
  DK4_FT_FIFO,

  /**	Block device (special file).
  */
  DK4_FT_SPECIAL_BLOCK,

  /**	Socket.
  */
  DK4_FT_SOCKET,

  /**	Symlink (near symblink, referenced inode on same file system).
  */
  DK4_FT_SYMLINK,

  /**	Far symlink (referenced inode on another file system).
  */
  DK4_FT_FAR_SYMLINK,

  /**	Bad symblink (referenced inode not found).
  */
  DK4_FT_BAD_SYMLINK,

  /**	Door.
  */
  DK4_FT_DOOR,

  /**	Event port.
  */
  DK4_FT_EVENT_PORT,

  /**	Xenix special file.
  */
  DK4_FT_XENIX_SPECIAL,

  /**	Xenix semaphore.
  */
  DK4_FT_XENIX_SEMAPHORE,

  /**	Xenix shared data.
  */
  DK4_FT_XENIX_SHARED_DATA,

  /**	Multiplexed character device.
  */
  DK4_FT_MULTIPLEXED_CHAR,

  /**	Multiplexed block device.
  */
  DK4_FT_MULTIPLEXED_BLOCK,

  /**	VxFS compressed file.
  */
  DK4_FT_VXFS_COMPRESSED,

  /**	Network special file.
  */
  DK4_FT_NETWORK_SPECIAL,

  /**	Whiteout (not used for inode).
  */
  DK4_FT_WHITEOUT,

  /**	ACL shadow inode.
  */
  DK4_FT_ACL_SHADOW

};

#endif