Home
last modified time | relevance | path

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

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