Home
last modified time | relevance | path

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

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