aqhome: added function AQH_Vars_ReplaceVars()

This commit is contained in:
Martin Preuss
2024-05-17 20:34:31 +02:00
parent 9f7f5ab0db
commit 69893640a3
2 changed files with 51 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
#include <aqhome/api.h>
#include <gwenhywfar/tree2.h>
#include <gwenhywfar/buffer.h>
#define AQH_VARS_PATHFLAGS_OVERWRITE_VARS 0x0001
@@ -82,6 +83,9 @@ AQHOME_API int AQH_Vars_GetIntValue(AQH_VARS *vt, const char *path, int idx, int
AQHOME_API int AQH_Vars_SetDoubleValue(AQH_VARS *vt, uint32_t flags, const char *path, double value);
AQHOME_API double AQH_Vars_GetDoubleValue(AQH_VARS *vt, const char *path, int idx, double defaultValue);
AQHOME_API int AQH_Vars_ReplaceVars(AQH_VARS *vars, const char *s, GWEN_BUFFER *dbuf);
/*@}*/