aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2018-02-14 13:40:42 +0200
committerDavid Goulet <dgoulet@torproject.org>2018-03-27 12:43:39 -0400
commitab16f1e2a10ee1b95118ec266ba454697e9af012 (patch)
tree19d752188e2bd80bc3e55b8fad294d3d891cfc8f /src/or/nodelist.h
parentf29d158330a8c6bcc91b71a888db741766135aaf (diff)
downloadtor-ab16f1e2a10ee1b95118ec266ba454697e9af012.tar.gz
tor-ab16f1e2a10ee1b95118ec266ba454697e9af012.zip
test: Add unittest for the OR connection failure cache
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/nodelist.h')
-rw-r--r--src/or/nodelist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/nodelist.h b/src/or/nodelist.h
index dc20eaf0a5..043d7b3414 100644
--- a/src/or/nodelist.h
+++ b/src/or/nodelist.h
@@ -16,7 +16,7 @@
tor_assert((n)->ri || (n)->rs); \
} STMT_END
-node_t *node_get_mutable_by_id(const char *identity_digest);
+MOCK_DECL(node_t *, node_get_mutable_by_id,(const char *identity_digest));
MOCK_DECL(const node_t *, node_get_by_id, (const char *identity_digest));
node_t *node_get_mutable_by_ed25519_id(const ed25519_public_key_t *ed_id);
MOCK_DECL(const node_t *, node_get_by_ed25519_id,