My Project
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
rbtree_internal.h File Reference

Go to the source code of this file.

Macros

#define LEFT   0
 
#define RIGHT   1
 
#define COLOR_MASK   (RED|BLACK)
 

Typedefs

typedef enum rbtree_color rbtree_color_t
 

Enumerations

enum  rbtree_color { RED = 0, BLACK = 1 }
 

Functions

void rbtree_rotate (rbtree_t *tree, rbtree_node_t *node, int left)
 

Macro Definition Documentation

#define COLOR_MASK   (RED|BLACK)

Definition at line 12 of file rbtree_internal.h.

#define LEFT   0

Definition at line 3 of file rbtree_internal.h.

#define RIGHT   1

Definition at line 4 of file rbtree_internal.h.

Typedef Documentation

Enumeration Type Documentation

Enumerator
RED 
BLACK 

Definition at line 6 of file rbtree_internal.h.

Function Documentation

void rbtree_rotate ( rbtree_t tree,
rbtree_node_t node,
int  left 
)

Definition at line 5 of file rbtree_rotate.c.