diff options
Diffstat (limited to 'src/app/config/config.h')
-rw-r--r-- | src/app/config/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app/config/config.h b/src/app/config/config.h index 04d877e9da..460b5ef0ee 100644 --- a/src/app/config/config.h +++ b/src/app/config/config.h @@ -42,6 +42,8 @@ const char *escaped_safe_str(const char *address); void init_protocol_warning_severity_level(void); int get_protocol_warning_severity_level(void); +#define LOG_PROTOCOL_WARN (get_protocol_warning_severity_level()) + /** An error from options_trial_assign() or options_init_from_string(). */ typedef enum setopt_err_t { SETOPT_OK = 0, @@ -319,6 +321,10 @@ int options_validate(const or_options_t *old_options, char **msg); #endif +STATIC int parse_ports(or_options_t *options, int validate_only, + char **msg, int *n_ports_out, + int *world_writable_control_socket); + #endif /* defined(CONFIG_PRIVATE) */ #endif /* !defined(TOR_CONFIG_H) */ |