From 8d1f78c556abb570bb80ea84261c954d9746cf33 Mon Sep 17 00:00:00 2001 From: Karsten Loesing Date: Wed, 6 Feb 2013 14:15:32 +0100 Subject: Add new CONN_BW event. Jointly authored with Rob Jansen . --- src/or/control.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or/control.h') 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, -- cgit v1.2.3-54-g00ecf