diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-10-06 04:33:40 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-10-06 04:33:40 +0000 |
commit | ba24193ab51bec6f7c451c622f6476a7ab6adc42 (patch) | |
tree | 6b6cf18501bb696e4a19399c1030bf697b83d053 /src/or/buffers.c | |
parent | e53f1ccbfcb667bda30ce9ee5a42cc3be9efc80a (diff) | |
download | tor-ba24193ab51bec6f7c451c622f6476a7ab6adc42.tar.gz tor-ba24193ab51bec6f7c451c622f6476a7ab6adc42.zip |
Make doxygen marginally happier
svn:r5208
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index e3b5c75ca2..093eb60e6a 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -49,6 +49,7 @@ const char buffers_c_id[] = "$Id$"; #endif #define BUFFER_MAGIC 0xB0FFF312u +/** A resizeable buffer, optimized for reading and writing. */ struct buf_t { uint32_t magic; /**< Magic cookie for debugging: Must be set to BUFFER_MAGIC */ char *mem; /**< Storage for data in the buffer */ @@ -473,7 +474,7 @@ read_to_buf(int s, size_t at_most, buf_t *buf, int *reached_eof) * -1 on failure. */ static INLINE int -read_to_buf_tls_impl(tor_tls *tls, size_t at_most, buf_t *buf, char *next) +read_to_buf_tls_impl(tor_tls_t *tls, size_t at_most, buf_t *buf, char *next) { int r; @@ -512,7 +513,7 @@ read_to_buf_tls_impl(tor_tls *tls, size_t at_most, buf_t *buf, char *next) * ready to write -- or vice versa. */ int -read_to_buf_tls(tor_tls *tls, size_t at_most, buf_t *buf) +read_to_buf_tls(tor_tls_t *tls, size_t at_most, buf_t *buf) { int r; char *next; @@ -634,7 +635,7 @@ flush_buf(int s, buf_t *buf, size_t *buf_flushlen) * Return the number of bytes written on success, -1 on failure. */ static INLINE int -flush_buf_tls_impl(tor_tls *tls, buf_t *buf, size_t sz, size_t *buf_flushlen) +flush_buf_tls_impl(tor_tls_t *tls, buf_t *buf, size_t sz, size_t *buf_flushlen) { int r; @@ -652,7 +653,7 @@ flush_buf_tls_impl(tor_tls *tls, buf_t *buf, size_t sz, size_t *buf_flushlen) /** As flush_buf(), but writes data to a TLS connection. */ int -flush_buf_tls(tor_tls *tls, buf_t *buf, size_t *buf_flushlen) +flush_buf_tls(tor_tls_t *tls, buf_t *buf, size_t *buf_flushlen) { int r; size_t flushed=0; |