tlds
Transactional Operations for Linked Data Structures
|
Classes | |
struct | jsw_avlnode |
struct | jsw_avltree |
struct | jsw_avltrav |
Macros | |
#define | HEIGHT_LIMIT 64 /* Tallest allowable tree */ |
#define | jsw_single(root, dir) |
#define | jsw_double(root, dir) |
#define | jsw_adjust_balance(root, dir, bal) |
#define | jsw_insert_balance(root, dir) |
#define | jsw_remove_balance(root, dir, done) |
Typedefs | |
typedef struct jsw_avlnode | jsw_avlnode_t |
#define HEIGHT_LIMIT 64 /* Tallest allowable tree */ |
#define jsw_adjust_balance | ( | root, | |
dir, | |||
bal | |||
) |
#define jsw_double | ( | root, | |
dir | |||
) |
#define jsw_insert_balance | ( | root, | |
dir | |||
) |
#define jsw_remove_balance | ( | root, | |
dir, | |||
done | |||
) |
#define jsw_single | ( | root, | |
dir | |||
) |
typedef struct jsw_avlnode jsw_avlnode_t |
void jsw_avldelete | ( | jsw_avltree_t * | tree | ) |
long jsw_avlerase | ( | jsw_avltree_t * | tree, |
void * | data | ||
) |
void* jsw_avlfind | ( | jsw_avltree_t * | tree, |
void * | data | ||
) |
long jsw_avlinsert | ( | jsw_avltree_t * | tree, |
void * | data | ||
) |
jsw_avltree_t* jsw_avlnew | ( | cmp_f | cmp | ) |
size_t jsw_avlsize | ( | jsw_avltree_t * | tree | ) |
void jsw_avltdelete | ( | jsw_avltrav_t * | trav | ) |
void* jsw_avltfirst | ( | jsw_avltrav_t * | trav, |
jsw_avltree_t * | tree | ||
) |
void* jsw_avltlast | ( | jsw_avltrav_t * | trav, |
jsw_avltree_t * | tree | ||
) |
jsw_avltrav_t* jsw_avltnew | ( | void | ) |
void* jsw_avltnext | ( | jsw_avltrav_t * | trav | ) |
void* jsw_avltprev | ( | jsw_avltrav_t * | trav | ) |
|
static |
|
static |
void Pjsw_avldelete | ( | jsw_avltree_t * | tree | ) |
long Pjsw_avlerase | ( | jsw_avltree_t * | tree, |
void * | data | ||
) |
long Pjsw_avlinsert | ( | jsw_avltree_t * | tree, |
void * | data | ||
) |
jsw_avltree_t* Pjsw_avlnew | ( | cmp_f | cmp | ) |
|
static |
|
static |