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
84 typedef union add_onion_secret_key_t {
87 } add_onion_secret_key_t;
90 const char **key_new_alg_out,
91 char **key_new_blob_out,
92 add_onion_secret_key_t *decoded_key,
98 add_onion_secret_key_t *pk,
100 int max_streams_close_circuit,
112 #ifdef CONTROL_MODULE_PRIVATE
tor_cmdline_mode_t command
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)
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)
smartlist_t * get_detached_onion_services(void)
void control_cmd_args_free_(control_cmd_args_t *args)
void control_cmd_args_wipe(control_cmd_args_t *args)
int handle_control_command(control_connection_t *conn, uint32_t cmd_data_len, char *args)
Header for crypto_ed25519.c.
hs_service_add_ephemeral_status_t
Header file containing service data for the HS subsystem.
Headers for util_malloc.c.
struct smartlist_t * args
const char ** allowed_keywords