53 typedef SOCKET tor_control_socket_t;
54 #define INVALID_TOR_CONTROL_SOCKET INVALID_SOCKET
56 typedef int tor_control_socket_t;
57 #define INVALID_TOR_CONTROL_SOCKET (-1)
int tor_run_main(const tor_main_configuration_t *)
tor_main_configuration_t * tor_main_configuration_new(void)
int tor_main_configuration_set_command_line(tor_main_configuration_t *cfg, int argc, char *argv[])
int tor_main(int argc, char **argv)
void tor_main_configuration_free(tor_main_configuration_t *cfg)
const char * tor_api_get_provider_version(void)
tor_control_socket_t tor_main_configuration_setup_control_socket(tor_main_configuration_t *cfg)