#include "Trie.h"
#include <string.h>
#include <stdio.h>
Go to the source code of this file.
|
struct Trie_node * | Trie_node_init_empty () |
|
struct Trie_node * | Trie_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) |
|
int _Trie_delete |
( |
struct Trie_node * |
tn, |
|
|
char * |
key, |
|
|
int |
depth |
|
) |
| |
void Trie_delete |
( |
struct Trie * |
tr, |
|
|
char * |
key |
|
) |
| |
int Trie_init |
( |
struct Trie * |
tr | ) |
|
void Trie_node_free_payload |
( |
struct Trie_node * |
tn | ) |
|
Definition at line 6 of file Trie.c.
struct Trie_node* Trie_node_init_noalloc |
( |
void * |
payload, |
|
|
size_t |
size |
|
) |
| |
void Trie_node_release |
( |
struct Trie_node * |
tn | ) |
|
int Trie_node_set |
( |
struct Trie_node * |
tn, |
|
|
void * |
payload, |
|
|
size_t |
size |
|
) |
| |
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 |
|
) |
| |