diff options
author | Mike Perry <mikeperry-git@torproject.org> | 2018-09-13 01:22:02 +0000 |
---|---|---|
committer | Mike Perry <mikeperry-git@torproject.org> | 2018-09-13 17:44:56 +0000 |
commit | 80ffedd3ca78e76e706ef2ac3f469a4fa4aa7a96 (patch) | |
tree | fe656bb7d128f7b3f5ce46ddf89c32edc2e0456e /src/feature/control/control.h | |
parent | f308e81fa755efd405919d66bd59c873de325276 (diff) | |
download | tor-80ffedd3ca78e76e706ef2ac3f469a4fa4aa7a96.tar.gz tor-80ffedd3ca78e76e706ef2ac3f469a4fa4aa7a96.zip |
Control port call to emit a CIRC_BW event for a single circuit.
This commit only moves code. No functionality has been changed.
Diffstat (limited to 'src/feature/control/control.h')
-rw-r--r-- | src/feature/control/control.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/control/control.h b/src/feature/control/control.h index 3445eb0a9d..cd5402d455 100644 --- a/src/feature/control/control.h +++ b/src/feature/control/control.h @@ -146,6 +146,7 @@ int control_event_bandwidth_used(uint32_t n_read, uint32_t n_written); int control_event_stream_bandwidth(edge_connection_t *edge_conn); int control_event_stream_bandwidth_used(void); int control_event_circ_bandwidth_used(void); +int control_event_circ_bandwidth_used_for_circ(origin_circuit_t *ocirc); int control_event_conn_bandwidth(connection_t *conn); int control_event_conn_bandwidth_used(void); int control_event_circuit_cell_stats(void); @@ -246,7 +247,6 @@ void control_event_hs_descriptor_content(const char *onion_address, const char *desc_id, const char *hsdir_fp, const char *content); - void control_free_all(void); #ifdef CONTROL_PRIVATE |