summaryrefslogtreecommitdiff
path: root/src/common/container.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-02-13 01:27:55 +0000
committerNick Mathewson <nickm@torproject.org>2007-02-13 01:27:55 +0000
commit3c691b9da696f78049845b7b14e084c902df9ad6 (patch)
tree561ca0c5262b5bc6677ad73210c6d054fee39cf5 /src/common/container.h
parentdc4c1f1b21370b3c4ab0bd4d59131284ab2c3839 (diff)
downloadtor-3c691b9da696f78049845b7b14e084c902df9ad6.tar.gz
tor-3c691b9da696f78049845b7b14e084c902df9ad6.zip
r11785@catbus: nickm | 2007-02-12 20:27:48 -0500
Node-picking fixes: Never warn when a down node is listed in a config option (bug 348); always warn when a node in a config option is unnamed. Also, when entrynodes is configured, then build the guard list as: (parts of EntryNodes that were guards before), (the rest of EntryNodes), (the rest of the old guards). This last point ensures that EntryNode users will get the EntryNodes they want with the minimum change to their guard list. svn:r9574
Diffstat (limited to 'src/common/container.h')
-rw-r--r--src/common/container.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/container.h b/src/common/container.h
index 236b011648..ff2d3cb011 100644
--- a/src/common/container.h
+++ b/src/common/container.h
@@ -43,6 +43,8 @@ int smartlist_string_isin(const smartlist_t *sl, const char *element)
int smartlist_string_isin_case(const smartlist_t *sl, const char *element)
ATTR_PURE;
int smartlist_string_num_isin(const smartlist_t *sl, int num) ATTR_PURE;
+int smartlist_digest_isin(const smartlist_t *sl, const char *element)
+ ATTR_PURE;
int smartlist_overlap(const smartlist_t *sl1, const smartlist_t *sl2)
ATTR_PURE;
void smartlist_intersect(smartlist_t *sl1, const smartlist_t *sl2);