summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-01-10 17:48:36 +0000
committerNick Mathewson <nickm@torproject.org>2008-01-10 17:48:36 +0000
commit29b0f51a7387608dd79ff29ffc3f37b7c8543341 (patch)
tree12f73c2fde1a8f531041fb927cd8032dc4219b1b /src/or/or.h
parent59fdab43cd21ccee2d8712111dc8ba81c7791150 (diff)
downloadtor-29b0f51a7387608dd79ff29ffc3f37b7c8543341.tar.gz
tor-29b0f51a7387608dd79ff29ffc3f37b7c8543341.zip
r17553@catbus: nickm | 2008-01-10 12:18:27 -0500
Add connection_dir_is_encrypted() so that we can refrain from sending bridge descriptors over an unencrypted link. svn:r13093
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 2342fea3d6..33c50c73bb 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3018,6 +3018,7 @@ void directory_initiate_command_routerstatus(routerstatus_t *status,
int parse_http_response(const char *headers, int *code, time_t *date,
compress_method_t *compression, char **response);
+int connection_dir_is_encrypted(dir_connection_t *conn);
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);