Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Trie.c File Reference
#include "Trie.h"
#include <string.h>
#include <stdio.h>
Include dependency graph for Trie.c:

Go to the source code of this file.

Functions

struct Trie_nodeTrie_node_init_empty ()
 
struct Trie_nodeTrie_node_init_noalloc (void *payload, size_t size)
 
int Trie_node_set (struct Trie_node *tn, void *payload, size_t size)
 
void Trie_node_free_payload (struct Trie_node *tn)
 
void Trie_node_release (struct Trie_node *tn)
 
int Trie_init (struct Trie *tr)
 
int Trie_release (struct Trie *tr)
 
int Trie_set (struct Trie *tr, char *key, void *payload, size_t size)
 
int Trie_set_no_alloc (struct Trie *tr, char *key, void *payload, size_t size)
 
int _Trie_delete (struct Trie_node *tn, char *key, int depth)
 
void Trie_delete (struct Trie *tr, char *key)
 

Function Documentation

int _Trie_delete ( struct Trie_node tn,
char *  key,
int  depth 
)

Definition at line 128 of file Trie.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void Trie_delete ( struct Trie tr,
char *  key 
)

Definition at line 175 of file Trie.c.

Here is the call graph for this function:

int Trie_init ( struct Trie tr)

Definition at line 83 of file Trie.c.

Here is the call graph for this function:

void Trie_node_free_payload ( struct Trie_node tn)

Definition at line 53 of file Trie.c.

Here is the caller graph for this function:

struct Trie_node* Trie_node_init_empty ( )

Definition at line 6 of file Trie.c.

Here is the caller graph for this function:

struct Trie_node* Trie_node_init_noalloc ( void *  payload,
size_t  size 
)

Definition at line 21 of file Trie.c.

Here is the call graph for this function:

void Trie_node_release ( struct Trie_node tn)

Definition at line 64 of file Trie.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int Trie_node_set ( struct Trie_node tn,
void *  payload,
size_t  size 
)

Definition at line 34 of file Trie.c.

Here is the caller graph for this function:

int Trie_release ( struct Trie tr)

Definition at line 89 of file Trie.c.

Here is the call graph for this function:

int Trie_set ( struct Trie tr,
char *  key,
void *  payload,
size_t  size 
)

Definition at line 97 of file Trie.c.

Here is the call graph for this function:

int Trie_set_no_alloc ( struct Trie tr,
char *  key,
void *  payload,
size_t  size 
)

Definition at line 112 of file Trie.c.

Here is the call graph for this function: