Tor 0.4.9.0-alpha-dev
Data Fields
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

struct smartlist_t* args

◆ cmddata

char* cmddata

A multiline object passed with this command.

Definition at line 45 of file control_cmd_args_st.h.

Referenced by control_cmd_args_wipe(), handle_control_hspost(), handle_control_loadconf(), and handle_control_postdescriptor().

◆ 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().

◆ 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.

◆ kwargs

struct config_line_t* 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.


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