diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2013-02-06 14:15:32 +0100 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2013-05-16 13:48:35 +0200 |
commit | 8d1f78c556abb570bb80ea84261c954d9746cf33 (patch) | |
tree | ab3888a02792bc7a7e04989e7f8035c747f43e93 /src/or/control.h | |
parent | e54d664f7bb1205162c1df3495f8ebc30c23d867 (diff) | |
download | tor-8d1f78c556abb570bb80ea84261c954d9746cf33.tar.gz tor-8d1f78c556abb570bb80ea84261c954d9746cf33.zip |
Add new CONN_BW event.
Jointly authored with Rob Jansen <jansen@cs.umn.edu>.
Diffstat (limited to 'src/or/control.h')
-rw-r--r-- | src/or/control.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/control.h b/src/or/control.h index 61062da2c4..fe5c0efa6f 100644 --- a/src/or/control.h +++ b/src/or/control.h @@ -50,6 +50,8 @@ int control_event_or_conn_status(or_connection_t *conn, 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_conn_bandwidth(connection_t *conn); +int control_event_conn_bandwidth_used(void); void control_event_logmsg(int severity, uint32_t domain, const char *msg); int control_event_descriptors_changed(smartlist_t *routers); int control_event_address_mapped(const char *from, const char *to, |