Elektra
0.8.20
|
Methods for making tests. More...
Functions | |
int | keyNeedSync (const Key *key) |
Test if a key needs to be synced to backend storage. More... | |
int | keyIsBelow (const Key *key, const Key *check) |
Check if the key check is below the key key or not. More... | |
int | keyIsBelowOrSame (const Key *key, const Key *check) |
Check if a key is below or same or not. More... | |
int | keyIsDirectBelow (const Key *key, const Key *check) |
Check if the key check is direct below the key key or not. More... | |
int | keyRel (const Key *key, const Key *check) |
Information about the relation in the hierarchy between two keys. More... | |
int | keyIsInactive (const Key *key) |
Check whether a key is inactive. More... | |
int | keyIsBinary (const Key *key) |
Check if a key is binary type. More... | |
int | keyIsString (const Key *key) |
Check if a key is string type. More... | |
keyswitch_t | keyCompare (const Key *key1, const Key *key2) |
int | keyCompareMeta (const Key *k1, const Key *k2) |
Compares metadata of two keys. More... | |
Methods for making tests.
int keyCompareMeta | ( | const Key * | k1, |
const Key * | k2 | ||
) |
Compares metadata of two keys.
KEY_META | if there is a difference |
0 | if metadata is identical |
int keyIsBelowOrSame | ( | const Key * | key, |
const Key * | check | ||
) |
Check if a key is below or same or not.
key | the key object to work with |