summaryrefslogtreecommitdiff
path: root/src/or/rendcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/rendcache.h')
-rw-r--r--src/or/rendcache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rendcache.h b/src/or/rendcache.h
index 9a18810821..b214a48ccc 100644
--- a/src/or/rendcache.h
+++ b/src/or/rendcache.h
@@ -34,7 +34,7 @@ typedef struct rend_cache_entry_t {
/* Introduction point failure type. */
typedef struct rend_cache_failure_intro_t {
- unsigned int failure_type;
+ rend_intro_point_failure_t failure_type;
} rend_cache_failure_intro_t;
/** Cache failure object indexed by service ID. */
@@ -65,7 +65,7 @@ rend_cache_store_status_t rend_cache_store_v2_desc_as_client(const char *desc,
rend_cache_entry_t **entry);
size_t rend_cache_get_total_allocation(void);
-void rend_cache_intro_failure_note(unsigned int failure,
+void rend_cache_intro_failure_note(rend_intro_point_failure_t failure,
const uint8_t *identity,
const char *service_id);
void rend_cache_failure_purge(void);