summaryrefslogtreecommitdiff
path: root/src/common/container.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-10-06 04:33:40 +0000
committerNick Mathewson <nickm@torproject.org>2005-10-06 04:33:40 +0000
commitba24193ab51bec6f7c451c622f6476a7ab6adc42 (patch)
tree6b6cf18501bb696e4a19399c1030bf697b83d053 /src/common/container.c
parente53f1ccbfcb667bda30ce9ee5a42cc3be9efc80a (diff)
downloadtor-ba24193ab51bec6f7c451c622f6476a7ab6adc42.tar.gz
tor-ba24193ab51bec6f7c451c622f6476a7ab6adc42.zip
Make doxygen marginally happier
svn:r5208
Diffstat (limited to 'src/common/container.c')
-rw-r--r--src/common/container.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/container.c b/src/common/container.c
index 88f0ca4336..e681a5df18 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -29,8 +29,9 @@ const char container_c_id[] = "$Id$";
#define SMARTLIST_DEFAULT_CAPACITY 32
#ifndef FAST_SMARTLIST
+/** A resizeable list of pointers, with associated helpful functionality. */
struct smartlist_t {
- /** <b>list</b> has enough capacity to store exactly <b>capacity</b> elements
+ /* <b>list</b> has enough capacity to store exactly <b>capacity</b> elements
* before it needs to be resized. Only the first <b>num_used</b> (\<=
* capacity) elements point to valid data.
*/
@@ -484,14 +485,14 @@ smartlist_sort_strings(smartlist_t *sl)
smartlist_sort(sl, _compare_string_ptrs);
}
-/** Splay-tree implementation of string-to-void* map
- */
+/** A node in a strmap_t string-to-void* map. */
typedef struct strmap_entry_t {
SPLAY_ENTRY(strmap_entry_t) node;
char *key;
void *val;
} strmap_entry_t;
+/** Splay-tree implementation of string-to-void* map */
struct strmap_t {
SPLAY_HEAD(strmap_tree, strmap_entry_t) head;
};