Home
last modified time | relevance | path

Searched refs:MainParam_t (Results 1 – 16 of 16) sorted by relevance

/external/mtools/
Dmainloop.h31 typedef struct MainParam_t { struct
33 int (*loop)(Stream_t *Dir, struct MainParam_t *mp, argument
35 int (*dirCallback)(direntry_t *, struct MainParam_t *); argument
36 int (*callback)(direntry_t *, struct MainParam_t *); argument
37 int (*unixcallback)(struct MainParam_t *mp); argument
75 } MainParam_t; argument
77 void init_mp(MainParam_t *MainParam);
78 int main_loop(MainParam_t *MainParam, char **argv, int argc);
80 int target_lookup(MainParam_t *mp, const char *arg);
84 const char *mpGetBasename(MainParam_t *mp); /* statically allocated
[all …]
Dmainloop.c88 int unix_dir_loop(Stream_t *Stream, MainParam_t *mp);
89 int unix_loop(Stream_t *Stream UNUSEDP, MainParam_t *mp, char *arg,
92 static int _unix_loop(Stream_t *Dir, MainParam_t *mp, in _unix_loop()
98 int unix_loop(Stream_t *Stream UNUSEDP, MainParam_t *mp, in unix_loop()
206 static int handle_leaf(direntry_t *direntry, MainParam_t *mp, in handle_leaf()
249 static int _dos_loop(Stream_t *Dir, MainParam_t *mp, const char *filename) in _dos_loop()
293 static int recurs_dos_loop(MainParam_t *mp, const char *filename0, in recurs_dos_loop()
424 static int common_dos_loop(MainParam_t *mp, const char *pathname, in common_dos_loop()
467 static int dos_loop(MainParam_t *mp, const char *arg) in dos_loop()
473 static int dos_target_lookup(MainParam_t *mp, const char *arg) in dos_target_lookup()
[all …]
Dmattrib.c30 struct MainParam_t mp;
35 static int attrib_file(direntry_t *entry, MainParam_t *mp) in attrib_file()
47 static int replay_attrib(direntry_t *entry, MainParam_t *mp UNUSEDP) in replay_attrib()
79 static int view_attrib(direntry_t *entry, MainParam_t *mp UNUSEDP) in view_attrib()
106 static int concise_view_attrib(direntry_t *entry, MainParam_t *mp) in concise_view_attrib()
128 static int recursive_attrib(direntry_t *entry, MainParam_t *mp) in recursive_attrib()
Dmcopy.c74 MainParam_t mp;
79 static int _unix_write(MainParam_t *mp, int needfilter, const char *unixFile);
82 static int unix_write(MainParam_t *mp, int needfilter) in unix_write()
103 static int _unix_write(MainParam_t *mp, int needfilter, const char *unixFile) in _unix_write()
215 static int unix_copydir(direntry_t *entry, MainParam_t *mp) in unix_copydir()
264 static int dos_to_unix(direntry_t *entry UNUSEDP, MainParam_t *mp) in dos_to_unix()
270 static int unix_to_unix(MainParam_t *mp) in unix_to_unix()
276 static int directory_dos_to_unix(direntry_t *entry, MainParam_t *mp) in directory_dos_to_unix()
362 static int dos_write(direntry_t *entry, MainParam_t *mp, int needfilter) in dos_write()
405 static int dos_copydir(direntry_t *entry, MainParam_t *mp) in dos_copydir()
[all …]
Dmshowfat.c34 MainParam_t mp;
38 static int dos_showfat(direntry_t *entry, MainParam_t *mp) in dos_showfat()
53 static int unix_showfat(MainParam_t *mp UNUSEDP) in unix_showfat()
Dmdel.c58 static int del_entry(direntry_t *entry, MainParam_t *mp) in del_entry()
90 static int del_file(direntry_t *entry, MainParam_t *mp) in del_file()
96 MainParam_t sonmp; in del_file()
157 MainParam_t mp; in mdel()
Dmdir.c353 static int list_file(direntry_t *entry, MainParam_t *mp UNUSEDP) in list_file()
461 static int list_non_recurs_directory(direntry_t *entry, MainParam_t *mp) in list_non_recurs_directory()
472 MainParam_t subMp; in list_non_recurs_directory()
486 MainParam_t *mp UNUSEDP) in list_recurs_directory()
488 MainParam_t subMp; in list_recurs_directory()
506 static int test_directory(direntry_t *entry, MainParam_t *mp)
539 MainParam_t mp; in mdir()
Dunixdir.c85 int unix_dir_loop(Stream_t *Stream, MainParam_t *mp);
86 int unix_loop(Stream_t *Stream, MainParam_t *mp, char *arg,
89 int unix_dir_loop(Stream_t *Stream, MainParam_t *mp) in unix_dir_loop()
Dmdu.c39 MainParam_t mp;
52 static int file_mdu(direntry_t *entry, MainParam_t *mp) in file_mdu()
67 static int dir_mdu(direntry_t *entry, MainParam_t *mp) in dir_mdu()
Dmcd.c27 static int mcd_callback(direntry_t *entry, MainParam_t *mp UNUSEDP) in mcd_callback()
46 struct MainParam_t mp; in mcd()
Dmshortname.c26 static int print_short_name(direntry_t *entry, MainParam_t *mp UNUSEDP) in print_short_name()
48 struct MainParam_t mp; in mshortname()
Dmdoctorfat.c34 MainParam_t mp;
44 static int dos_doctorfat(direntry_t *entry, MainParam_t *mp) in dos_doctorfat()
61 static int unix_doctorfat(MainParam_t *mp UNUSEDP) in unix_doctorfat()
Dmmove.c40 MainParam_t mp;
121 static int rename_file(direntry_t *entry, MainParam_t *mp) in rename_file()
154 static int rename_directory(direntry_t *entry, MainParam_t *mp) in rename_directory()
181 static int rename_oldsyntax(direntry_t *entry, MainParam_t *mp) in rename_oldsyntax()
Dmmd.c39 MainParam_t mp;
138 static int createDirCallback(direntry_t *entry UNUSEDP, MainParam_t *mp) in createDirCallback()
Dmbadblocks.c118 struct MainParam_t mp; in mbadblocks()
Dmlabel.c117 struct MainParam_t mp; in mlabel()