diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-30 23:51:47 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-10-01 10:46:00 -0500 |
commit | 2be35f4d61fb8d05007ce65d0421a2ef71c07eb4 (patch) | |
tree | 9ed208c8234917e4940c3989bcb88e291945bc0c /src/feature/dirparse/routerparse.h | |
parent | aff5bf5464172bbbe549e147ebd4ba809a8b252c (diff) | |
download | tor-2be35f4d61fb8d05007ce65d0421a2ef71c07eb4.tar.gz tor-2be35f4d61fb8d05007ce65d0421a2ef71c07eb4.zip |
Split microdescriptor parser into its own file.
Diffstat (limited to 'src/feature/dirparse/routerparse.h')
-rw-r--r-- | src/feature/dirparse/routerparse.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/feature/dirparse/routerparse.h b/src/feature/dirparse/routerparse.h index f90ad08a99..00020936e3 100644 --- a/src/feature/dirparse/routerparse.h +++ b/src/feature/dirparse/routerparse.h @@ -54,10 +54,9 @@ networkstatus_t *networkstatus_parse_vote_from_string(const char *s, ns_detached_signatures_t *networkstatus_parse_detached_signatures( const char *s, const char *eos); -smartlist_t *microdescs_parse_from_string(const char *s, const char *eos, - int allow_annotations, - saved_location_t where, - smartlist_t *invalid_digests_out); +int find_single_ipv6_orport(const smartlist_t *list, + tor_addr_t *addr_out, + uint16_t *port_out); void routerparse_init(void); void routerparse_free_all(void); |