diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-06 21:19:59 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-06 21:19:59 +0000 |
commit | 8b371c2aa536c30926bcf48e1ff2a756e139a08d (patch) | |
tree | b33b19f97f8e1d897e0b48df797a2009ab921ad6 /src/common/util.h | |
parent | 2fc106d2101edd80a7ba8cdcc9f49522619ba9cf (diff) | |
download | tor-8b371c2aa536c30926bcf48e1ff2a756e139a08d.tar tor-8b371c2aa536c30926bcf48e1ff2a756e139a08d.tar.gz |
router_choose_random_node wants a smartlist of routers, not of nicknames.
svn:r1510
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index 48f06e424..0500b1fe1 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -102,6 +102,7 @@ typedef struct smartlist_t smartlist_t; smartlist_t *smartlist_create(); void smartlist_free(smartlist_t *sl); void smartlist_set_capacity(smartlist_t *sl, int n); +void smartlist_clear(smartlist_t *sl); void smartlist_add(smartlist_t *sl, void *element); void smartlist_remove(smartlist_t *sl, void *element); int smartlist_isin(smartlist_t *sl, void *element); |