From ff545c3103c55b02b1239465b78033d6b937eda5 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 3 Apr 2005 05:52:32 +0000 Subject: Add useful smartlist_string_remove function. svn:r3996 --- src/common/container.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/container.h') diff --git a/src/common/container.h b/src/common/container.h index f003c03d5a..60a13c5965 100644 --- a/src/common/container.h +++ b/src/common/container.h @@ -30,6 +30,7 @@ void smartlist_truncate(smartlist_t *sl, int n); void smartlist_add(smartlist_t *sl, void *element); void smartlist_add_all(smartlist_t *sl, const smartlist_t *s2); void smartlist_remove(smartlist_t *sl, void *element); +void smartlist_string_remove(smartlist_t *sl, const char *element); int smartlist_isin(const smartlist_t *sl, void *element); int smartlist_string_isin(const smartlist_t *sl, const char *element); int smartlist_string_num_isin(const smartlist_t *sl, int num); -- cgit v1.2.3-54-g00ecf