diff options
author | David Goulet <dgoulet@torproject.org> | 2017-04-19 14:36:53 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:33 -0400 |
commit | bce0c6caadaf27b857f6980f1453798909625267 (patch) | |
tree | 798b33be3c02d6ed893c5c9b162c73cbc2f629b2 /src/or/directory.h | |
parent | 0bcc9ad58d18bdd9fb73db33b9a7fe4cfd2ac93b (diff) | |
download | tor-bce0c6caadaf27b857f6980f1453798909625267.tar.gz tor-bce0c6caadaf27b857f6980f1453798909625267.zip |
prop224: Directory function to upload descriptor
This commit adds a directory command function to make an upload directory
request for a service descriptor.
It is not used yet, just the groundwork.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/directory.h')
-rw-r--r-- | src/or/directory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/directory.h b/src/or/directory.h index 3e574cc6ac..6b3102bc33 100644 --- a/src/or/directory.h +++ b/src/or/directory.h @@ -12,6 +12,8 @@ #ifndef TOR_DIRECTORY_H #define TOR_DIRECTORY_H +#include "hs_ident.h" + int directories_have_accepted_server_descriptor(void); void directory_post_to_dirservers(uint8_t dir_purpose, uint8_t router_purpose, dirinfo_type_t type, const char *payload, @@ -71,6 +73,8 @@ void directory_request_set_if_modified_since(directory_request_t *req, time_t if_modified_since); void directory_request_set_rend_query(directory_request_t *req, const rend_data_t *query); +void directory_request_set_hs_ident(directory_request_t *req, + const hs_ident_dir_conn_t *ident); void directory_request_set_routerstatus(directory_request_t *req, const routerstatus_t *rs); |