1 /* vi: set sw=4 ts=4: */
3 * See README for additional information
5 * This file can be redistributed under the terms of the GNU Library General
9 /* Constants and structures */
10 #include "bb_e2fs_defs.h"
12 PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
14 /* Print file attributes on an ext2 file system */
15 void print_e2flags_long(unsigned flags
);
16 void print_e2flags(unsigned flags
);
18 extern const uint32_t e2attr_flags_value
[];
19 extern const char e2attr_flags_sname
[];
21 /* If you plan to ENABLE_COMPRESSION, see e2fs_lib.c and chattr.c - */
22 /* make sure that chattr doesn't accept bad options! */
23 #ifdef ENABLE_COMPRESSION
24 #define e2attr_flags_value_chattr (&e2attr_flags_value[5])
25 #define e2attr_flags_sname_chattr (&e2attr_flags_sname[5])
27 #define e2attr_flags_value_chattr (&e2attr_flags_value[1])
28 #define e2attr_flags_sname_chattr (&e2attr_flags_sname[1])
31 POP_SAVED_FUNCTION_VISIBILITY