diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-04-08 13:27:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-04-27 00:01:35 -0400 |
commit | 8ee92f28e056fd32f1faef62ae1523ad4d553a64 (patch) | |
tree | 00543e9ba0889508454dd7fae1d7b35ca7d8cf2e /src/or/circuitlist.h | |
parent | e03e90bf591f649f7883807f99354634e837ee48 (diff) | |
download | tor-8ee92f28e056fd32f1faef62ae1523ad4d553a64.tar.gz tor-8ee92f28e056fd32f1faef62ae1523ad4d553a64.zip |
Add a circuit_purpose_to_string() function, and use it
We had a circuit_purpose_to_controller_string() function, but it was
pretty coarse-grained and didn't try to be human-readable.
Diffstat (limited to 'src/or/circuitlist.h')
-rw-r--r-- | src/or/circuitlist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitlist.h b/src/or/circuitlist.h index ef6fc3a3d9..7b01ca3ae2 100644 --- a/src/or/circuitlist.h +++ b/src/or/circuitlist.h @@ -15,6 +15,7 @@ circuit_t * _circuit_get_global_list(void); const char *circuit_state_to_string(int state); const char *circuit_purpose_to_controller_string(uint8_t purpose); +const char *circuit_purpose_to_string(uint8_t purpose); void circuit_dump_by_conn(connection_t *conn, int severity); void circuit_set_p_circid_orconn(or_circuit_t *circ, circid_t id, or_connection_t *conn); |