Jim_ParseSubCmd() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

Jim_ParseSubCmd() function

Looks up the appropriate subcommand in the given command table and return the command function which implements the subcommand. NULL will be returned and an appropriate error will be set if the subcommand or arguments are invalid. Typical usage is: { const jim_subcmd_type *ct = Jim_ParseSubCmd(interp, command_table, argc, argv); return Jim_CallSubCmd(interp, ct, argc, argv); }

Syntax

const jim_subcmd_type * Jim_ParseSubCmd(Jim_Interp *interp,     const jim_subcmd_type *command_table,     int argc,     Jim_Obj *const *argv);
Implemented in jim-subcmd.c:104

Arguments

interp

command_table

argc

argv

Call Tree

Data read by Jim_ParseSubCmd()
Data written by Jim_ParseSubCmd()
Jim_ParseSubCmd()
Jim_ParseSubCmd()::ct
Jim_ParseSubCmd()::partial
Jim_ParseSubCmd()::cmd
Jim_ParseSubCmd()::cmdstr
Jim_ParseSubCmd()::help
all items filtered out
Type of Jim_ParseSubCmd()
Jim_ParseSubCmd()