Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/e2p
File: e2p.h
/*
[0] Fix | Delete
* e2p.h --- header file for the e2p library
[1] Fix | Delete
*
[2] Fix | Delete
* %Begin-Header%
[3] Fix | Delete
* This file may be redistributed under the terms of the GNU Library
[4] Fix | Delete
* General Public License, version 2.
[5] Fix | Delete
* %End-Header%
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
#include <sys/types.h> /* Needed by dirent.h on netbsd */
[9] Fix | Delete
#include <stdio.h>
[10] Fix | Delete
#include <dirent.h>
[11] Fix | Delete
[12] Fix | Delete
#include <ext2fs/ext2_fs.h>
[13] Fix | Delete
[14] Fix | Delete
#define E2P_FEATURE_COMPAT 0
[15] Fix | Delete
#define E2P_FEATURE_INCOMPAT 1
[16] Fix | Delete
#define E2P_FEATURE_RO_INCOMPAT 2
[17] Fix | Delete
#define E2P_FEATURE_TYPE_MASK 0x03
[18] Fix | Delete
[19] Fix | Delete
#define E2P_FEATURE_NEGATE_FLAG 0x80
[20] Fix | Delete
[21] Fix | Delete
#define E2P_FS_FEATURE 0
[22] Fix | Delete
#define E2P_JOURNAL_FEATURE 1
[23] Fix | Delete
[24] Fix | Delete
/* `options' for print_flags() */
[25] Fix | Delete
[26] Fix | Delete
#define PFOPT_LONG 1 /* Must be 1 for compatibility with `int long_format'. */
[27] Fix | Delete
[28] Fix | Delete
[29] Fix | Delete
int fgetflags (const char * name, unsigned long * flags);
[30] Fix | Delete
int fgetversion (const char * name, unsigned long * version);
[31] Fix | Delete
int fsetflags (const char * name, unsigned long flags);
[32] Fix | Delete
int fsetversion (const char * name, unsigned long version);
[33] Fix | Delete
int fgetproject(const char *name, unsigned long *project);
[34] Fix | Delete
int fsetproject(const char *name, unsigned long project);
[35] Fix | Delete
int getflags (int fd, unsigned long * flags);
[36] Fix | Delete
int getversion (int fd, unsigned long * version);
[37] Fix | Delete
int iterate_on_dir (const char * dir_name,
[38] Fix | Delete
int (*func) (const char *, struct dirent *, void *),
[39] Fix | Delete
void * private_arg);
[40] Fix | Delete
void list_super(struct ext2_super_block * s);
[41] Fix | Delete
void list_super2(struct ext2_super_block * s, FILE *f);
[42] Fix | Delete
void print_fs_errors (FILE * f, unsigned short errors);
[43] Fix | Delete
void print_flags (FILE * f, unsigned long flags, unsigned options);
[44] Fix | Delete
void print_fs_state (FILE * f, unsigned short state);
[45] Fix | Delete
int setflags (int fd, unsigned long flags);
[46] Fix | Delete
int setversion (int fd, unsigned long version);
[47] Fix | Delete
[48] Fix | Delete
void e2p_list_journal_super(FILE *f, char *journal_sb_buf,
[49] Fix | Delete
int exp_block_size, int flags);
[50] Fix | Delete
[51] Fix | Delete
void e2p_feature_to_string(int compat, unsigned int mask, char *buf,
[52] Fix | Delete
size_t buf_len);
[53] Fix | Delete
const char *e2p_feature2string(int compat, unsigned int mask);
[54] Fix | Delete
const char *e2p_jrnl_feature2string(int compat, unsigned int mask);
[55] Fix | Delete
int e2p_string2feature(char *string, int *compat, unsigned int *mask);
[56] Fix | Delete
int e2p_jrnl_string2feature(char *string, int *compat_type, unsigned int *mask);
[57] Fix | Delete
int e2p_edit_feature(const char *str, __u32 *compat_array, __u32 *ok_array);
[58] Fix | Delete
int e2p_edit_feature2(const char *str, __u32 *compat_array, __u32 *ok_array,
[59] Fix | Delete
__u32 *clear_ok_array, int *type_err,
[60] Fix | Delete
unsigned int *mask_err);
[61] Fix | Delete
[62] Fix | Delete
int e2p_is_null_uuid(void *uu);
[63] Fix | Delete
void e2p_uuid_to_str(void *uu, char *out);
[64] Fix | Delete
const char *e2p_uuid2str(void *uu);
[65] Fix | Delete
[66] Fix | Delete
const char *e2p_hash2string(int num);
[67] Fix | Delete
int e2p_string2hash(char *string);
[68] Fix | Delete
[69] Fix | Delete
const char *e2p_mntopt2string(unsigned int mask);
[70] Fix | Delete
int e2p_string2mntopt(char *string, unsigned int *mask);
[71] Fix | Delete
int e2p_edit_mntopts(const char *str, __u32 *mntopts, __u32 ok);
[72] Fix | Delete
[73] Fix | Delete
unsigned long parse_num_blocks(const char *arg, int log_block_size);
[74] Fix | Delete
unsigned long long parse_num_blocks2(const char *arg, int log_block_size);
[75] Fix | Delete
[76] Fix | Delete
char *e2p_os2string(int os_type);
[77] Fix | Delete
int e2p_string2os(char *str);
[78] Fix | Delete
[79] Fix | Delete
unsigned int e2p_percent(int percent, unsigned int base);
[80] Fix | Delete
[81] Fix | Delete
const char *e2p_encmode2string(int num);
[82] Fix | Delete
int e2p_string2encmode(char *string);
[83] Fix | Delete
[84] Fix | Delete
int e2p_str2encoding(const char *string);
[85] Fix | Delete
const char *e2p_encoding2str(int encoding);
[86] Fix | Delete
int e2p_get_encoding_flags(int encoding);
[87] Fix | Delete
int e2p_str2encoding_flags(int encoding, char *param, __u16 *flags);
[88] Fix | Delete
[89] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function