Scroll to navigation

keymeta.c(3elektra) Elektra keymeta.c(3elektra)

NAME

keymeta.c - Methods to do various operations on Key metadata.

SYNOPSIS

#include <kdb.h>
#include <kdbconfig.h>
#include <kdbprivate.h>

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.

Copyright:

BSD License (see LICENSE.md or https://www.libelektra.org)

Author

Generated automatically by Doxygen for Elektra from the source code.

Mon Jan 15 2018 Version 0.8.20