taskrambler
0.1.9
Web server and task management solution.
|
#include "tree.h"
Go to the source code of this file.
Functions | |
Tree | inOrderSuccessor (Tree) |
void | treeRotateLeft (Tree *, Tree) |
void | treeRotateRight (Tree *, Tree) |
void * | treeDelete (Tree *this, const void *search, TreeComp comp) |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file tree/delete.c.
Tree inOrderSuccessor | ( | Tree | ) |
Definition at line 26 of file inOrderSuccessor.c.
References TREE_LEFT, and TREE_RIGHT.
Referenced by treeDelete().
void* treeDelete | ( | Tree * | this, |
const void * | search, | ||
TreeComp | comp | ||
) |
Definition at line 31 of file tree/delete.c.
References comp(), inOrderSuccessor(), rbBlack, rbRed, TREE_CHILD, TREE_LEFT, TREE_PARENT, TREE_REPLACE_NODE, TREE_RIGHT, TREE_SIBLING, treeRotateLeft(), and treeRotateRight().
Referenced by hashDelete(), hashDeleteByVal(), and main().
void treeRotateLeft | ( | Tree * | , |
Tree | |||
) |
Definition at line 26 of file rotateLeft.c.
Referenced by treeDelete().
void treeRotateRight | ( | Tree * | , |
Tree | |||
) |
Definition at line 26 of file rotateRight.c.
Referenced by treeDelete().