aqhome: started working on database code.
This commit is contained in:
31
aqhome/data/storage_p.h
Normal file
31
aqhome/data/storage_p.h
Normal 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user