e2p.h revision 1e3472c5f37ca3686dd69b079d4d02a302f5798d
150e1e10fa0ac12a3e2a9d20a75ee9041873cda96Theodore Ts'o#include <sys/types.h>		/* Needed by dirent.h on netbsd */
23839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o#include <stdio.h>
350e1e10fa0ac12a3e2a9d20a75ee9041873cda96Theodore Ts'o#include <dirent.h>
43839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o
53839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o#include <linux/ext2_fs.h>
63839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o
73839e65723771b85975f4263102dd3ceec4523cTheodore Ts'oint fgetflags (const char * name, unsigned long * flags);
83839e65723771b85975f4263102dd3ceec4523cTheodore Ts'oint fgetversion (const char * name, unsigned long * version);
93839e65723771b85975f4263102dd3ceec4523cTheodore Ts'oint fsetflags (const char * name, unsigned long flags);
103839e65723771b85975f4263102dd3ceec4523cTheodore Ts'oint fsetversion (const char * name, unsigned long version);
113839e65723771b85975f4263102dd3ceec4523cTheodore Ts'oint getflags (int fd, unsigned long * flags);
123839e65723771b85975f4263102dd3ceec4523cTheodore Ts'oint getversion (int fd, unsigned long * version);
133839e65723771b85975f4263102dd3ceec4523cTheodore Ts'oint iterate_on_dir (const char * dir_name,
143839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o		    int (*func) (const char *, struct dirent *, void *),
153839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o		    void * private);
163839e65723771b85975f4263102dd3ceec4523cTheodore Ts'ovoid list_super (struct ext2_super_block * s);
173839e65723771b85975f4263102dd3ceec4523cTheodore Ts'ovoid print_fs_errors (FILE * f, unsigned short errors);
18f3db3566b5e1342e49dffc5ec3f418a838584194Theodore Ts'ovoid print_flags (FILE * f, unsigned long flags, int long_format);
193839e65723771b85975f4263102dd3ceec4523cTheodore Ts'ovoid print_fs_state (FILE * f, unsigned short state);
203839e65723771b85975f4263102dd3ceec4523cTheodore Ts'oint setflags (int fd, unsigned long flags);
213839e65723771b85975f4263102dd3ceec4523cTheodore Ts'oint setversion (int fd, unsigned long version);
221e3472c5f37ca3686dd69b079d4d02a302f5798dTheodore Ts'o
231e3472c5f37ca3686dd69b079d4d02a302f5798dTheodore Ts'oint e2p_is_null_uuid(void *uu);
241e3472c5f37ca3686dd69b079d4d02a302f5798dTheodore Ts'ovoid e2p_uuid_to_str(void *uu, char *out);
25