diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-01-11 10:28:20 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-01-11 10:28:20 -0500 |
commit | c5b58df77588fd1307d248e75d360eb27023033c (patch) | |
tree | f623990af1f5dcbd975b2390250fa42dc3cf5ecc /src/or/control.h | |
parent | 0e911abf27c7a7ede6dea81167c6e8b12b53174c (diff) | |
download | tor-c5b58df77588fd1307d248e75d360eb27023033c.tar.gz tor-c5b58df77588fd1307d248e75d360eb27023033c.zip |
Add clarity/typesafety wrappers for control_event_circuit_status_minor
Diffstat (limited to 'src/or/control.h')
-rw-r--r-- | src/or/control.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/or/control.h b/src/or/control.h index d7127f4ac0..7af4449d49 100644 --- a/src/or/control.h +++ b/src/or/control.h @@ -37,9 +37,11 @@ int control_event_is_interesting(int event); int control_event_circuit_status(origin_circuit_t *circ, circuit_status_event_t e, int reason); -int control_event_circuit_status_minor(origin_circuit_t *circ, - circuit_status_minor_event_t e, - int purpose, const struct timeval *tv); +int control_event_circuit_purpose_changed(origin_circuit_t *circ, + int old_purpose); +int control_event_circuit_cannibalized(origin_circuit_t *circ, + int old_purpose, + const struct timeval *old_tv_created); int control_event_stream_status(entry_connection_t *conn, stream_status_event_t e, int reason); |