Home
last modified time | relevance | path

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

/external/e2fsprogs/ext2ed/
Dinit.c166 free_user_commands (&ptr->type_commands); in free_struct_descriptors()
206 ptr->type_commands.last_command=-1; in add_new_descriptor()
275 add_user_command (&ptr->type_commands,"show","Shows file data",type_file___show); in fill_type_commands()
276 …add_user_command (&ptr->type_commands,"inode","Returns to the inode of the current file",type_file… in fill_type_commands()
277 …add_user_command (&ptr->type_commands,"display","Specifies data format - text or hex",type_file___… in fill_type_commands()
278 add_user_command (&ptr->type_commands,"next","Pass to next byte",type_file___next); in fill_type_commands()
279 add_user_command (&ptr->type_commands,"prev","Pass to the previous byte",type_file___prev); in fill_type_commands()
280 …add_user_command (&ptr->type_commands,"offset","Pass to a specified byte in the current block",typ… in fill_type_commands()
281 …add_user_command (&ptr->type_commands,"nextblock","Pass to next file block",type_file___nextblock); in fill_type_commands()
282 …add_user_command (&ptr->type_commands,"prevblock","Pass to the previous file block",type_file___pr… in fill_type_commands()
[all …]
Dmain.c374 i<=current_type->type_commands.last_command && !found; in dispatch()
376 if (strcasecmp (command,current_type->type_commands.names [i])==0) { in dispatch()
377 (*current_type->type_commands.callback [i]) (command_line); in dispatch()
474 for (i=0;i<=current_type->type_commands.last_command;i++) { in complete_command()
475 if (strncmp (current_type->type_commands.names [i],text,len)==0) { in complete_command()
478 return (dupstr (current_type->type_commands.names [i])); in complete_command()
Dgeneral_com.c47 if (current_type->type_commands.last_command==-1) { in help()
51 for (i=0;i<=current_type->type_commands.last_command;i++) { in help()
55 wprintw (show_pad,"%-13s",current_type->type_commands.names [i]); in help()
117 for (i=0;i<=current_type->type_commands.last_command;i++) { in detailed_help()
118 if (strcmp (current_type->type_commands.names [i],text)==0) { in detailed_help()
119 wprintw (show_pad,"%s - %s\n",text,current_type->type_commands.descriptions [i]); in detailed_help()
Dext2ed.h95 struct struct_commands type_commands; member