Elektra  0.9.2
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...
 
KeySet * keyMeta (Key *key)
 Returns the keyset holding the given key's metadata. More...
 

Detailed Description

Methods to do various operations on Key metadata.