Tor 0.4.9.8
Loading...
Searching...
No Matches
control_cmd.h File Reference

Header file for control_cmd.c. More...

Go to the source code of this file.

Data Structures

struct  control_cmd_syntax_t
 

Macros

#define control_cmd_args_free(v)
 

Functions

int handle_control_command (control_connection_t *conn, uint32_t cmd_data_len, char *args)
 
void control_cmd_free_all (void)
 
void control_cmd_args_free_ (control_cmd_args_t *args)
 
void control_cmd_args_wipe (control_cmd_args_t *args)
 

Detailed Description

Header file for control_cmd.c.

Definition in file control_cmd.h.

Macro Definition Documentation

◆ control_cmd_args_free

#define control_cmd_args_free ( v)
Value:
void control_cmd_args_free_(control_cmd_args_t *args)
Definition control_cmd.c:70

Definition at line 26 of file control_cmd.h.

Function Documentation

◆ control_cmd_args_free_()

void control_cmd_args_free_ ( control_cmd_args_t * args)

Release all storage held in args

Definition at line 70 of file control_cmd.c.

◆ control_cmd_args_wipe()

void control_cmd_args_wipe ( control_cmd_args_t * args)

Erase all memory held in args.

Definition at line 87 of file control_cmd.c.

Referenced by handle_single_control_command().

◆ control_cmd_free_all()

void control_cmd_free_all ( void )

Definition at line 2276 of file control_cmd.c.

◆ handle_control_command()

int handle_control_command ( control_connection_t * conn,
uint32_t cmd_data_len,
char * args )

Run a given controller command, as selected by the current_cmd field of conn.

Definition at line 2254 of file control_cmd.c.

Referenced by connection_control_process_inbuf().