diff options
author | Andrea Shepard <andrea@torproject.org> | 2016-06-25 06:26:44 +0000 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2016-06-30 07:03:24 +0000 |
commit | 17ed2fed68ed18480976748e3f407bf6952ab72c (patch) | |
tree | 5951d5584830189ae725612a5dc65d634aa10737 /src/or/routerparse.h | |
parent | 726dc9acf599567bf2ed1786fc2af785f15cac25 (diff) | |
download | tor-17ed2fed68ed18480976748e3f407bf6952ab72c.tar.gz tor-17ed2fed68ed18480976748e3f407bf6952ab72c.zip |
Expose dump_desc() to the test suite and make things it calls mockable
Diffstat (limited to 'src/or/routerparse.h')
-rw-r--r-- | src/or/routerparse.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerparse.h b/src/or/routerparse.h index 69160d1227..fe32fb7348 100644 --- a/src/or/routerparse.h +++ b/src/or/routerparse.h @@ -92,6 +92,7 @@ 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); #endif #define ED_DESC_SIGNATURE_PREFIX "Tor router descriptor signature v1" |