tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
avltree.h File Reference
#include <stddef.h>
#include "tm.h"
Include dependency graph for avltree.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct jsw_avltree jsw_avltree_t
 
typedef struct jsw_avltrav jsw_avltrav_t
 
typedef long(* cmp_f )(const void *p1, const void *p2)
 

Functions

jsw_avltree_tjsw_avlnew (cmp_f cmp)
 
jsw_avltree_tPjsw_avlnew (cmp_f cmp)
 
void jsw_avldelete (jsw_avltree_t *tree)
 
void Pjsw_avldelete (jsw_avltree_t *tree)
 
void * jsw_avlfind (jsw_avltree_t *tree, void *data)
 
void * Pjsw_avlfind (jsw_avltree_t *tree, void *data)
 
long jsw_avlinsert (jsw_avltree_t *tree, void *data)
 
long Pjsw_avlinsert (jsw_avltree_t *tree, void *data)
 
long jsw_avlerase (jsw_avltree_t *tree, void *data)
 
long Pjsw_avlerase (jsw_avltree_t *tree, void *data)
 
size_t jsw_avlsize (jsw_avltree_t *tree)
 
jsw_avltrav_tjsw_avltnew (void)
 
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)
 
void * jsw_avltnext (jsw_avltrav_t *trav)
 
void * jsw_avltprev (jsw_avltrav_t *trav)
 

Typedef Documentation

typedef long(* cmp_f)(const void *p1, const void *p2)
typedef struct jsw_avltrav jsw_avltrav_t
typedef struct jsw_avltree jsw_avltree_t

Function Documentation

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 
)

Here is the call graph for this function:

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 
)

Here is the call graph for this function:

void* jsw_avltlast ( jsw_avltrav_t trav,
jsw_avltree_t tree 
)

Here is the call graph for this function:

jsw_avltrav_t* jsw_avltnew ( void  )
void* jsw_avltnext ( jsw_avltrav_t trav)

Here is the call graph for this function:

void* jsw_avltprev ( jsw_avltrav_t trav)

Here is the call graph for this function:

void Pjsw_avldelete ( jsw_avltree_t tree)
long Pjsw_avlerase ( jsw_avltree_t tree,
void *  data 
)
void* Pjsw_avlfind ( jsw_avltree_t tree,
void *  data 
)
long Pjsw_avlinsert ( jsw_avltree_t tree,
void *  data 
)

Here is the call graph for this function:

jsw_avltree_t* Pjsw_avlnew ( cmp_f  cmp)