diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-15 08:38:33 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-30 14:42:52 -0500 |
commit | 6a02f9f35a824ced871de7bb80c8266b873a0710 (patch) | |
tree | f78052f95969cffec55956820555133482bd13e0 /src/or/networkstatus.h | |
parent | 3c12133038f5a9213b13beca50d91ddac2f9d7fb (diff) | |
download | tor-6a02f9f35a824ced871de7bb80c8266b873a0710.tar.gz tor-6a02f9f35a824ced871de7bb80c8266b873a0710.zip |
Add parameters for new (prop271) guard algorithm.
These are taken from the proposal, and defined there. Some of them
should turn into consensus parameters.
Also, remove some dead code that was there to make compilation work,
and use ATTR_UNUSED like a normal person.
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r-- | src/or/networkstatus.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h index 96f8347584..71f36b69ed 100644 --- a/src/or/networkstatus.h +++ b/src/or/networkstatus.h @@ -111,10 +111,6 @@ 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); |