taskrambler  0.1.9
Web server and task management solution.
cleanup.c File Reference
#include "hash/hash.h"
#include "class.h"
+ Include dependency graph for cleanup.c:

Go to the source code of this file.

Functions

static void tDelete (const void *node, const int depth)
 
void hashCleanup (Hash this)
 

Detailed Description

Author
Georg Hopp

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 cleanup.c.

Function Documentation

void hashCleanup ( Hash  this)

Definition at line 35 of file cleanup.c.

References tDelete(), and treeDestroy().

Referenced by applicationSessionCleanup(), and hashDtor().

36 {
37  treeDestroy(&(this->root), tDelete);
38 }
static void tDelete(const void *node, const int depth)
Definition: cleanup.c:29
void treeDestroy(Tree *, TreeAction)
Definition: destroy.c:26

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void tDelete ( const void *  node,
const int  depth 
)
inlinestatic

Definition at line 29 of file cleanup.c.

Referenced by hashCleanup().

30 {
31  delete(node);
32 }

+ Here is the caller graph for this function: