diff options
author | Andrea Shepard <andrea@torproject.org> | 2014-01-22 01:00:25 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-09-30 23:14:02 -0700 |
commit | 5b7a58f7c43c98c1f1fbb6bc347263c5247a5ab7 (patch) | |
tree | ce3d8bf07d4e8af549d1797449c463bf64ba1c69 /src/or/circuitmux.h | |
parent | 76fcb8cb55d91aa66699266b00ff5379e3c99461 (diff) | |
download | tor-5b7a58f7c43c98c1f1fbb6bc347263c5247a5ab7.tar.gz tor-5b7a58f7c43c98c1f1fbb6bc347263c5247a5ab7.zip |
Make circuitmux_num_cells() mockable
Diffstat (limited to 'src/or/circuitmux.h')
-rw-r--r-- | src/or/circuitmux.h | 2 |
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); |