Elektra 0.8.26
kdbproposal.h File Reference

Proposed declarations. More...

#include <kdb.h>
Include dependency graph for kdbproposal.h:
This graph shows which files directly or indirectly include this file:

Enumerations

enum  elektraLockOptions { KEY_LOCK_NAME = 1 << 17 , KEY_LOCK_VALUE = 1 << 18 , KEY_LOCK_META = 1 << 19 }
 Lock options. More...
enum  elektraLookupOptions {
  KDB_O_SPEC = 1 << 15 , KDB_O_CREATE = 1 << 16 , KDB_O_NOCASCADING = 1 << 17 , KDB_O_NOSPEC = 1 << 18 ,
  KDB_O_NODEFAULT = 1 << 19 , KDB_O_CALLBACK = 1 << 20 , KDB_O_OPMPHM = 1 << 21 , KDB_O_BINSEARCH = 1 << 22
}
 More lookup options. More...

Functions

ssize_t keySetStringF (Key *key, const char *format,...)
 Set a formatted string.
int elektraKsToMemArray (KeySet *ks, Key **buffer)
 Builds an array of pointers to the keys in the supplied keyset.
KeySet * ksRenameKeys (KeySet *config, const Key *name)
 Takes the first key and cuts off this common part for all other keys, instead name will be prepended.
int keyLock (Key *key, option_t what)
 Permanently locks a part of the key.
KeySet * elektraKeyGetMetaKeySet (const Key *key)
 Return metadata as keyset.
Key * ksPrev (KeySet *ks)
 Returns the previous Key in a KeySet.
Key * ksPopAtCursor (KeySet *ks, cursor_t c)
 Pop key at given cursor position.
int keyRel2 (const Key *k1, const Key *k2, KeyRelType which)
 Replacement proposal for keyRel.
Key * keyAsCascading (const Key *key)
 keyRel replacement

Detailed Description

Proposed declarations.

These functions are likely not API/ABI stable.