table of contents
| keytest.c(3elektra) | Elektra | keytest.c(3elektra) |
NAME¶
keytest.c - Methods for making tests.
SYNOPSIS¶
#include 'kdb.h'
#include 'kdbinternal.h'
#include 'kdbprivate.h'
Functions¶
int keyNeedSync (const Key *key)
Test if a key needs to be synced to backend storage. int keyIsBelow
(const Key *key, const Key *check)
Check if the key check is below the key key or not. " int
keyIsBelowOrSame (const Key *key, const Key *check)
Check if a key is below or same or not. int keyIsDirectBelow (const Key
*key, const Key *check)
Check if the key check is direct below the key key or not. " int
keyRel (const Key *key, const Key *check)
Information about the relation in the hierarchy between two keys. " int
keyIsInactive (const Key *key)
Check whether a key is inactive. int keyIsBinary (const Key *key)
Check if a key is binary type. int keyIsString (const Key *key)
Check if a key is string type. keyswitch_t keyCompare (const Key
*key1, const Key *key2)
" int keyCompareMeta (const Key *k1, const Key *k2)
Compares metadata of two keys.
Detailed Description¶
Methods for making tests.
Copyright:
Function Documentation¶
int keyCompareMeta (const Key * k1, const Key * k2)¶
Compares metadata of two keys.
Return values:
0 if metadata is identical
int keyIsBelowOrSame (const Key * key, const Key * check)¶
Check if a key is below or same or not.
Parameters:
See also:
Author¶
Generated automatically by Doxygen for Elektra from the source code.
| Mon Jan 15 2018 | Version 0.8.20 |