diff options
author | Hassan Alsibyani <sibyani@mit.edu> | 2016-02-29 01:47:51 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-03-11 09:15:48 -0500 |
commit | b1917a061427dab68e9246463cc40c0cbd5dc00a (patch) | |
tree | 283585fdd76af9dd52fcdad6db04ffc28d751b98 /src/or/rendcommon.h | |
parent | ffc25bc908fc4e102d860560a4889184926b39d5 (diff) | |
download | tor-b1917a061427dab68e9246463cc40c0cbd5dc00a.tar.gz tor-b1917a061427dab68e9246463cc40c0cbd5dc00a.zip |
moving hid_serv_get_responsible_directories and hid_serv_acting_as_directory from routerlist.c to rendcommon.c
Diffstat (limited to 'src/or/rendcommon.h')
-rw-r--r-- | src/or/rendcommon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/rendcommon.h b/src/or/rendcommon.h index 316667341a..fe45299598 100644 --- a/src/or/rendcommon.h +++ b/src/or/rendcommon.h @@ -57,6 +57,10 @@ int rend_id_is_in_interval(const char *a, const char *b, const char *c); void rend_get_descriptor_id_bytes(char *descriptor_id_out, const char *service_id, const char *secret_id_part); +int hid_serv_get_responsible_directories(smartlist_t *responsible_dirs, + const char *id); +int hid_serv_acting_as_directory(void); +MOCK_DECL(int, hid_serv_responsible_for_desc_id, (const char *id)); rend_data_t *rend_data_dup(const rend_data_t *data); rend_data_t *rend_data_client_create(const char *onion_address, |