Searched refs:ext2_commands (Results 1 - 4 of 4) sorted by relevance

/external/e2fsprogs/ext2ed/
H A Dmain.c77 struct struct_commands general_commands,ext2_commands; /* Used to define the general and ext2 commands */ variable in typeref:struct:
342 * filesystem, accessed through ext2_commands.
384 for (i=0;i<=ext2_commands.last_command && !found;i++) {
385 if (strcasecmp (command,ext2_commands.names [i])==0) {
386 (*ext2_commands.callback [i]) (command_line);
484 for (i=0;i<=ext2_commands.last_command;i++) {
485 if (strncmp (ext2_commands.names [i],text,len)==0) {
488 return (dupstr (ext2_commands.names [i]));
H A Dgeneral_com.c62 if (ext2_commands.last_command != -1) {
64 for (i=0;i<=ext2_commands.last_command;i++) {
68 wprintw (show_pad,"%-13s",ext2_commands.names [i]);
123 for (i=0;i<=ext2_commands.last_command;i++) {
124 if (strcmp (ext2_commands.names [i],text)==0) {
125 wprintw (show_pad,"%s - %s\n",text,ext2_commands.descriptions [i]);
183 free_user_commands (&ext2_commands); /* Free filesystem specific objects */
186 free_user_commands (&ext2_commands);
H A Dinit.c43 free_user_commands (&ext2_commands);
58 ext2_commands.last_command=-1;
100 add_user_command (&ext2_commands,"super","Moves to the superblock of the filesystem",type_ext2___super);
101 add_user_command (&ext2_commands,"group","Moves to the first group descriptor",type_ext2___group);
102 add_user_command (&ext2_commands,"cd","Moves to the directory specified",type_ext2___cd);
H A Dext2ed.h206 extern struct struct_commands ext2_commands;

Completed in 110 milliseconds