diff options
author | David Goulet <dgoulet@torproject.org> | 2017-11-15 14:01:16 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-05 19:39:46 -0500 |
commit | e71c6199ddd9514f6f04c13f4393bfc28961b272 (patch) | |
tree | f36da2db6b3bb4305345b6e54e8cfc8ac04e6baf /src/or/channeltls.h | |
parent | 2c8e97db587df4c3145ab98dd9251290be7a3379 (diff) | |
download | tor-e71c6199ddd9514f6f04c13f4393bfc28961b272.tar.gz tor-e71c6199ddd9514f6f04c13f4393bfc28961b272.zip |
hs-v3: Add a public function to upload a descriptor to an HSDir
This is groundwork for the HSPOST control port command that needs a way in the
HS subsystem to upload a service descriptor to a specific HSDir.
To do so, we add a public function that takes a series of parameters including
a fully encoded descriptor and initiate a directory request to a specific
routerstatut_t object.
It is for now not used but should be, in future commit, by the HSPOST command.
This commit has no behavior change, only refactoring.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/channeltls.h')
0 files changed, 0 insertions, 0 deletions