summaryrefslogtreecommitdiff
path: root/src/or/conscache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/conscache.h')
-rw-r--r--src/or/conscache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/conscache.h b/src/or/conscache.h
index 3c89dedf43..e4f308fa49 100644
--- a/src/or/conscache.h
+++ b/src/or/conscache.h
@@ -10,6 +10,8 @@ typedef struct consensus_cache_entry_t consensus_cache_entry_t;
typedef struct consensus_cache_t consensus_cache_t;
HANDLE_DECL(consensus_cache_entry, consensus_cache_entry_t, )
+#define consensus_cache_entry_handle_free(h) \
+ FREE_AND_NULL(consensus_cache_entry_handle, (h))
consensus_cache_t *consensus_cache_open(const char *subdir, int max_entries);
void consensus_cache_free(consensus_cache_t *cache);