diff options
Diffstat (limited to 'src/or/config.h')
-rw-r--r-- | src/or/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/config.h b/src/or/config.h index 0f7c618861..a68a3e3113 100644 --- a/src/or/config.h +++ b/src/or/config.h @@ -22,6 +22,7 @@ const char *safe_str(const char *address); const char *escaped_safe_str_client(const char *address); const char *escaped_safe_str(const char *address); const char *get_version(void); +const char *get_short_version(void); int config_get_lines(const char *string, config_line_t **result, int extended); void config_free_lines(config_line_t *front); @@ -72,6 +73,8 @@ int get_first_advertised_port_by_type_af(int listener_type, #define get_primary_dir_port() \ (get_first_advertised_port_by_type_af(CONN_TYPE_DIR_LISTENER, AF_INET)) +char *get_first_listener_addrport_string(int listener_type); + int options_need_geoip_info(const or_options_t *options, const char **reason_out); |