Elektra  0.8.19
Functions
keymeta.c File Reference

Methods to do various operations on Key metadata. More...

#include <kdb.h>
#include <kdbconfig.h>
#include <kdbprivate.h>
Include dependency graph for keymeta.c:

Functions

int keyRewindMeta (Key *key)
 Rewind the internal iterator to first metadata. More...
 
const Key * keyNextMeta (Key *key)
 Iterate to the next meta information. More...
 
const Key * keyCurrentMeta (const Key *key)
 Returns the Value of a Meta-Information which is current. More...
 
int keyCopyMeta (Key *dest, const Key *source, const char *metaName)
 Do a shallow copy of metadata from source to dest. More...
 
int keyCopyAllMeta (Key *dest, const Key *source)
 Do a shallow copy of all metadata from source to dest. More...
 
const Key * keyGetMeta (const Key *key, const char *metaName)
 Returns the Value of a Meta-Information given by name. More...
 
ssize_t keySetMeta (Key *key, const char *metaName, const char *newMetaString)
 Set a new Meta-Information. More...
 

Detailed Description

Methods to do various operations on Key metadata.