$darkmode
Elektra 0.11.0
|
Methods for accessing key names. More...
#include <kdb.h>
#include <string.h>
Functions | |
const char * | elektraKeyGetRelativeName (Key const *cur, Key const *parentKey) |
get relative position of key based on parentKey More... | |
Methods for accessing key names.
const char* elektraKeyGetRelativeName | ( | Key const * | cur, |
Key const * | parentKey | ||
) |
get relative position of key based on parentKey
If the parentKey does not fulfill the precondition, the result won't be the correct relative key of cur.
cur | the key below parentKey we want to get the relative basename of |
parentKey | the key that defines the root/base |