diff options
author | Roger Dingledine <arma@torproject.org> | 2005-01-12 04:53:53 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-01-12 04:53:53 +0000 |
commit | 51f47d746e602b4043b054acb733e9e389361c30 (patch) | |
tree | 23c33f4a9353a8682879a4bfc55ab514b9532389 /src/common/container.h | |
parent | 70b3208f0aabf8952e6cf461fba88edc8ea699b8 (diff) | |
download | tor-51f47d746e602b4043b054acb733e9e389361c30.tar.gz tor-51f47d746e602b4043b054acb733e9e389361c30.zip |
clean up smartlist_string_isin so callers don't have to manage bufs
themselves
svn:r3338
Diffstat (limited to 'src/common/container.h')
-rw-r--r-- | src/common/container.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/container.h b/src/common/container.h index 9cd7bf289d..352433272a 100644 --- a/src/common/container.h +++ b/src/common/container.h @@ -31,6 +31,7 @@ void smartlist_add_all(smartlist_t *sl, const smartlist_t *s2); void smartlist_remove(smartlist_t *sl, void *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); int smartlist_overlap(const smartlist_t *sl1, const smartlist_t *sl2); void smartlist_intersect(smartlist_t *sl1, const smartlist_t *sl2); void smartlist_subtract(smartlist_t *sl1, const smartlist_t *sl2); |