17 #ifndef APR_SKIPLIST_H
18 #define APR_SKIPLIST_H
void * apr_skiplist_next(apr_skiplist *sl, apr_skiplistnode **iter)
void apr_skiplist_free(apr_skiplist *sl, void *mem)
void * apr_skiplist_find(apr_skiplist *sl, void *data, apr_skiplistnode **iter)
void * apr_skiplist_peek(apr_skiplist *sl)
apr_skiplistnode * apr_skiplist_insert(apr_skiplist *sl, void *data)
void * apr_skiplist_pop(apr_skiplist *sl, apr_skiplist_freefunc myfree)
apr_skiplist * apr_skiplist_merge(apr_skiplist *sl1, apr_skiplist *sl2)
struct apr_skiplist apr_skiplist
Definition: apr_skiplist.h:58
struct apr_skiplistnode apr_skiplistnode
Definition: apr_skiplist.h:67
apr_status_t apr_skiplist_init(apr_skiplist **sl, apr_pool_t *p)
void(* apr_skiplist_freefunc)(void *)
Definition: apr_skiplist.h:53
apr_skiplistnode * apr_skiplist_insert_compare(apr_skiplist *sl, void *data, apr_skiplist_compare comp)
int(* apr_skiplist_compare)(void *, void *)
Definition: apr_skiplist.h:47
void apr_skiplist_set_compare(apr_skiplist *sl, apr_skiplist_compare XXX1, apr_skiplist_compare XXX2)
void * apr_skiplist_previous(apr_skiplist *sl, apr_skiplistnode **iter)
APR Platform Definitions.
void apr_skiplist_destroy(apr_skiplist *sl, apr_skiplist_freefunc myfree)
int apr_skiplist_remove_compare(apr_skiplist *sl, void *data, apr_skiplist_freefunc myfree, apr_skiplist_compare comp)
void * apr_skiplist_alloc(apr_skiplist *sl, size_t size)
void apr_skiplist_add_index(apr_skiplist *sl, apr_skiplist_compare XXX1, apr_skiplist_compare XXX2)
void * apr_skiplist_find_compare(apr_skiplist *sl, void *data, apr_skiplistnode **iter, apr_skiplist_compare func)
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
int apr_status_t
Definition: apr_errno.h:44
int apr_skiplist_remove(apr_skiplist *sl, void *data, apr_skiplist_freefunc myfree)
apr_skiplistnode * apr_skiplist_getlist(apr_skiplist *sl)
APR Portability Routines.
void apr_skiplist_remove_all(apr_skiplist *sl, apr_skiplist_freefunc myfree)