27 return options->DirPort_set ||
37 return (options->ORPort_set);
Header file for config.c.
Master header file for Tor-specific functionality.
int router_has_bandwidth_to_be_dirserver(const or_options_t *options)
Header file for router.c.
int public_server_mode(const or_options_t *options)
static int server_is_advertised
int advertised_server_mode(void)
int dir_server_mode(const or_options_t *options)
int server_mode(const or_options_t *options)
void set_server_advertised(int s)
Header file for routermode.c.
#define MOCK_IMPL(rv, funcname, arglist)