summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2015-03-07 00:55:16 +0000
committerylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2015-03-07 00:55:16 +0000
commit570e0f9aef76a5ca6e92dd478e6cb2d9b2ce0dc3 (patch)
tree61f0a6d523ae3a9c9cefce83260f22b6fd5eb6fd /include
parent2bf374b4fdf6e46a65c7c1c6cbc3a8bdf15c5978 (diff)
downloadlibapr-570e0f9aef76a5ca6e92dd478e6cb2d9b2ce0dc3.tar.gz
skiplist: provide apr_skiplist_element().
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1664770 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/apr_skiplist.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/apr_skiplist.h b/include/apr_skiplist.h
index cf700e564..8ea17a9be 100644
--- a/include/apr_skiplist.h
+++ b/include/apr_skiplist.h
@@ -171,6 +171,12 @@ APR_DECLARE(void *) apr_skiplist_next(apr_skiplist *sl, apr_skiplistnode **iter)
APR_DECLARE(void *) apr_skiplist_previous(apr_skiplist *sl, apr_skiplistnode **iter);
/**
+ * Return the element of the skip list node
+ * @param iter The skip list node
+ */
+APR_DECLARE(void *) apr_skiplist_element(apr_skiplistnode *iter);
+
+/**
* Insert an element into the skip list using the specified comparison function
* allowing for duplicates.
* @param sl The skip list