From 33b1a33c338d3eb882e1053a1c965f1c6fc6a564 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Thu, 18 Jun 2015 11:00:10 -0400 Subject: 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 --- src/or/or.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/or/or.h') diff --git a/src/or/or.h b/src/or/or.h index 9e7b7534fb..d3a476ecf9 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -4970,15 +4970,6 @@ typedef struct rend_service_descriptor_t { smartlist_t *successful_uploads; } rend_service_descriptor_t; -/** A cached rendezvous descriptor. */ -typedef struct rend_cache_entry_t { - size_t len; /**< Length of desc */ - time_t last_served; /**< When did we last write this one to somebody? - * (HSDir only) */ - char *desc; /**< Service descriptor */ - rend_service_descriptor_t *parsed; /**< Parsed value of 'desc' */ -} rend_cache_entry_t; - /********************************* routerlist.c ***************************/ /** Represents information about a single trusted or fallback directory -- cgit v1.2.3-54-g00ecf