aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dircache
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-16 13:24:21 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-09 07:30:35 -0500
commitca9d605fa7c72083b0ef721b4b555de80a5795d8 (patch)
tree5e2b63281b9f7b360a9ce7d1a02347caadbb4f3f /src/feature/dircache
parent09f03e6e3f6651281cf2bf7eb2968d9659a6658d (diff)
downloadtor-ca9d605fa7c72083b0ef721b4b555de80a5795d8.tar.gz
tor-ca9d605fa7c72083b0ef721b4b555de80a5795d8.zip
conscache.h: declare config_line_t structure.
This frees us from a dependency on include order.
Diffstat (limited to 'src/feature/dircache')
-rw-r--r--src/feature/dircache/conscache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/dircache/conscache.h b/src/feature/dircache/conscache.h
index 5e0489f3eb..38e3ba85ab 100644
--- a/src/feature/dircache/conscache.h
+++ b/src/feature/dircache/conscache.h
@@ -14,6 +14,8 @@
typedef struct consensus_cache_entry_t consensus_cache_entry_t;
typedef struct consensus_cache_t consensus_cache_t;
+struct config_line_t;
+
HANDLE_DECL(consensus_cache_entry, consensus_cache_entry_t, )
#define consensus_cache_entry_handle_free(h) \
FREE_AND_NULL(consensus_cache_entry_handle_t, \