aboutsummaryrefslogtreecommitdiff
path: root/src/or/channel.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2014-01-22 03:51:22 -0800
committerAndrea Shepard <andrea@torproject.org>2014-09-30 23:14:23 -0700
commit452bce6c7200600d4810f490ba5cc1c93d49cc96 (patch)
treea22f877d2af33ff38977f148fe80490de1bf4fcb /src/or/channel.h
parent5a24ff0563ed916abffcde083019d23142197fdf (diff)
downloadtor-452bce6c7200600d4810f490ba5cc1c93d49cc96.tar.gz
tor-452bce6c7200600d4810f490ba5cc1c93d49cc96.zip
Make channel_dump_statistics() mockable
Diffstat (limited to 'src/or/channel.h')
-rw-r--r--src/or/channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/channel.h b/src/or/channel.h
index ba6d66b350..07a66ebcda 100644
--- a/src/or/channel.h
+++ b/src/or/channel.h
@@ -506,7 +506,7 @@ channel_t * channel_next_with_digest(channel_t *chan);
*/
const char * channel_describe_transport(channel_t *chan);
-void channel_dump_statistics(channel_t *chan, int severity);
+MOCK_DECL(void, channel_dump_statistics, (channel_t *chan, int severity));
void channel_dump_transport_statistics(channel_t *chan, int severity);
const char * channel_get_actual_remote_descr(channel_t *chan);
const char * channel_get_actual_remote_address(channel_t *chan);