Elektra  0.9.8
Functions
meta.c File Reference

Methods for metadata manipulation. More...

#include <kdb.h>
#include <kdbconfig.h>
#include <kdbease.h>
#include <kdbmeta.h>
#include <kdbprivate.h>
#include <kdbtypes.h>
Include dependency graph for meta.c:

Functions

const char * keyComment (const Key *key)
 Return a pointer to the real internal key comment. More...
 
ssize_t keyGetCommentSize (const Key *key)
 Calculates number of bytes needed to store a key comment, including final NULL. More...
 
ssize_t keyGetComment (const Key *key, char *returnedComment, size_t maxSize)
 Get the key comment. More...
 
ssize_t keySetComment (Key *key, const char *newComment)
 Set a comment for a key. More...
 
int elektraKeyCmpOrder (const Key *ka, const Key *kb)
 Compare the order metadata of two keys. More...
 
void elektraMetaArrayAdd (Key *key, const char *metaName, const char *value)
 creates an metadata array or appends another element to an existing metadata array e.g. More...
 
KeySet * elektraMetaArrayToKS (Key *key, const char *metaName)
 Create a KeySet from a metakey array. More...
 
int elektraSortTopology (KeySet *ks, Key **array)
 topological sorting More...
 
char * elektraMetaArrayToString (const Key *key, const char *metaName, const char *delim)
 returns the metakey array as a string separated by delim More...
 

Detailed Description

Methods for metadata manipulation.