GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LDT / V0-3-2
Constituent: encdec     Tag: mv2304
#include <stdlib.h>
#include "LDT/BTREE.h"
Include dependency graph for BTREE.c:
Functions | |
void | BTREE_init (BTREE *tree, BTREE_destroy destroy) |
Initializes the context control structure. | |
void | BTREE_free (BTREE *tree) |
Frees all the data associated with the specified tree. | |
int | BTREE_insertL (BTREE *tree, BTREE_node *node, const void *data) |
Inserts the data as the left node of the specified node. | |
int | BTREE_insertR (BTREE *tree, BTREE_node *node, const void *data) |
Inserts the data as the right node of the specified node. | |
void | BTREE_removeL (BTREE *tree, BTREE_node *node) |
Removes the left node and all its branches. | |
void | BTREE_removeR (BTREE *tree, BTREE_node *node) |
Removes the right node and all its branches. | |
int | BTREE_merge (BTREE *merge, BTREE *left, BTREE *right, const void *data) |
Merges two trees into a single parent tree, adding the data of the merged tree. |
CVS $Id
|
Frees all the data associated with the specified tree.
|
|
Initializes the context control structure.
|
|
Inserts the data as the left node of the specified node.
|
|
Inserts the data as the right node of the specified node.
|
|
Merges two trees into a single parent tree, adding the data of the merged tree.
|
|
Removes the left node and all its branches.
|
|
Removes the right node and all its branches.
|