aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.h
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2013-02-06 14:26:11 +0100
committerKarsten Loesing <karsten.loesing@gmx.net>2013-05-16 14:18:08 +0200
commitdd5ce2157d8c47ffa3686b0579813e7b1aae8069 (patch)
tree0d56a4aec246abf38d06df55655262f942f2e6c1 /src/or/control.h
parentc386d2d6ce4c4f58163acb385c7a5de1da8c5e30 (diff)
downloadtor-dd5ce2157d8c47ffa3686b0579813e7b1aae8069.tar.gz
tor-dd5ce2157d8c47ffa3686b0579813e7b1aae8069.zip
Add new TB_EMPTY event.
Jointly authored with Rob Jansen <jansen@cs.umn.edu>.
Diffstat (limited to 'src/or/control.h')
-rw-r--r--src/or/control.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/or/control.h b/src/or/control.h
index 4d950bfc5d..2977159b91 100644
--- a/src/or/control.h
+++ b/src/or/control.h
@@ -53,6 +53,18 @@ int control_event_stream_bandwidth_used(void);
int control_event_conn_bandwidth(connection_t *conn);
int control_event_conn_bandwidth_used(void);
int control_event_circuit_cell_stats(void);
+int control_event_refill_global(int global_read, int prev_global_read,
+ uint32_t global_read_emptied,
+ int global_write, int prev_global_write,
+ uint32_t global_write_emptied,
+ int relay_read, int prev_relay_read,
+ uint32_t relay_read_emptied,
+ int relay_write, int prev_relay_write,
+ uint32_t relay_write_emptied,
+ uint32_t milliseconds_elapsed);
+int control_event_refill_conn(or_connection_t *or_conn,
+ int prev_read, int prev_write,
+ uint32_t milliseconds_elapsed);
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,