#include <stdbool.h>
#include "generic_val.h"
#include "mem_manager.h"
#include "cskiplist_defs.h"
Go to the source code of this file.
|
typedef void(* | cskl_node_tostr) (void *node_val, int node_height, int max_height, char str[], int max_cskl_str_len) |
|
|
void | cskl_init () |
|
cskiplist_t * | cskl_new (void *lsentinel, void *rsentinel, int maxheight, val_cmp compare, val_cmp inrange, mem_alloc m_alloc) |
|
void | cskl_free (void *node) |
|
void * | cskl_cmp_find (cskiplist_t *cskl, void *val) |
|
void * | cskl_inrange_find (cskiplist_t *cskl, void *val) |
|
csklnode_t * | cskl_insert (cskiplist_t *cskl, void *value, mem_alloc m_alloc) |
|
bool | cskl_delete (cskiplist_t *cskl, void *value) |
|
bool | cskl_cmp_del_bulk_unsynch (cskiplist_t *cskl, void *low, void *high, mem_free m_free) |
|
bool | cskl_inrange_del_bulk_unsynch (cskiplist_t *cskl, void *low, void *high, mem_free m_free) |
|
void | cskl_levels_tostr (int height, int max_height, char str[], int max_cskl_str_len) |
|
void | cskl_append_node_str (char nodestr[], char csklstr[], int max_cskl_str_len) |
|
void | cskl_tostr (cskiplist_t *cskl, cskl_node_tostr node_tostr, char csklstr[], int max_cskl_str_len) |
|
void | cskl_dump (cskiplist_t *cskl, cskl_node_tostr node_tostr) |
|
void | cskl_print (cskiplist_t *cskl, cskl_node_tostr node_tostr) |
|
void | cskl_check_dump (cskiplist_t *cskl, cskl_node_tostr node_tostr) |
|
◆ MAX_CSKIPLIST_STR
#define MAX_CSKIPLIST_STR 65536 |
◆ OPAQUE_TYPE
◆ cskl_node_tostr
typedef void(* cskl_node_tostr) (void *node_val, int node_height, int max_height, char str[], int max_cskl_str_len) |
◆ cskl_append_node_str()
void cskl_append_node_str |
( |
char |
nodestr[], |
|
|
char |
csklstr[], |
|
|
int |
max_cskl_str_len |
|
) |
| |
◆ cskl_check_dump()
◆ cskl_cmp_del_bulk_unsynch()
bool cskl_cmp_del_bulk_unsynch |
( |
cskiplist_t * |
cskl, |
|
|
void * |
low, |
|
|
void * |
high, |
|
|
mem_free |
m_free |
|
) |
| |
◆ cskl_cmp_find()
◆ cskl_delete()
◆ cskl_dump()
◆ cskl_free()
void cskl_free |
( |
void * |
node | ) |
|
◆ cskl_init()
◆ cskl_inrange_del_bulk_unsynch()
bool cskl_inrange_del_bulk_unsynch |
( |
cskiplist_t * |
cskl, |
|
|
void * |
low, |
|
|
void * |
high, |
|
|
mem_free |
m_free |
|
) |
| |
◆ cskl_inrange_find()
void* cskl_inrange_find |
( |
cskiplist_t * |
cskl, |
|
|
void * |
val |
|
) |
| |
◆ cskl_insert()
◆ cskl_levels_tostr()
void cskl_levels_tostr |
( |
int |
height, |
|
|
int |
max_height, |
|
|
char |
str[], |
|
|
int |
max_cskl_str_len |
|
) |
| |
◆ cskl_new()
◆ cskl_print()
◆ cskl_tostr()