summaryrefslogtreecommitdiff
path: root/src/common/container.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-06-18 07:21:35 +0000
committerNick Mathewson <nickm@torproject.org>2006-06-18 07:21:35 +0000
commit78428dccdbd47af0ca8d39b40c8a3e512d1c1036 (patch)
treec12ae117ccc9984d08efe98e2df4bfa59691b9b3 /src/common/container.h
parent7a3ac5ee0d9c08529404068dd47011ca1ef0bc08 (diff)
downloadtor-78428dccdbd47af0ca8d39b40c8a3e512d1c1036.tar.gz
tor-78428dccdbd47af0ca8d39b40c8a3e512d1c1036.zip
Add smartlist_reverse and smartlist_pop_last.
svn:r6634
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 83c0f28229..40cf13f4fa 100644
--- a/src/common/container.h
+++ b/src/common/container.h
@@ -29,6 +29,8 @@ void smartlist_clear(smartlist_t *sl);
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, const void *element);
+void *smartlist_pop_last(smartlist_t *sl);
+void smartlist_reverse(smartlist_t *sl);
void smartlist_string_remove(smartlist_t *sl, const char *element);
int smartlist_isin(const smartlist_t *sl, const void *element);
int smartlist_string_isin(const smartlist_t *sl, const char *element);