Elektra 0.8.26
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.
const Key * keyNextMeta (Key *key)
 Iterate to the next meta information.
const Key * keyCurrentMeta (const Key *key)
 Returns the value of a meta-information which is current.
int keyCopyMeta (Key *dest, const Key *source, const char *metaName)
 Do a shallow copy of metadata from source to dest.
int keyCopyAllMeta (Key *dest, const Key *source)
 Do a shallow copy of all metadata from source to dest.
const Key * keyGetMeta (const Key *key, const char *metaName)
 Returns the value of a meta-information given by name.
ssize_t keySetMeta (Key *key, const char *metaName, const char *newMetaString)
 Set a new meta-information.

Detailed Description

Methods to do various operations on Key metadata.