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

/external/e2fsprogs/ext2ed/
H A Dinit.c165 free_user_commands (&ptr->type_commands);
205 ptr->type_commands.last_command=-1;
274 add_user_command (&ptr->type_commands,"show","Shows file data",type_file___show);
275 add_user_command (&ptr->type_commands,"inode","Returns to the inode of the current file",type_file___inode);
276 add_user_command (&ptr->type_commands,"display","Specifies data format - text or hex",type_file___display);
277 add_user_command (&ptr->type_commands,"next","Pass to next byte",type_file___next);
278 add_user_command (&ptr->type_commands,"prev","Pass to the previous byte",type_file___prev);
279 add_user_command (&ptr->type_commands,"offset","Pass to a specified byte in the current block",type_file___offset);
280 add_user_command (&ptr->type_commands,"nextblock","Pass to next file block",type_file___nextblock);
281 add_user_command (&ptr->type_commands,"prevbloc
[all...]
H A Dmain.c373 i<=current_type->type_commands.last_command && !found;
375 if (strcasecmp (command,current_type->type_commands.names [i])==0) {
376 (*current_type->type_commands.callback [i]) (command_line);
473 for (i=0;i<=current_type->type_commands.last_command;i++) {
474 if (strncmp (current_type->type_commands.names [i],text,len)==0) {
477 return (dupstr (current_type->type_commands.names [i]));
H A Dgeneral_com.c46 if (current_type->type_commands.last_command==-1) {
50 for (i=0;i<=current_type->type_commands.last_command;i++) {
54 wprintw (show_pad,"%-13s",current_type->type_commands.names [i]);
116 for (i=0;i<=current_type->type_commands.last_command;i++) {
117 if (strcmp (current_type->type_commands.names [i],text)==0) {
118 wprintw (show_pad,"%s - %s\n",text,current_type->type_commands.descriptions [i]);
H A Dext2ed.h95 struct struct_commands type_commands; member in struct:struct_descriptor

Completed in 158 milliseconds