summaryrefslogtreecommitdiff
path: root/src/or/rendcommon.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@ev0ke.net>2015-06-18 11:00:10 -0400
committerDavid Goulet <dgoulet@ev0ke.net>2015-06-18 12:56:24 -0400
commit33b1a33c338d3eb882e1053a1c965f1c6fc6a564 (patch)
tree0ed8474a072f0da7219e46a817aeb2fbf92cfabd /src/or/rendcommon.h
parent583a387c1ea855c0b063f14c382b2cedcdc3dc08 (diff)
downloadtor-33b1a33c338d3eb882e1053a1c965f1c6fc6a564.tar.gz
tor-33b1a33c338d3eb882e1053a1c965f1c6fc6a564.zip
Add rendcache.{c|h}
For now, rend_cache_entry_t has been moved from or.h to rendcache.h and those files have been added to the build system. In the next commit, these will contain hidden service descriptor cache ABI and API for both client and directory side. The goal is to consolidate the descriptor caches in one location to ease development, maintenance, review and improve documentation for each cache behavior and algorithm. Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Diffstat (limited to 'src/or/rendcommon.h')
-rw-r--r--src/or/rendcommon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/rendcommon.h b/src/or/rendcommon.h
index 0ed7adc710..c6f2b8eac9 100644
--- a/src/or/rendcommon.h
+++ b/src/or/rendcommon.h
@@ -12,6 +12,8 @@
#ifndef TOR_RENDCOMMON_H
#define TOR_RENDCOMMON_H
+#include "rendcache.h"
+
/** Free all storage associated with <b>data</b> */
static INLINE void
rend_data_free(rend_data_t *data)