Magellan Linux

Diff of /tags/mkinitrd-6_2_0/e2fsprogs/e2fs_lib.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 532 by niro, Sat Sep 1 22:45:15 2007 UTC revision 816 by niro, Fri Apr 24 18:33:46 2009 UTC
# Line 9  Line 9 
9  /* Constants and structures */  /* Constants and structures */
10  #include "e2fs_defs.h"  #include "e2fs_defs.h"
11    
12    #if __GNUC_PREREQ(4,1)
13    # pragma GCC visibility push(hidden)
14    #endif
15    
16  /* Iterate a function on each entry of a directory */  /* Iterate a function on each entry of a directory */
17  int iterate_on_dir(const char *dir_name,  int iterate_on_dir(const char *dir_name,
18   int (*func)(const char *, struct dirent *, void *),   int (*func)(const char *, struct dirent *, void *),
# Line 27  int fgetsetflags(const char *name, unsig Line 31  int fgetsetflags(const char *name, unsig
31  /* Must be 1 for compatibility with `int long_format'. */  /* Must be 1 for compatibility with `int long_format'. */
32  #define PFOPT_LONG  1  #define PFOPT_LONG  1
33  /* Print file attributes on an ext2 file system */  /* Print file attributes on an ext2 file system */
34  void print_flags(FILE *f, unsigned long flags, unsigned options);  void print_e2flags(FILE *f, unsigned long flags, unsigned options);
35    
36    extern const uint32_t e2attr_flags_value[];
37    extern const char e2attr_flags_sname[];
38    
39    /* If you plan to ENABLE_COMPRESSION, see e2fs_lib.c and chattr.c - */
40    /* make sure that chattr doesn't accept bad options! */
41    #ifdef ENABLE_COMPRESSION
42    #define e2attr_flags_value_chattr (&e2attr_flags_value[5])
43    #define e2attr_flags_sname_chattr (&e2attr_flags_sname[5])
44    #else
45    #define e2attr_flags_value_chattr (&e2attr_flags_value[1])
46    #define e2attr_flags_sname_chattr (&e2attr_flags_sname[1])
47    #endif
48    
49    #if __GNUC_PREREQ(4,1)
50    # pragma GCC visibility pop
51    #endif

Legend:
Removed from v.532  
changed lines
  Added in v.816