1.1 --- a/libext2fs/include/libe2p/e2p/e2p.h Sat Oct 02 23:57:02 2021 +0200
1.2 +++ b/libext2fs/include/libe2p/e2p/e2p.h Sat Oct 09 23:28:01 2021 +0200
1.3 @@ -47,9 +47,12 @@
1.4 int setflags (int fd, unsigned long flags);
1.5 int setversion (int fd, unsigned long version);
1.6
1.7 +#define E2P_LIST_JOURNAL_FLAG_FC 0x1
1.8 void e2p_list_journal_super(FILE *f, char *journal_sb_buf,
1.9 int exp_block_size, int flags);
1.10
1.11 +void e2p_feature_to_string(int compat, unsigned int mask, char *buf,
1.12 + size_t buf_len);
1.13 const char *e2p_feature2string(int compat, unsigned int mask);
1.14 const char *e2p_jrnl_feature2string(int compat, unsigned int mask);
1.15 int e2p_string2feature(char *string, int *compat, unsigned int *mask);
1.16 @@ -80,3 +83,10 @@
1.17
1.18 const char *e2p_encmode2string(int num);
1.19 int e2p_string2encmode(char *string);
1.20 +
1.21 +int e2p_str2encoding(const char *string);
1.22 +const char *e2p_encoding2str(int encoding);
1.23 +int e2p_get_encoding_flags(int encoding);
1.24 +int e2p_str2encoding_flags(int encoding, char *param, __u16 *flags);
1.25 +
1.26 +const char *e2p_errcode2str(int err);