Elektra
0.8.24
|
Methods for Key name manipulation. More...
Functions | |
const char * | keyName (const Key *key) |
Returns a pointer to the abbreviated real internal key name. More... | |
ssize_t | keyGetNameSize (const Key *key) |
Bytes needed to store the key name without owner. More... | |
const void * | keyUnescapedName (const Key *key) |
Returns a keyname which is null separated and does not use backslash for escaping. More... | |
ssize_t | keyGetUnescapedNameSize (const Key *key) |
return size of unescaped name with embedded and terminating null characters More... | |
ssize_t | keyGetName (const Key *key, char *returnedName, size_t maxSize) |
Get abbreviated key name (without owner name). More... | |
ssize_t | keySetName (Key *key, const char *newName) |
Set a new name to a key. More... | |
ssize_t | keyGetFullNameSize (const Key *key) |
Bytes needed to store the key name including user domain and ending NULL. More... | |
ssize_t | keyGetFullName (const Key *key, char *returnedName, size_t maxSize) |
Get key full name, including the user domain name. More... | |
const char * | keyBaseName (const Key *key) |
Returns a pointer to the internal unescaped key name where the basename starts. More... | |
ssize_t | keyGetBaseNameSize (const Key *key) |
Calculates number of bytes needed to store basename of key . More... | |
ssize_t | keyGetBaseName (const Key *key, char *returned, size_t maxSize) |
Calculate the basename of a key name and put it in returned finalizing the string with NULL. More... | |
ssize_t | keyAddBaseName (Key *key, const char *baseName) |
Adds baseName (that will be escaped) to the current key name. More... | |
ssize_t | keyAddName (Key *key, const char *newName) |
Add an already escaped name to the keyname. More... | |
ssize_t | keySetBaseName (Key *key, const char *baseName) |
Sets baseName as the new basename for key . More... | |
elektraNamespace | keyGetNamespace (const Key *key) |
For currently valid namespaces see elektraNamespace. More... | |
Methods for Key name manipulation.