Elektra  0.8.16
trie.c File Reference

Interna of trie functionality. More...

#include "kdbinternal.h"
Include dependency graph for trie.c:

Functions

Backend * elektraTrieLookup (Trie *trie, const Key *key)
 Internal Datastructure for mountpoints. More...
 
int elektraTrieClose (Trie *trie, Key *errorKey)
 Closes the trie and all opened backends within. More...
 

Detailed Description

Interna of trie functionality.

Function Documentation

int elektraTrieClose ( Trie *  trie,
Key *  errorKey 
)

Closes the trie and all opened backends within.

Parameters
triethe trie to close
errorKeythe key used to report warnings
Return values
0on success
Backend* elektraTrieLookup ( Trie *  trie,
const Key *  key 
)

Internal Datastructure for mountpoints.

Lookups a backend inside the trie.

Returns
the backend if found
0 otherwise
Parameters
triethe trie object to work with
keythe name of this key will be looked up