summaryrefslogtreecommitdiff
path: root/src/common/container.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-06-11 05:31:17 +0000
committerRoger Dingledine <arma@torproject.org>2005-06-11 05:31:17 +0000
commitfcd0fc3364947071944cba0420d27cf267a3b146 (patch)
tree289418a85330d1db1eeff9f844ac56c69b688580 /src/common/container.c
parent691265df0c5b7c0c9da78c7513fe2385665d9a55 (diff)
downloadtor-fcd0fc3364947071944cba0420d27cf267a3b146.tar.gz
tor-fcd0fc3364947071944cba0420d27cf267a3b146.zip
flesh out the source file descriptions for doxygen
svn:r4404
Diffstat (limited to 'src/common/container.c')
-rw-r--r--src/common/container.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/common/container.c b/src/common/container.c
index f892cd6773..dea3f71622 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -4,6 +4,13 @@
/* $Id$ */
const char container_c_id[] = "$Id$";
+/**
+ * \file container.c
+ * \brief Implements a smartlist (a resizable array) along
+ * with helper functions to use smartlists. Also includes a
+ * splay-tree implementation of the string-to-void* map.
+ **/
+
#include "compat.h"
#include "util.h"
#include "log.h"
@@ -17,10 +24,6 @@ const char container_c_id[] = "$Id$";
#include <string.h>
#include <assert.h>
-/* =====
- * smartlist_t: a simple resizeable array abstraction.
- * ===== */
-
/* All newly allocated smartlists have this capacity.
*/
#define SMARTLIST_DEFAULT_CAPACITY 32