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

Jim_SubCmdProc() function

Parses the args against the given command table and executes the subcommand if found or sets an appropriate error if the subcommand or arguments is invalid. Can be used directly with Jim_CreateCommand() where the ClientData is the command table. e.g. Jim_CreateCommand(interp, "mycmd", Jim_SubCmdProc, command_table, NULL);

Syntax

int Jim_SubCmdProc(Jim_Interp *interp,     int argc,     Jim_Obj *const *argv);
Implemented in jim-subcmd.c:235

Arguments

interp

argc

argv

References

LocationReferrerText
jim-subcmd.c:235
int Jim_SubCmdProc(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
jimsh0.c:19907
int Jim_SubCmdProc(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
jim-subcmd.h:59
int Jim_SubCmdProc(Jim_Interp *interp, int argc, Jim_Obj *const *argv);
jimsh0.c:960
int Jim_SubCmdProc(Jim_Interp *interp, int argc, Jim_Obj *const *argv);
jim-array.c:263Jim_arrayInit()
Jim_CreateCommand(interp, "array", Jim_SubCmdProc, (void *)array_command_table, NULL);
jim-clock.c:232Jim_clockInit()
Jim_CreateCommand(interp, "clock", Jim_SubCmdProc, (void *)clock_command_table, NULL);
jim-file.c:1123Jim_fileInit()
Jim_CreateCommand(interp, "file", Jim_SubCmdProc, (void *)file_command_table, NULL);
jim-history.c:139Jim_historyInit()
Jim_CreateCommand(interp, "history", Jim_SubCmdProc, (void *)history_command_table, NULL);
jim-package.c:260Jim_packageInit()
Jim_CreateCommand(interp, "package", Jim_SubCmdProc, (void *)package_command_table, NULL);
jimsh0.c:4384Jim_fileInit()
Jim_CreateCommand(interp, "file", Jim_SubCmdProc, (void *)file_command_table, NULL);
jimsh0.c:5817Jim_clockInit()
Jim_CreateCommand(interp, "clock", Jim_SubCmdProc, (void *)clock_command_table, NULL);
jimsh0.c:6039Jim_arrayInit()
Jim_CreateCommand(interp, "array", Jim_SubCmdProc, (void *)array_command_table, NULL);

Call Tree

Functions called by Jim_SubCmdProc()
Jim_SubCmdProc()
all items filtered out
Data read by Jim_SubCmdProc()
Data written by Jim_SubCmdProc()
Jim_SubCmdProc()
Type of Jim_SubCmdProc()
Jim_SubCmdProc()
all items filtered out