summaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-02-02 20:06:43 +0000
committerNick Mathewson <nickm@torproject.org>2007-02-02 20:06:43 +0000
commitfefba953634ef35e2ec83716924c84a375e86ad6 (patch)
tree58f786243ef3553a70dedc8f34db668764071099 /src/or/circuitlist.c
parente521c96cb191ae746e06304b6bba49d925f63469 (diff)
downloadtor-fefba953634ef35e2ec83716924c84a375e86ad6.tar.gz
tor-fefba953634ef35e2ec83716924c84a375e86ad6.zip
r11629@catbus: nickm | 2007-02-02 15:06:17 -0500
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r--src/or/circuitlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 2f01f75fde..2296ca765f 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -48,12 +48,14 @@ _orconn_circid_entries_eq(orconn_circid_circuit_map_t *a,
return a->or_conn == b->or_conn && a->circ_id == b->circ_id;
}
+/** DOCDOC */
static INLINE unsigned int
_orconn_circid_entry_hash(orconn_circid_circuit_map_t *a)
{
return (((unsigned)a->circ_id)<<16) ^ (unsigned)(uintptr_t)(a->or_conn);
}
+/** DOCDOC */
static HT_HEAD(orconn_circid_map, orconn_circid_circuit_map_t)
orconn_circid_circuit_map = HT_INITIALIZER();
HT_PROTOTYPE(orconn_circid_map, orconn_circid_circuit_map_t, node,
@@ -279,6 +281,7 @@ origin_circuit_new(void)
return circ;
}
+/** DOCDOC */
or_circuit_t *
or_circuit_new(uint16_t p_circ_id, or_connection_t *p_conn)
{