From 1070be8217c26c8917323ead944124e2cd14f9f2 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Thu, 25 Jun 2015 16:13:15 -0400 Subject: Use an enum for INTRO_POINT_FAILURE_* Safer, wiser, stronger! Signed-off-by: David Goulet --- src/or/rendclient.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/or/rendclient.h') 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); -- cgit v1.2.3-54-g00ecf