aqhome: more work on path and vars modules.

This commit is contained in:
Martin Preuss
2024-05-09 00:49:57 +02:00
parent 3e5bff90d1
commit b473d62cdc
3 changed files with 150 additions and 11 deletions

View File

@@ -13,6 +13,10 @@
#include <gwenhywfar/tree2.h>
#define AQH_VARS_PATHFLAGS_OVERWRITE_VARS 0x0001
#define AQH_VARS_PATHFLAGS_OVERWRITE_GROUPS 0x0002
typedef enum {
AQH_Vars_DataType_Unknown=0,
@@ -55,6 +59,10 @@ AQH_VARS *AQH_Vars_GetFirstChildByType(const AQH_VARS *vt, AQH_VARS_DATATYPE dt)
AQH_VARS *AQH_Vars_GetNextByType(const AQH_VARS *vt, AQH_VARS_DATATYPE dt);
int AQH_Vars_SetCharValue(AQH_VARS *vt, uint32_t flags, const char *path, char *value);
const char *AQH_Vars_GetCharValue(AQH_VARS *vt, const char *path, int idx, const char *defaultValue);