xref: /haiku/src/add-ons/kernel/file_systems/ext2/Utility.h (revision ed24eb5ff12640d052171c6a7feba37fab8a75d1)
1 /*
2  * Copyright 2001-2009, Axel Dörfler, axeld@pinc-software.de.
3  * This file may be used under the terms of the MIT License.
4  */
5 #ifndef UTILITY_H
6 #define UTILITY_H
7 
8 #include "ext2.h"
9 
10 #include <file_systems/fs_ops_support.h>
11 
12 
13 enum inode_type {
14 	S_DIRECTORY		= S_IFDIR,
15 	S_FILE			= S_IFREG,
16 	S_SYMLINK		= S_IFLNK,
17 
18 	S_INDEX_TYPES	= (S_STR_INDEX | S_INT_INDEX | S_UINT_INDEX
19 						| S_LONG_LONG_INDEX | S_ULONG_LONG_INDEX
20 						| S_FLOAT_INDEX | S_DOUBLE_INDEX),
21 
22 	S_EXTENDED_TYPES = (S_ATTR_DIR | S_ATTR | S_INDEX_DIR)
23 };
24 
25 
26 #endif	// UTILITY_H
27