Tor 0.4.9.8
Loading...
Searching...
No Matches
control_cmd_args_t Struct Reference

#include <control_cmd_args_st.h>

Data Fields

const char * command
 
struct smartlist_targs
 
struct config_line_tkwargs
 
size_t cmddata_len
 
char * cmddata
 
const char * raw_body
 

Detailed Description

Parsed arguments for a control command.

WORK IN PROGRESS: This structure is going to get more complex as this branch goes on.

Definition at line 24 of file control_cmd_args_st.h.

Field Documentation

◆ args

◆ cmddata

char* cmddata

◆ cmddata_len

size_t cmddata_len

Number of bytes in cmddata; 0 if cmddata is not set.

Definition at line 41 of file control_cmd_args_st.h.

Referenced by control_cmd_args_wipe(), and control_cmd_parse_args().

◆ command

const char* command

The command itself, as provided by the controller. Not owned by this structure.

Definition at line 29 of file control_cmd_args_st.h.

Referenced by control_cmd_parse_args().

◆ kwargs

◆ raw_body

const char* raw_body

If set, a nul-terminated string containing the raw unparsed arguments.

Definition at line 49 of file control_cmd_args_st.h.

Referenced by control_cmd_parse_args(), handle_control_authchallenge(), and handle_control_authenticate().


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