diff options
author | Andrea Shepard <andrea@torproject.org> | 2016-06-25 07:47:53 +0000 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2016-06-30 07:03:25 +0000 |
commit | 35fc5879fb15177581284537f5b5286110590555 (patch) | |
tree | 5058e140ee0400ddcde168b88574b409e7461ad9 /src/or/routerparse.h | |
parent | 4e4a760491ef162413240b0bb38732da801e818a (diff) | |
download | tor-35fc5879fb15177581284537f5b5286110590555.tar.gz tor-35fc5879fb15177581284537f5b5286110590555.zip |
Expose a few more dump_desc()-related things to the test suite
Diffstat (limited to 'src/or/routerparse.h')
-rw-r--r-- | src/or/routerparse.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/routerparse.h b/src/or/routerparse.h index fe32fb7348..2b18143b06 100644 --- a/src/or/routerparse.h +++ b/src/or/routerparse.h @@ -88,11 +88,14 @@ int rend_parse_client_keys(strmap_t *parsed_clients, const char *str); void routerparse_free_all(void); #ifdef ROUTERPARSE_PRIVATE +EXTERN(size_t, len_descs_dumped); +EXTERN(smartlist_t *, descs_dumped); STATIC int routerstatus_parse_guardfraction(const char *guardfraction_str, networkstatus_t *vote, vote_routerstatus_t *vote_rs, routerstatus_t *rs); STATIC void dump_desc(const char *desc, const char *type); +STATIC void dump_desc_fifo_cleanup(void); #endif #define ED_DESC_SIGNATURE_PREFIX "Tor router descriptor signature v1" |