Elektra
0.8.11
|
Implementation of proposed API enhancements. More...
#include <string.h>
#include <kdbprivate.h>
Functions | |
const void * | keyUnescapedName (const Key *key) |
This keyname is null separated and does not use backslash for escaping. | |
ssize_t | keyGetUnescapedNameSize (const Key *key) |
return size of unescaped name | |
ssize_t | keySetStringF (Key *key, const char *format,...) |
Set a formatted string. | |
int | elektraArrayIncName (Key *key) |
Increment the name of the key by one. | |
int | elektraKsToMemArray (KeySet *ks, Key **buffer) |
Builds an array of pointers to the keys in the supplied keyset. | |
int | elektraKsFilter (KeySet *result, KeySet *input, int(*filter)(const Key *k, void *argument), void *argument) |
return only those keys from the given keyset that pass the supplied filter function with the supplied argument | |
KeySet * | elektraRenameKeys (KeySet *config, const char *name) |
Takes the first key and cuts off this common part for all other keys, instead name will be prepended. | |
elektraNamespace | keyGetNamespace (const Key *key) |
For currently valid namespaces see elektraNamespace. | |
int | keyLock (Key *key, enum elektraLockOptions what) |
Permanently locks a part of the key. | |
KeySet * | elektraArrayGet (const Key *arrayParent, KeySet *keys) |
Return all the array keys below the given arrayparent The arrayparent itself is not returned. | |
Key * | elektraArrayGetNextKey (KeySet *arrayKeys) |
Return the next key in the given array. | |
KeySet * | elektraKeyGetMetaKeySet (const Key *key) |
Return meta data as keyset. | |
Key * | ksPrev (KeySet *ks) |
Returns the previous Key in a KeySet. | |
Key * | ksPopAtCursor (KeySet *ks, cursor_t pos) |
Pop key at given cursor position. | |
Implementation of proposed API enhancements.