diff options
author | David Goulet <dgoulet@ev0ke.net> | 2015-06-25 16:13:15 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-08-11 09:34:41 -0400 |
commit | 1070be8217c26c8917323ead944124e2cd14f9f2 (patch) | |
tree | 5f23c56753955ca87927a32f9ca106e946f91a1e /src/or/rendclient.h | |
parent | d06af95ba3fdcb0c9820dcf34146ba68458d5e46 (diff) | |
download | tor-1070be8217c26c8917323ead944124e2cd14f9f2.tar.gz tor-1070be8217c26c8917323ead944124e2cd14f9f2.zip |
Use an enum for INTRO_POINT_FAILURE_*
Safer, wiser, stronger!
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Diffstat (limited to 'src/or/rendclient.h')
-rw-r--r-- | src/or/rendclient.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/rendclient.h b/src/or/rendclient.h index 439f42875b..124433ef31 100644 --- a/src/or/rendclient.h +++ b/src/or/rendclient.h @@ -26,10 +26,6 @@ int rend_client_fetch_v2_desc(rend_data_t *query, smartlist_t *hsdirs); void rend_client_cancel_descriptor_fetches(void); void rend_client_purge_last_hid_serv_requests(void); -#define INTRO_POINT_FAILURE_GENERIC 0 -#define INTRO_POINT_FAILURE_TIMEOUT 1 -#define INTRO_POINT_FAILURE_UNREACHABLE 2 - int rend_client_report_intro_point_failure(extend_info_t *failed_intro, rend_data_t *rend_query, unsigned int failure_type); |