Elektra  0.8.12
Modules | Enumerations
Proposals for Elektra

Might be added to, changed or removed from future Elektra releases. More...

Modules

 Meta Data proposal+compatibility
 

Meta data proposal+compatibility methods.


 API Proposals for Elektra
 

for kdb.h.


Enumerations

enum  elektraLockOptions
 Lock options.
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
}
 More lookup options. More...
enum  elektraNamespace {
  KEY_NS_NONE = 0, KEY_NS_EMPTY = 1, KEY_NS_META = 2, KEY_NS_CASCADING = 3,
  KEY_NS_FIRST = 4, KEY_NS_SPEC = 4, KEY_NS_PROC = 5, KEY_NS_DIR = 6,
  KEY_NS_USER = 7, KEY_NS_SYSTEM = 8, KEY_NS_LAST = 8
}
 Elektra currently supported Key namespaces. More...

Detailed Description

Might be added to, changed or removed from future Elektra releases.


Enumeration Type Documentation

More lookup options.

Enumerator:
KDB_O_SPEC 

Use the passed key as specification, instead of looking up the specification first.

KDB_O_CREATE 

Create the key if it was not found.

KDB_O_NOCASCADING 

Disable cascading search for keys starting with /.

KDB_O_NOSPEC 

Do not use specification for cascading keys (internal)

KDB_O_NODEFAULT 

Do not honor the default spec (internal)

Elektra currently supported Key namespaces.

See also:
kdbGet(), keyGetNamespace()
Enumerator:
KEY_NS_NONE 

no key given as parameter to keyGetNamespace()

KEY_NS_EMPTY 

key name was empty, e.g. invalid key name

KEY_NS_META 

meta key, i.e. any key name not under other categories

KEY_NS_CASCADING 

cascading key, starts with /, abstract name for any of the namespaces below

KEY_NS_FIRST 

For iteration over namespaces (first element, inclusive)

KEY_NS_SPEC 

spec contains the specification of the other namespaces

KEY_NS_PROC 

proc contains process-specific configuration

KEY_NS_DIR 

dir contains configuration from a specific directory

KEY_NS_USER 

user key in the home directory of the current user

KEY_NS_SYSTEM 

system key is shared for a computer system

KEY_NS_LAST 

For iteration over namespaces (last element, inclusive)