$darkmode
Elektra 0.11.0
Functions
elektra_value.c File Reference

Elektra High Level API. More...

#include "elektra.h"
#include "elektra/conversion.h"
#include "kdbease.h"
#include "kdbhelper.h"
#include "kdbprivate.h"
#include <string.h>
Include dependency graph for elektra_value.c:

Functions

Key * elektraFindKey (Elektra *elektra, const char *name, KDBType type)
 Helper function for code generation. More...
 
const char * elektraFindReference (Elektra *elektra, const char *name)
 Resolves the reference stored in a key. More...
 
KDBType elektraGetType (Elektra *elektra, const char *keyname)
 Reads the type metadata of a given key. More...
 
const char * elektraGetRawString (Elektra *elektra, const char *name)
 Get the raw string value of a key. More...
 
void elektraSetRawString (Elektra *elektra, const char *name, const char *value, KDBType type, ElektraError **error)
 Set the raw string value of a key. More...
 
const char * elektraGetString (Elektra *elektra, const char *keyname)
 Gets a string value. More...
 
kdb_boolean_t elektraGetBoolean (Elektra *elektra, const char *keyname)
 Gets a boolean value. More...
 
kdb_char_t elektraGetChar (Elektra *elektra, const char *keyname)
 Gets a char value. More...
 
kdb_octet_t elektraGetOctet (Elektra *elektra, const char *keyname)
 Gets an octet value. More...
 
kdb_short_t elektraGetShort (Elektra *elektra, const char *keyname)
 Gets a short value. More...
 
kdb_unsigned_short_t elektraGetUnsignedShort (Elektra *elektra, const char *keyname)
 Gets a unsigned short value. More...
 
kdb_long_t elektraGetLong (Elektra *elektra, const char *keyname)
 Gets a long value. More...
 
kdb_unsigned_long_t elektraGetUnsignedLong (Elektra *elektra, const char *keyname)
 Gets a unsigned long value. More...
 
kdb_long_long_t elektraGetLongLong (Elektra *elektra, const char *keyname)
 Gets a long long value. More...
 
kdb_unsigned_long_long_t elektraGetUnsignedLongLong (Elektra *elektra, const char *keyname)
 Gets a long long value. More...
 
kdb_float_t elektraGetFloat (Elektra *elektra, const char *keyname)
 Gets a float value. More...
 
kdb_double_t elektraGetDouble (Elektra *elektra, const char *keyname)
 Gets a double value. More...
 
void elektraSetString (Elektra *elektra, const char *keyname, const char *value, ElektraError **error)
 Sets a string value. More...
 
void elektraSetBoolean (Elektra *elektra, const char *keyname, kdb_boolean_t value, ElektraError **error)
 Sets a boolean value. More...
 
void elektraSetChar (Elektra *elektra, const char *keyname, kdb_char_t value, ElektraError **error)
 Sets a char value. More...
 
void elektraSetOctet (Elektra *elektra, const char *keyname, kdb_octet_t value, ElektraError **error)
 Sets an octet value. More...
 
void elektraSetShort (Elektra *elektra, const char *keyname, kdb_short_t value, ElektraError **error)
 Sets a short value. More...
 
void elektraSetUnsignedShort (Elektra *elektra, const char *keyname, kdb_unsigned_short_t value, ElektraError **error)
 Sets a unsigned short value. More...
 
void elektraSetLong (Elektra *elektra, const char *keyname, kdb_long_t value, ElektraError **error)
 Sets a long value. More...
 
void elektraSetUnsignedLong (Elektra *elektra, const char *keyname, kdb_unsigned_long_t value, ElektraError **error)
 Sets a unsigned long value. More...
 
void elektraSetLongLong (Elektra *elektra, const char *keyname, kdb_long_long_t value, ElektraError **error)
 Sets a long long value. More...
 
void elektraSetUnsignedLongLong (Elektra *elektra, const char *keyname, kdb_unsigned_long_long_t value, ElektraError **error)
 Sets a unsigned long long value. More...
 
void elektraSetFloat (Elektra *elektra, const char *keyname, kdb_float_t value, ElektraError **error)
 Sets a float value. More...
 
void elektraSetDouble (Elektra *elektra, const char *keyname, kdb_double_t value, ElektraError **error)
 Sets a double value. More...
 

Detailed Description

Elektra High Level API.