From 3c691b9da696f78049845b7b14e084c902df9ad6 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 13 Feb 2007 01:27:55 +0000 Subject: 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 --- src/common/container.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/container.h') 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); -- cgit v1.2.3-54-g00ecf