|
Tor 0.4.9.3-alpha-dev
|
Header file for control_cmd.c. More...
#include "lib/malloc/malloc.h"Go to the source code of this file.
Data Structures | |
| struct | control_cmd_syntax_t |
Macros | |
| #define | control_cmd_args_free(v) FREE_AND_NULL(control_cmd_args_t, 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) |
Header file for control_cmd.c.
Definition in file control_cmd.h.
| #define control_cmd_args_free | ( | v | ) | FREE_AND_NULL(control_cmd_args_t, control_cmd_args_free_, (v)) |
Definition at line 26 of file control_cmd.h.
| 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.
| 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().
| void control_cmd_free_all | ( | void | ) |
Definition at line 2276 of file control_cmd.c.
| 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().