$darkmode
Elektra 0.11.0
Functions
elektra_array_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 <stdlib.h>
#include <string.h>
Include dependency graph for elektra_array_value.c:

Functions

kdb_long_long_t elektraArraySize (Elektra *elektra, const char *name)
 Gets the size of an array. More...
 
Key * elektraFindArrayElementKey (Elektra *elektra, const char *name, kdb_long_long_t index, KDBType type)
 Helper function for code generation. More...
 
const char * elektraFindReferenceArrayElement (Elektra *elektra, const char *name, kdb_long_long_t index)
 Resolves the reference stored in a key. More...
 
KDBType elektraGetArrayElementType (Elektra *elektra, const char *keyname, kdb_long_long_t index)
 Reads the type metadata of a given array element. More...
 
const char * elektraGetRawStringArrayElement (Elektra *elektra, const char *name, kdb_long_long_t index)
 Get the raw string value of an array element key. More...
 
void elektraSetRawStringArrayElement (Elektra *elektra, const char *name, kdb_long_long_t index, const char *value, KDBType type, ElektraError **error)
 Set the raw string value of an array element key. More...
 
const char * elektraGetStringArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index)
 Gets a string value array element. More...
 
kdb_boolean_t elektraGetBooleanArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index)
 Gets a boolean value array element. More...
 
kdb_char_t elektraGetCharArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index)
 Gets a char value array element. More...
 
kdb_octet_t elektraGetOctetArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index)
 Gets an octet value array element. More...
 
kdb_short_t elektraGetShortArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index)
 Gets a short value array element. More...
 
kdb_unsigned_short_t elektraGetUnsignedShortArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index)
 Gets a unsigned short value array element. More...
 
kdb_long_t elektraGetLongArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index)
 Gets a long value array element. More...
 
kdb_unsigned_long_t elektraGetUnsignedLongArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index)
 Gets a unsigned long value array element. More...
 
kdb_long_long_t elektraGetLongLongArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index)
 Gets a long long value array element. More...
 
kdb_unsigned_long_long_t elektraGetUnsignedLongLongArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index)
 Gets a unsigned long long value array element. More...
 
kdb_float_t elektraGetFloatArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index)
 Gets a float value array element. More...
 
kdb_double_t elektraGetDoubleArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index)
 Gets a double value array element. More...
 
void elektraSetStringArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index, const char *value, ElektraError **error)
 Sets a string value array element. More...
 
void elektraSetBooleanArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index, kdb_boolean_t value, ElektraError **error)
 Sets a boolean value array element. More...
 
void elektraSetCharArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index, kdb_char_t value, ElektraError **error)
 Sets a char value array element. More...
 
void elektraSetOctetArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index, kdb_octet_t value, ElektraError **error)
 Sets an octet value array element. More...
 
void elektraSetShortArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index, kdb_short_t value, ElektraError **error)
 Sets a short value array element. More...
 
void elektraSetUnsignedShortArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index, kdb_unsigned_short_t value, ElektraError **error)
 Sets a unsigned short value array element. More...
 
void elektraSetLongArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index, kdb_long_t value, ElektraError **error)
 Sets a long value array element. More...
 
void elektraSetUnsignedLongArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index, kdb_unsigned_long_t value, ElektraError **error)
 Sets a unsigned long value array element. More...
 
void elektraSetLongLongArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index, kdb_long_long_t value, ElektraError **error)
 Sets a long long value array element. More...
 
void elektraSetUnsignedLongLongArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index, kdb_unsigned_long_long_t value, ElektraError **error)
 Sets a unsigned long long value array element. More...
 
void elektraSetFloatArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index, kdb_float_t value, ElektraError **error)
 Sets a float value array element. More...
 
void elektraSetDoubleArrayElement (Elektra *elektra, const char *keyname, kdb_long_long_t index, kdb_double_t value, ElektraError **error)
 Sets a double value array element. More...
 

Detailed Description

Elektra High Level API.