Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/e2fsprogs/e2fs_lib.h
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/e2fsprogs/e2fs_lib.h
r1765 r2725 10 10 #include "e2fs_defs.h" 11 11 12 PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN 13 12 14 /* Iterate a function on each entry of a directory */ 13 15 int iterate_on_dir(const char *dir_name, 14 int (*func)(const char *, struct dirent *, void *),16 int FAST_FUNC (*func)(const char *, struct dirent *, void *), 15 17 void *private); 16 18 … … 28 30 #define PFOPT_LONG 1 29 31 /* Print file attributes on an ext2 file system */ 30 void print_flags(FILE *f, unsigned long flags, unsigned options); 32 void print_e2flags(FILE *f, unsigned long flags, unsigned options); 33 34 extern const uint32_t e2attr_flags_value[]; 35 extern const char e2attr_flags_sname[]; 36 37 /* If you plan to ENABLE_COMPRESSION, see e2fs_lib.c and chattr.c - */ 38 /* make sure that chattr doesn't accept bad options! */ 39 #ifdef ENABLE_COMPRESSION 40 #define e2attr_flags_value_chattr (&e2attr_flags_value[5]) 41 #define e2attr_flags_sname_chattr (&e2attr_flags_sname[5]) 42 #else 43 #define e2attr_flags_value_chattr (&e2attr_flags_value[1]) 44 #define e2attr_flags_sname_chattr (&e2attr_flags_sname[1]) 45 #endif 46 47 POP_SAVED_FUNCTION_VISIBILITY
Note:
See TracChangeset
for help on using the changeset viewer.