aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-07-20 20:09:59 +0000
committerNick Mathewson <nickm@torproject.org>2004-07-20 20:09:59 +0000
commitd858a9e99036c543f012e5b4a4c773811e3d9b0c (patch)
treef78fd7672b8e1b53121066a215ae346c14db1f1d /src/or/or.h
parentd5999a24af8076147e661328d4948b6522f0051d (diff)
downloadtor-d858a9e99036c543f012e5b4a4c773811e3d9b0c.tar
tor-d858a9e99036c543f012e5b4a4c773811e3d9b0c.tar.gz
Remember list of digests for trusted dirservers; use this list to tell whether you are a trusted dirserver
svn:r2064
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index f6e84242b..dcb09631f 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1369,6 +1369,7 @@ routerinfo_t *router_get_by_addr_port(uint32_t addr, uint16_t port);
routerinfo_t *router_get_by_nickname(const char *nickname);
routerinfo_t *router_get_by_hexdigest(const char *hexdigest);
routerinfo_t *router_get_by_digest(const char *digest);
+int router_digest_is_trusted_dir(const char *digest);
void router_get_routerlist(routerlist_t **prouterlist);
void routerlist_free(routerlist_t *routerlist);
void routerlist_clear_trusted_directories(void);