summaryrefslogtreecommitdiff
path: root/src/or/nodelist.h
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2017-11-08 18:33:30 -0500
committerNick Mathewson <nickm@torproject.org>2017-11-12 17:05:25 -0500
commit0ee50a414cb970a4ce192075c6414dbfbdb0b0db (patch)
tree893531eb521032322d6b4c2800bc1c3fd85217a2 /src/or/nodelist.h
parent23820a39439637f401b24085dfe7a703dee88c43 (diff)
downloadtor-0ee50a414cb970a4ce192075c6414dbfbdb0b0db.tar.gz
tor-0ee50a414cb970a4ce192075c6414dbfbdb0b0db.zip
Introduce node_get_curve25519_onion_key()
Diffstat (limited to 'src/or/nodelist.h')
-rw-r--r--src/or/nodelist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/nodelist.h b/src/or/nodelist.h
index 754990ac8d..0ff5ecca02 100644
--- a/src/or/nodelist.h
+++ b/src/or/nodelist.h
@@ -85,6 +85,7 @@ int node_get_prim_dirport(const node_t *node, tor_addr_port_t *ap_out);
void node_get_pref_dirport(const node_t *node, tor_addr_port_t *ap_out);
void node_get_pref_ipv6_dirport(const node_t *node, tor_addr_port_t *ap_out);
int node_has_curve25519_onion_key(const node_t *node);
+curve25519_public_key_t *node_get_curve25519_onion_key(const node_t *node);
MOCK_DECL(smartlist_t *, nodelist_get_list, (void));