Go to the documentation of this file.
12 #ifndef TOR_CONTROL_CMD_H
13 #define TOR_CONTROL_CMD_H
18 uint32_t cmd_data_len,
20 void control_cmd_free_all(
void);
26 #define control_cmd_args_free(v) \
27 FREE_AND_NULL(control_cmd_args_t, control_cmd_args_free_, (v))
77 #ifdef CONTROL_CMD_PRIVATE
83 typedef union add_onion_secret_key_t {
88 } add_onion_secret_key_t;
91 const char **key_new_alg_out,
92 char **key_new_blob_out,
93 add_onion_secret_key_t *decoded_key,
109 #ifdef CONTROL_MODULE_PRIVATE
STATIC rend_authorized_client_t * add_onion_helper_clientauth(const char *arg, int *created, control_connection_t *conn)
STATIC int add_onion_helper_keyarg(const char *arg, int discard_pk, const char **key_new_alg_out, char **key_new_blob_out, add_onion_secret_key_t *decoded_key, int *hs_version, control_connection_t *conn)
smartlist_t * get_detached_onion_services(void)
int handle_control_command(control_connection_t *conn, uint32_t cmd_data_len, char *args)
void control_cmd_args_free_(control_cmd_args_t *args)
struct smartlist_t * args
Headers for util_malloc.c.
tor_cmdline_mode_t command
void control_cmd_args_wipe(control_cmd_args_t *args)
STATIC control_cmd_args_t * control_cmd_parse_args(const char *command, const control_cmd_syntax_t *syntax, size_t body_len, const char *body, char **error_out)
Header for crypto_ed25519.c.
const char ** allowed_keywords