Added datafile and handling of MQTT publish message.
This commit is contained in:
@@ -72,6 +72,9 @@ AQHOME_API AQH_VALUE *AQH_Storage_GetValueByName(const AQH_STORAGE *sto, const c
|
||||
AQHOME_API const char *AQH_Storage_GetStateFile(const AQH_STORAGE *sto);
|
||||
AQHOME_API void AQH_Storage_SetStateFile(AQH_STORAGE *sto, const char *s);
|
||||
|
||||
AQHOME_API const char *AQH_Storage_GetDataFileFolder(const AQH_STORAGE *sto);
|
||||
AQHOME_API void AQH_Storage_SetDataFileFolder(AQH_STORAGE *sto, const char *s);
|
||||
|
||||
AQHOME_API uint32_t AQH_Storage_GetRuntimeFlags(const AQH_STORAGE *sto);
|
||||
AQHOME_API void AQH_Storage_SetRuntimeFlags(AQH_STORAGE *sto, uint32_t flags);
|
||||
AQHOME_API void AQH_Storage_AddRuntimeFlags(AQH_STORAGE *sto, uint32_t flags);
|
||||
@@ -79,6 +82,8 @@ AQHOME_API void AQH_Storage_SubRuntimeFlags(AQH_STORAGE *sto, uint32_t flags);
|
||||
|
||||
|
||||
AQHOME_API int AQH_Storage_Init(AQH_STORAGE *sto);
|
||||
AQHOME_API int AQH_Storage_Fini(AQH_STORAGE *sto);
|
||||
|
||||
AQHOME_API int AQH_Storage_WriteState(AQH_STORAGE *sto);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user