diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-15 08:28:41 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-30 14:42:52 -0500 |
commit | 3c12133038f5a9213b13beca50d91ddac2f9d7fb (patch) | |
tree | 306e300cde5982c9bda62fa3fad66c1906f899bf /src/or/networkstatus.h | |
parent | c74542c51a2ce75e602e3e237bd41d1fd08a2fb0 (diff) | |
download | tor-3c12133038f5a9213b13beca50d91ddac2f9d7fb.tar.gz tor-3c12133038f5a9213b13beca50d91ddac2f9d7fb.zip |
Collect old guard algorithm parameters into one place
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r-- | src/or/networkstatus.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h index 71f36b69ed..96f8347584 100644 --- a/src/or/networkstatus.h +++ b/src/or/networkstatus.h @@ -111,6 +111,10 @@ int32_t networkstatus_get_param(const networkstatus_t *ns, const char *param_name, int32_t default_val, int32_t min_val, int32_t max_val); +int32_t networkstatus_get_param(const networkstatus_t *ns, + const char *param_name, + int32_t default_val, int32_t min_val, + int32_t max_val); int getinfo_helper_networkstatus(control_connection_t *conn, const char *question, char **answer, const char **errmsg); |