diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-23 01:45:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-23 01:45:08 +0000 |
commit | 3b59821cbdc63ad3acb920095cae1b866e28bcb7 (patch) | |
tree | 3f352a7a58e597b36b7a9154b6a32b098d6ccbb6 /util-linux/e2p/e2p.h | |
parent | 0ea3a6f660d890368d22fc7d3543487f825b2f1b (diff) | |
download | busybox-3b59821cbdc63ad3acb920095cae1b866e28bcb7.tar.gz |
remove lsattr/chattr to prepare for a top level e2fsprogs dir with more stuff in it
Diffstat (limited to 'util-linux/e2p/e2p.h')
-rw-r--r-- | util-linux/e2p/e2p.h | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/util-linux/e2p/e2p.h b/util-linux/e2p/e2p.h deleted file mode 100644 index 40c9fa25a..000000000 --- a/util-linux/e2p/e2p.h +++ /dev/null @@ -1,52 +0,0 @@ -#include <sys/types.h> /* Needed by dirent.h on netbsd */ -#include <stdio.h> -#include <dirent.h> - -#include "../ext2_fs.h" - -#define E2P_FEATURE_COMPAT 0 -#define E2P_FEATURE_INCOMPAT 1 -#define E2P_FEATURE_RO_INCOMPAT 2 - - -/* `options' for print_flags() */ - -#define PFOPT_LONG 1 /* Must be 1 for compatibility with `int long_format'. */ - - -int fgetflags (const char * name, unsigned long * flags); -int fgetversion (const char * name, unsigned long * version); -int fsetflags (const char * name, unsigned long flags); -int fsetversion (const char * name, unsigned long version); -int getflags (int fd, unsigned long * flags); -int getversion (int fd, unsigned long * version); -int iterate_on_dir (const char * dir_name, - int (*func) (const char *, struct dirent *, void *), - void * private); -void list_super(struct ext2_super_block * s); -void list_super2(struct ext2_super_block * s, FILE *f); -void print_fs_errors (FILE * f, unsigned short errors); -void print_flags (FILE * f, unsigned long flags, unsigned options); -void print_fs_state (FILE * f, unsigned short state); -int setflags (int fd, unsigned long flags); -int setversion (int fd, unsigned long version); - -const char *e2p_feature2string(int compat, unsigned int mask); -int e2p_string2feature(char *string, int *compat, unsigned int *mask); -int e2p_edit_feature(const char *str, __u32 *compat_array, __u32 *ok_array); - -int e2p_is_null_uuid(void *uu); -void e2p_uuid_to_str(void *uu, char *out); -const char *e2p_uuid2str(void *uu); - -const char *e2p_hash2string(int num); -int e2p_string2hash(char *string); - -const char *e2p_mntopt2string(unsigned int mask); -int e2p_string2mntopt(char *string, unsigned int *mask); -int e2p_edit_mntopts(const char *str, __u32 *mntopts, __u32 ok); - -unsigned long parse_num_blocks(const char *arg, int log_block_size); - -char *e2p_os2string(int os_type); -int e2p_string2os(char *str); |