aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitmux.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2014-01-22 01:00:25 -0800
committerAndrea Shepard <andrea@torproject.org>2014-09-30 23:14:02 -0700
commit5b7a58f7c43c98c1f1fbb6bc347263c5247a5ab7 (patch)
treece3d8bf07d4e8af549d1797449c463bf64ba1c69 /src/or/circuitmux.h
parent76fcb8cb55d91aa66699266b00ff5379e3c99461 (diff)
downloadtor-5b7a58f7c43c98c1f1fbb6bc347263c5247a5ab7.tar.gz
tor-5b7a58f7c43c98c1f1fbb6bc347263c5247a5ab7.zip
Make circuitmux_num_cells() mockable
Diffstat (limited to 'src/or/circuitmux.h')
-rw-r--r--src/or/circuitmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitmux.h b/src/or/circuitmux.h
index 5833ee5eee..9a5ea7d675 100644
--- a/src/or/circuitmux.h
+++ b/src/or/circuitmux.h
@@ -120,7 +120,7 @@ int circuitmux_is_circuit_attached(circuitmux_t *cmux, circuit_t *circ);
int circuitmux_is_circuit_active(circuitmux_t *cmux, circuit_t *circ);
unsigned int circuitmux_num_cells_for_circuit(circuitmux_t *cmux,
circuit_t *circ);
-unsigned int circuitmux_num_cells(circuitmux_t *cmux);
+MOCK_DECL(unsigned int, circuitmux_num_cells, (circuitmux_t *cmux));
unsigned int circuitmux_num_circuits(circuitmux_t *cmux);
unsigned int circuitmux_num_active_circuits(circuitmux_t *cmux);