Functions

Internal Datastructure for mountpoints

Functions

BackendelektraTrieLookup (Trie *trie, const Key *key)
int elektraTrieClose (Trie *trie, Key *errorKey)

Function Documentation

int elektraTrieClose ( Trie trie,
Key errorKey 
)

Closes the trie and all opened backends within.

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

Lookups a backend inside the trie.

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