12 #ifndef TOR_NS_PARSE_H
13 #define TOR_NS_PARSE_H
18 const char **start_out,
19 const char **end_out);
21 const char *s,
size_t len);
22 int compare_vote_routerstatus_entries(
const void **_a,
const void **_b);
31 #ifdef NS_PARSE_PRIVATE
32 STATIC int routerstatus_parse_guardfraction(
const char *guardfraction_str,
39 const char **s,
const char *eos,
int router_get_networkstatus_v3_sha3_as_signed(uint8_t *digest_out, const char *s, size_t len)
networkstatus_t * networkstatus_parse_vote_from_string(const char *s, size_t len, const char **eos_out, enum networkstatus_type_t ns_type)
int router_get_networkstatus_v3_signed_boundaries(const char *s, size_t len, const char **start_out, const char **end_out)
int networkstatus_verify_bw_weights(networkstatus_t *ns, int)
int router_get_networkstatus_v3_hashes(const char *s, size_t len, common_digests_t *digests)