aboutsummaryrefslogtreecommitdiff
path: root/src/or/entrynodes.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2014-07-25 21:41:03 -0700
committerAndrea Shepard <andrea@torproject.org>2014-07-25 21:41:03 -0700
commitb8b46e8ef847c0683fab00783fb64bef0c6f83c6 (patch)
treeac6685e52c73e51acbe05eb14dece77583d9ebc9 /src/or/entrynodes.h
parent18c97ad8bc85b9c0a0b3cac088f719f7e261c60b (diff)
downloadtor-b8b46e8ef847c0683fab00783fb64bef0c6f83c6.tar.gz
tor-b8b46e8ef847c0683fab00783fb64bef0c6f83c6.zip
Add some mocks needed to unit test ClientTransportPlugin/ServerTransportPlugin config line parsing
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r--src/or/entrynodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h
index 5d91756aa4..8b5ffba7b1 100644
--- a/src/or/entrynodes.h
+++ b/src/or/entrynodes.h
@@ -151,7 +151,7 @@ struct transport_t;
int get_transport_by_bridge_addrport(const tor_addr_t *addr, uint16_t port,
const struct transport_t **transport);
-int transport_is_needed(const char *transport_name);
+MOCK_DECL(int, transport_is_needed, (const char *transport_name));
int validate_pluggable_transports_config(void);
double pathbias_get_close_success_count(entry_guard_t *guard);