Elektra  0.8.18
Functions
ease/keyname.c File Reference

Methods for accessing key names. More...

#include <kdb.h>
#include <string.h>
Include dependency graph for ease/keyname.c:

Functions

const char * elektraKeyGetRelativeName (Key const *cur, Key const *parentKey)
 get relative position of key based on parentKey More...
 

Detailed Description

Methods for accessing key names.

Function Documentation

const char* elektraKeyGetRelativeName ( Key const *  cur,
Key const *  parentKey 
)

get relative position of key based on parentKey

Parameters
curthe key below parentKey we want to get the relative basename of
parentKeythe key that defines the root/base
Returns
a pointer to the name of the key cur