OpenOCD
command_invocation Struct Reference

When run_command is called, a new instance will be created on the stack, filled with the proper values, and passed by reference to the required COMMAND_HANDLER routine. More...

Collaboration diagram for command_invocation:

Data Fields

unsigned argc
 
const char ** argv
 
struct command_contextctx
 
struct commandcurrent
 
Jim_Obj *const * jimtcl_argv
 
const char * name
 
Jim_Obj * output
 

Detailed Description

When run_command is called, a new instance will be created on the stack, filled with the proper values, and passed by reference to the required COMMAND_HANDLER routine.

Definition at line 76 of file command.h.

Field Documentation

◆ argc

unsigned command_invocation::argc

Definition at line 80 of file command.h.

Referenced by exec_command().

◆ argv

const char** command_invocation::argv

Definition at line 81 of file command.h.

Referenced by exec_command().

◆ ctx

struct command_context* command_invocation::ctx

Definition at line 77 of file command.h.

◆ current

struct command* command_invocation::current

Definition at line 78 of file command.h.

◆ jimtcl_argv

Jim_Obj* const* command_invocation::jimtcl_argv

Definition at line 82 of file command.h.

◆ name

const char* command_invocation::name

Definition at line 79 of file command.h.

◆ output

Jim_Obj* command_invocation::output

Definition at line 83 of file command.h.


The documentation for this struct was generated from the following file: