return 0;
}
-static void connection_update_counters(struct connection *conn)
+void connection_update_counters(struct connection *conn)
{
if (conn->input != NULL)
event_add_int(conn->event, "bytes_in", conn->input->v_offset);
/* Update connection properties and labels */
void connection_update_properties(struct connection *conn);
+/* Update byte counters in event */
+void connection_update_counters(struct connection *conn);
+
/* This needs to be called if the input/output streams are changed */
void connection_streams_changed(struct connection *conn);