1/* vi: set sw=4 ts=4: */ 2/* 3 * See README for additional information 4 * 5 * This file can be redistributed under the terms of the GNU Library General 6 * Public License 7 */ 8 9/* Constants and structures */ 10#include "bb_e2fs_defs.h" 11 12PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN 13 14/* Print file attributes on an ext2 file system */ 15void print_e2flags_long(unsigned flags); 16void print_e2flags(unsigned flags); 17 18extern const uint32_t e2attr_flags_value[]; 19extern const char e2attr_flags_sname[]; 20 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]) 26#else 27#define e2attr_flags_value_chattr (&e2attr_flags_value[1]) 28#define e2attr_flags_sname_chattr (&e2attr_flags_sname[1]) 29#endif 30 31POP_SAVED_FUNCTION_VISIBILITY 32