aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.h
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-10-14 17:49:51 +0200
committerSebastian Hahn <sebastian@torproject.org>2010-10-14 17:49:51 +0200
commit4556f2e7c80274932019a239232235ce571c98f8 (patch)
tree28ce37b8f5646490ab73d663bf8f884ad185d3d5 /src/or/routerlist.h
parent376939c9acfe64b1722ef184fda0ef0235e14a7d (diff)
downloadtor-4556f2e7c80274932019a239232235ce571c98f8.tar.gz
tor-4556f2e7c80274932019a239232235ce571c98f8.zip
Rename router_get_by_digest()
We now call the function router_get_by_id_digest() to make clear that we're talking about the identity digest here, not descriptor digest.
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r--src/or/routerlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h
index cda2d2ef5f..b69ef70f6e 100644
--- a/src/or/routerlist.h
+++ b/src/or/routerlist.h
@@ -65,7 +65,7 @@ int router_digest_is_trusted_dir_type(const char *digest,
int router_addr_is_trusted_dir(uint32_t addr);
int hexdigest_to_digest(const char *hexdigest, char *digest);
const routerinfo_t *router_get_by_hexdigest(const char *hexdigest);
-const routerinfo_t *router_get_by_digest(const char *digest);
+const routerinfo_t *router_get_by_id_digest(const char *digest);
routerinfo_t *router_get_mutable_by_digest(const char *digest);
signed_descriptor_t *router_get_by_descriptor_digest(const char *digest);
signed_descriptor_t *router_get_by_extrainfo_digest(const char *digest);