Refactor router_rebuild_descriptor
commit8feaf3846d67d80d6a1bae9867cdf55bafdc437e
authorSebastian Hahn <sebastian@torproject.org>
Sat, 7 Feb 2015 12:29:26 +0000 (7 13:29 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Sun, 15 Feb 2015 11:33:20 +0000 (15 12:33 +0100)
tree14927a15ed6a7291f972e36a05516ed5f6d81e75
parentb101f4e98ce811aee729c31f62ec5dd1cfe44e85
Refactor router_rebuild_descriptor

Allow building a router descriptor without storing it to global state.
This is in preparation of a patch to export the created descriptors via
the control port.
src/or/router.c
src/or/router.h