diff options
author | Chelsea H. Komlo <chelsea.komlo@gmail.com> | 2016-10-08 19:28:38 -0500 |
---|---|---|
committer | Chelsea H. Komlo <chelsea.komlo@gmail.com> | 2016-10-18 18:40:50 -0500 |
commit | 195ccce94e250a150e208f7a8fb9ba8375b6fe89 (patch) | |
tree | e24de23c5ea00bf4827d3280f59718b6cbb87b79 /src/or/directory.h | |
parent | 9a3adb07c49a522ffbefb009687c3bd9ee282d59 (diff) | |
download | tor-195ccce94e250a150e208f7a8fb9ba8375b6fe89.tar.gz tor-195ccce94e250a150e208f7a8fb9ba8375b6fe89.zip |
Refactor to use purpose_needs_anonymity and remove is_sensitive_dir_purpose
Diffstat (limited to 'src/or/directory.h')
-rw-r--r-- | src/or/directory.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/directory.h b/src/or/directory.h index 9477948aa0..f04e7ab315 100644 --- a/src/or/directory.h +++ b/src/or/directory.h @@ -132,10 +132,7 @@ int download_status_get_n_failures(const download_status_t *dls); int download_status_get_n_attempts(const download_status_t *dls); time_t download_status_get_next_attempt_at(const download_status_t *dls); -/* Yes, these two functions are confusingly similar. - * Let's sort that out in #20077. */ int purpose_needs_anonymity(uint8_t dir_purpose, uint8_t router_purpose); -int is_sensitive_dir_purpose(uint8_t dir_purpose); #ifdef TOR_UNIT_TESTS /* Used only by directory.c and test_dir.c */ |