summaryrefslogtreecommitdiff
path: root/src/or/nodelist.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-09-14 14:28:11 -0400
committerNick Mathewson <nickm@torproject.org>2016-11-10 09:43:27 -0500
commit8406677a5e6db74bd593a7d43868054b54b147df (patch)
tree19c22f6be0d4140627906814e28eff1cd775020c /src/or/nodelist.h
parent431565e0531eb6cfdaabd2bba8912655898f079b (diff)
downloadtor-8406677a5e6db74bd593a7d43868054b54b147df.tar.gz
tor-8406677a5e6db74bd593a7d43868054b54b147df.zip
Accessor functions to get a node's ID keys.
Diffstat (limited to 'src/or/nodelist.h')
-rw-r--r--src/or/nodelist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/nodelist.h b/src/or/nodelist.h
index 71a91e107f..2cdcdcee42 100644
--- a/src/or/nodelist.h
+++ b/src/or/nodelist.h
@@ -55,6 +55,8 @@ void node_get_address_string(const node_t *node, char *cp, size_t len);
long node_get_declared_uptime(const node_t *node);
time_t node_get_published_on(const node_t *node);
const smartlist_t *node_get_declared_family(const node_t *node);
+const ed25519_public_key_t *node_get_ed25519_id(const node_t *node);
+const uint8_t *node_get_rsa_id_digest(const node_t *node);
int node_has_ipv6_addr(const node_t *node);
int node_has_ipv6_orport(const node_t *node);