diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-01-13 01:19:02 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-01-13 01:19:02 +0000 |
commit | 793c65e60fa0cf4be6cde6b6011d12291e92a969 (patch) | |
tree | 00307fb04c747a5f21466f4d1a06ba50ce195a75 /src/common/tortls.h | |
parent | 20aca03df26d3594ad4d90fb0183a6f87f6d67b6 (diff) | |
download | tor-793c65e60fa0cf4be6cde6b6011d12291e92a969.tar.gz tor-793c65e60fa0cf4be6cde6b6011d12291e92a969.zip |
Note discrepency between N bytes transmitted over TLS and actual bandwidth use; add 2 functions to help resolve.
svn:r986
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r-- | src/common/tortls.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h index fdfa161920..14dd3dda4d 100644 --- a/src/common/tortls.h +++ b/src/common/tortls.h @@ -29,4 +29,7 @@ int tor_tls_handshake(tor_tls *tls); int tor_tls_shutdown(tor_tls *tls); int tor_tls_get_pending_bytes(tor_tls *tls); +unsigned long tor_tls_get_n_bytes_read(tor_tls *tls); +unsigned long tor_tls_get_n_bytes_written(tor_tls *tls); + #endif |