diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-04 19:51:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-04 19:59:08 -0400 |
commit | 173b18c79b8e1f3a28e8b4122adb2b4ccf836c7b (patch) | |
tree | efafbba046b207699cf9b3bf1ff3ff97ecba38c9 /src/or/connection.h | |
parent | b353cd7e508fd436ce4ec4bd55c52cc7619b29fd (diff) | |
download | tor-173b18c79b8e1f3a28e8b4122adb2b4ccf836c7b.tar.gz tor-173b18c79b8e1f3a28e8b4122adb2b4ccf836c7b.zip |
Add about 60 more DOCDOC comments to 0.2.3
Also, try to resolve some doxygen issues. First, define a magic
"This is doxygen!" macro so that we take the correct branch in
various #if/#else/#endifs in order to get the right documentation.
Second, add in a few grouping @{ and @} entries in order to get some
variables and fields to get grouped together.
Diffstat (limited to 'src/or/connection.h')
-rw-r--r-- | src/or/connection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/connection.h b/src/or/connection.h index bdeefa2549..215eb1b780 100644 --- a/src/or/connection.h +++ b/src/or/connection.h @@ -92,8 +92,10 @@ int connection_flush(connection_t *conn); void _connection_write_to_buf_impl(const char *string, size_t len, connection_t *conn, int zlib); +/* DOCDOC connection_write_to_buf */ static void connection_write_to_buf(const char *string, size_t len, connection_t *conn); +/* DOCDOC connection_write_to_buf_zlib */ static void connection_write_to_buf_zlib(const char *string, size_t len, dir_connection_t *conn, int done); static INLINE void @@ -108,7 +110,9 @@ connection_write_to_buf_zlib(const char *string, size_t len, _connection_write_to_buf_impl(string, len, TO_CONN(conn), done ? -1 : 1); } +/* DOCDOC connection_get_inbuf_len */ static size_t connection_get_inbuf_len(connection_t *conn); +/* DOCDOC connection_get_outbuf_len */ static size_t connection_get_outbuf_len(connection_t *conn); static INLINE size_t |