Tor
0.4.7.0-alpha-dev
|
Data Fields | |
const char * | name |
handler_fn_t | handler |
unsigned | flags |
const control_cmd_syntax_t * | syntax |
Definition for a controller command.
Definition at line 2053 of file control_cmd.c.
unsigned flags |
Zero or more CMD_FL_* flags, or'd together.
Definition at line 2065 of file control_cmd.c.
handler_fn_t handler |
A function to execute the command.
Definition at line 2061 of file control_cmd.c.
const char* name |
The name of the command. If the command is multiline, the name must begin with "+". This is not case-sensitive.
Definition at line 2057 of file control_cmd.c.
Referenced by handle_control_command().
const control_cmd_syntax_t* syntax |
For parsed command: a syntax description.
Definition at line 2069 of file control_cmd.c.
Referenced by handle_single_control_command().