aqhome: started working on database code.

This commit is contained in:
Martin Preuss
2023-07-19 01:26:14 +02:00
parent 3eb0a9afa9
commit 02797ff092
13 changed files with 822 additions and 4 deletions

31
aqhome/data/storage_p.h Normal file
View File

@@ -0,0 +1,31 @@
/****************************************************************************
* This file is part of the project Gwenhywfar.
* Gwenhywfar (c) by 2023 Martin Preuss, all rights reserved.
*
* The license for this file can be found in the file COPYING which you
* should have received along with this file.
****************************************************************************/
#ifndef AQH_STORAGE_P_H
#define AQH_STORAGE_P_H
#include "aqhome/data/storage.h"
struct AQH_STORAGE {
AQH_DEVICE_LIST *deviceList;
AQH_MQTT_TOPIC_LIST *mqttTopicList;
AQH_VALUE_LIST *valueList;
uint64_t lastDeviceId;
uint64_t lastTopicId;
uint64_t lastValueId;
};
#endif