aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-06-22 13:57:19 -0400
committerNick Mathewson <nickm@torproject.org>2011-07-11 16:13:16 -0400
commita2ad31a92b85158f0dfa0a219ae5270e03b2ef02 (patch)
tree76ccdb01f75d5b364ebfaf9432a26e72ab99a5bf /src/or/connection_or.h
parenta21c4c657a1d06e2c4fc72a2f85400944d0e6460 (diff)
downloadtor-a2ad31a92b85158f0dfa0a219ae5270e03b2ef02.tar
tor-a2ad31a92b85158f0dfa0a219ae5270e03b2ef02.tar.gz
Split connection_about_to_close_connection into separate functions
This patch does NOTHING but: - move code - add declarations and includes as needed to make the new code work - declare the new functions.
Diffstat (limited to 'src/or/connection_or.h')
-rw-r--r--src/or/connection_or.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_or.h b/src/or/connection_or.h
index 4a374cac0..f1acfd187 100644
--- a/src/or/connection_or.h
+++ b/src/or/connection_or.h
@@ -25,6 +25,7 @@ int connection_or_process_inbuf(or_connection_t *conn);
int connection_or_flushed_some(or_connection_t *conn);
int connection_or_finished_flushing(or_connection_t *conn);
int connection_or_finished_connecting(or_connection_t *conn);
+void connection_or_about_to_close(or_connection_t *conn);
int connection_or_digest_is_known_relay(const char *id_digest);
void connection_or_update_token_buckets(smartlist_t *conns,
const or_options_t *options);