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

/external/e2fsprogs/ext2ed/
H A Dinit.c42 free_user_commands (&general_commands);
57 general_commands.last_command=-1; /* No commands whatsoever meanwhile */
79 add_user_command (&general_commands,"help","EXT2ED help system",help);
80 add_user_command (&general_commands,"set","Changes a variable in the current object",set);
81 add_user_command (&general_commands,"setdevice","Selects the filesystem block device (e.g. /dev/hda1)",set_device);
82 add_user_command (&general_commands,"setoffset","Moves asynchronicly in the filesystem",set_offset);
83 add_user_command (&general_commands,"settype","Tells EXT2ED how to interpert the current object",set_type);
84 add_user_command (&general_commands,"show","Displays the current object",show);
85 add_user_command (&general_commands,"pgup","Scrolls data one page up",pgup);
86 add_user_command (&general_commands,"pgd
[all...]
H A Dmain.c77 struct struct_commands general_commands,ext2_commands; /* Used to define the general and ext2 commands */ variable in typeref:struct:struct_commands
340 * general_commands.
395 for (i=0;i<=general_commands.last_command && !found;i++) {
396 if (strcasecmp (command,general_commands.names [i])==0) {
397 (*general_commands.callback [i]) (command_line);
495 for (i=0;i<=general_commands.last_command;i++) {
496 if (strncmp (general_commands.names [i],text,len)==0) {
499 return (dupstr (general_commands.names [i]));
H A Dgeneral_com.c78 for (i=0;i<=general_commands.last_command;i++) {
82 wprintw (show_pad,"%-13s",general_commands.names [i]);
130 for (i=0;i<=general_commands.last_command;i++) {
131 if (strcmp (general_commands.names [i],text)==0) {
132 wprintw (show_pad,"%s - %s\n",text,general_commands.descriptions [i]);
H A Dext2ed.h205 extern struct struct_commands general_commands;

Completed in 83 milliseconds