Elektra
0.8.14
|
Private declarations. More...
#include <kdb.h>
#include <kdbtypes.h>
#include <kdbhelper.h>
#include <kdbconfig.h>
#include <kdbplugin.h>
#include <kdbproposal.h>
#include <kdbextension.h>
#include <limits.h>
Macros | |
#define | KEYSET_SIZE 16 |
The minimal allocation size of a keyset inclusive NULL byte. More... | |
#define | NR_OF_PLUGINS 10 |
How many plugins can exist in an backend. More... | |
#define | COMMIT_PLUGIN 7 |
The index of the commit plugin. | |
#define | STORAGE_PLUGIN 5 |
The index of the storage plugin. | |
#define | RESOLVER_PLUGIN 0 |
The index of the resolver plugin. | |
#define | APPROXIMATE_NR_OF_BACKENDS 16 |
Trie optimization. | |
#define | MAX_LEN_INT 31 |
The maximum of how many characters an integer needs as decimal number. More... | |
#define | KDB_KEY_MOUNTPOINTS "system/elektra/mountpoints" |
Backend mounting information. More... | |
#define | test_bit(var, bit) ((var) & (bit)) |
Test a bit. More... | |
#define | set_bit(var, bit) ((var) |= (bit)) |
Set a bit. More... | |
#define | clear_bit(var, bit) ((var) &= ~(bit)) |
Clear a bit. More... | |
Enumerations | |
enum | keyflag_t { KEY_FLAG_SYNC =1, KEY_FLAG_RO_NAME =1<<1, KEY_FLAG_RO_VALUE =1<<2, KEY_FLAG_RO_META =1<<3 } |
Key Flags. More... | |
enum | ksflag_t { KS_FLAG_SYNC =1 } |
Ks Flags. More... | |
enum | splitflag_t { SPLIT_FLAG_SYNC =1, SPLIT_FLAG_CASCADING =1<<1 } |
Private declarations.
#define clear_bit | ( | var, | |
bit | |||
) | ((var) &= ~(bit)) |
Clear a bit.
#define KDB_KEY_MOUNTPOINTS "system/elektra/mountpoints" |
Backend mounting information.
This key directory tells you where each backend is mounted to which mountpoint.
#define KEYSET_SIZE 16 |
The minimal allocation size of a keyset inclusive NULL byte.
ksGetAlloc() will return one less because it says how much can actually be stored.
#define MAX_LEN_INT 31 |
The maximum of how many characters an integer needs as decimal number.
#define NR_OF_PLUGINS 10 |
How many plugins can exist in an backend.
#define set_bit | ( | var, | |
bit | |||
) | ((var) |= (bit)) |
Set a bit.
#define test_bit | ( | var, | |
bit | |||
) | ((var) & (bit)) |
Test a bit.
enum keyflag_t |
Key Flags.
Store a synchronizer state so that the Elektra knows if something has changed or not.
enum ksflag_t |
enum splitflag_t |