diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-22 14:56:28 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-22 14:56:28 +0000 |
commit | 1725c0c8a50cb4de34157aee720af6753821f80c (patch) | |
tree | ff61e0f1234abc1a087456869a929d8a88d19463 /src/or/connection.c | |
parent | ef1be06de6d47daea90f8fccf9d627d083d4c071 (diff) | |
download | tor-1725c0c8a50cb4de34157aee720af6753821f80c.tar.gz tor-1725c0c8a50cb4de34157aee720af6753821f80c.zip |
Add DOCDOC comments for all undocumented functions. Add missing *s to other comments so that they will get recognized as doxygen.
svn:r17729
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 23da915560..b30cbe2acd 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -153,6 +153,7 @@ conn_state_to_string(int type, int state) return buf; } +/* DOCDOC dir_connection_new */ dir_connection_t * dir_connection_new(int socket_family) { @@ -160,6 +161,7 @@ dir_connection_new(int socket_family) connection_init(time(NULL), TO_CONN(dir_conn), CONN_TYPE_DIR, socket_family); return dir_conn; } +/* DOCDOC or_connection_new */ or_connection_t * or_connection_new(int socket_family) { @@ -172,6 +174,7 @@ or_connection_new(int socket_family) return or_conn; } +/* DOCDOC edge_connection_new */ edge_connection_t * edge_connection_new(int type, int socket_family) { @@ -182,6 +185,7 @@ edge_connection_new(int type, int socket_family) edge_conn->socks_request = tor_malloc_zero(sizeof(socks_request_t)); return edge_conn; } +/* DOCDOC control_connection_new */ control_connection_t * control_connection_new(int socket_family) { @@ -192,6 +196,7 @@ control_connection_new(int socket_family) return control_conn; } +/* DOCDOC connection_new */ connection_t * connection_new(int type, int socket_family) { @@ -806,6 +811,7 @@ create_unix_sockaddr(const char *listenaddress, char **readable_address) }; #endif /* HAVE_SYS_UN_H */ +/* DOCDOC warn_too_many_conns */ static void warn_too_many_conns(void) { |