diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-06-22 13:57:19 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-07-11 16:13:16 -0400 |
commit | a2ad31a92b85158f0dfa0a219ae5270e03b2ef02 (patch) | |
tree | 76ccdb01f75d5b364ebfaf9432a26e72ab99a5bf /src/or/directory.h | |
parent | a21c4c657a1d06e2c4fc72a2f85400944d0e6460 (diff) | |
download | tor-a2ad31a92b85158f0dfa0a219ae5270e03b2ef02.tar.gz tor-a2ad31a92b85158f0dfa0a219ae5270e03b2ef02.zip |
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/directory.h')
-rw-r--r-- | src/or/directory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/directory.h b/src/or/directory.h index caff938e5c..b2c2220da2 100644 --- a/src/or/directory.h +++ b/src/or/directory.h @@ -48,6 +48,7 @@ int connection_dir_reached_eof(dir_connection_t *conn); int connection_dir_process_inbuf(dir_connection_t *conn); int connection_dir_finished_flushing(dir_connection_t *conn); int connection_dir_finished_connecting(dir_connection_t *conn); +void connection_dir_about_to_close(dir_connection_t *dir_conn); void connection_dir_request_failed(dir_connection_t *conn); void directory_initiate_command(const char *address, const tor_addr_t *addr, uint16_t or_port, uint16_t dir_port, |