aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-03-11 22:06:07 -0400
committerNick Mathewson <nickm@torproject.org>2013-03-11 22:06:07 -0400
commit452cfaacfc6e6b4313d2170c29e18d6399038999 (patch)
tree0f5cfb8b9a50ea24be992f28496fea5cd4771f27 /src/common/tortls.h
parent051b1e8ac4114fb23904cdf8dead72d585904e0a (diff)
downloadtor-452cfaacfc6e6b4313d2170c29e18d6399038999.tar
tor-452cfaacfc6e6b4313d2170c29e18d6399038999.tar.gz
Track TLS overhead: diagnostic for bug 7707
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r--src/common/tortls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h
index 1ae6344d0..49c488b36 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -95,6 +95,8 @@ void tor_tls_get_buffer_sizes(tor_tls_t *tls,
size_t *rbuf_capacity, size_t *rbuf_bytes,
size_t *wbuf_capacity, size_t *wbuf_bytes);
+double tls_get_write_overhead_ratio(void);
+
int tor_tls_used_v1_handshake(tor_tls_t *tls);
int tor_tls_received_v3_certificate(tor_tls_t *tls);
int tor_tls_get_num_server_handshakes(tor_tls_t *tls);