diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-09-14 23:39:08 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-09-14 23:39:08 -0400 |
commit | 56c6d78520a98fb643e67b80b9192a2875f95e29 (patch) | |
tree | b4cfcdd84c2f41eab6ca30885d9612c3cfeecf28 /src/or/or.h | |
parent | d9872cc67632d6c1f81e0a81fc50a62198f1b35d (diff) | |
download | tor-56c6d78520a98fb643e67b80b9192a2875f95e29.tar.gz tor-56c6d78520a98fb643e67b80b9192a2875f95e29.zip |
Parameter access function, with unit tests.
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 297a8f0bbb..dd940273b2 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3960,6 +3960,8 @@ void signed_descs_update_status_from_consensus_networkstatus( char *networkstatus_getinfo_helper_single(routerstatus_t *rs); char *networkstatus_getinfo_by_purpose(const char *purpose_string, time_t now); void networkstatus_dump_bridge_status_to_file(time_t now); +int32_t networkstatus_get_param(networkstatus_t *ns, const char *param_name, + int32_t default_val); int getinfo_helper_networkstatus(control_connection_t *conn, const char *question, char **answer); void networkstatus_free_all(void); |