doc: types from
@@ -46,20 +46,25 @@ First draft of API:
// might fail, you need to check for error afterwards!
Elektra * elektraOpen (const char * application);
-// enum, int, tristate
-int elektraGetInt (Elektra * handle, const char * name);
-
-char * elektraGetString (Elektra * handle, const char * name);
-
-// and so on.. (all types)
-
-
-// are arrays already advanced functionality? (recursive API)
-
-// enum, int, tristate
-int elektraGetIntArray (Elektra * handle, const char * name, int elem);
-
-int elektraGetArraySize (Elektra * handle, const char * name);
+// getters
+kdb_string_t kdbhlGetString (KDBHL * kdbhl, const char * name);
+kdb_boolean_t kdbhlGetBoolean (KDBHL * kdbhl, const char * name);
+kdb_char_t kdbhlGetChar (KDBHL * kdbhl, const char * name);
+kdb_octet_t kdbhlGetOctet (KDBHL * kdbhl, const char * name);
+kdb_short_t kdbhlGetShort (KDBHL * kdbhl, const char * name);
+kdb_unsigned_short_t kdbhlGetUnsignedShort (KDBHL * kdbhl, const char * name);
+kdb_long_t kdbhlGetLong (KDBHL * kdbhl, const char * name);
+kdb_unsigned_long_t kdbhlGetUnsignedLong (KDBHL * kdbhl, const char * name);
+kdb_long_long_t kdbhlGetLongLong (KDBHL * kdbhl, const char * name);
+kdb_unsigned_long_long_t kdbhlGetUnsignedLongLong (KDBHL * kdbhl, const char * name);
+kdb_float_t kdbhlGetFloat (KDBHL * kdbhl, const char * name);
+kdb_double_t kdbhlGetDouble (KDBHL * kdbhl, const char * name);
+kdb_long_double_t kdbhlGetLongDouble (KDBHL * kdbhl, const char * name);
+
+// arrays
+kdb_long_t elektraGetArrayLong (Elektra * handle, const char * name, size_t elem);
+
+size_t elektraGetArraySize (Elektra * handle, const char * name);
void elektraClose (Elektra * handle);
```
