summaryrefslogtreecommitdiff
path: root/src/or/config.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-23 12:20:58 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-23 12:22:26 -0400
commit48ee85e0c6c83c31693bc58ca4e8e91c8031421d (patch)
tree065423caedd52fc6ca61b572399ecb7782dcb4bf /src/or/config.h
parent8b8d501040946bb2280a9640f91a55b7f17b03e3 (diff)
downloadtor-48ee85e0c6c83c31693bc58ca4e8e91c8031421d.tar.gz
tor-48ee85e0c6c83c31693bc58ca4e8e91c8031421d.zip
Have LOG_PROTOCOL_WARN call its own function
Also, make the function that implements LOG_PROTOCOL_WARN use a cached value of the desired loglevel, rather than calling get_options().
Diffstat (limited to 'src/or/config.h')
-rw-r--r--src/or/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.h b/src/or/config.h
index f69a3c483f..af945f16be 100644
--- a/src/or/config.h
+++ b/src/or/config.h
@@ -31,6 +31,7 @@ const char *safe_str_client(const char *address);
const char *safe_str(const char *address);
const char *escaped_safe_str_client(const char *address);
const char *escaped_safe_str(const char *address);
+int get_protocol_warning_severity_level(void);
const char *get_version(void);
const char *get_short_version(void);
setopt_err_t options_trial_assign(config_line_t *list, unsigned flags,