aqhome-storage: started adding class AqHomeHttpService

This will be the class handling HTTP requests for AqHome.
This commit is contained in:
Martin Preuss
2023-08-07 14:07:30 +02:00
parent 897fdffcf9
commit 792f167a71
4 changed files with 385 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
/****************************************************************************
* This file is part of the project AqHome.
* AqHome (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 AQHOME_HTTP_P_H
#define AQHOME_HTTP_P_H
#include "./aqhomehttp.h"
typedef struct AQHOME_HTTP AQHOME_HTTP;
struct AQHOME_HTTP {
GWEN_MSG_ENDPOINT *rootEndpoint;
GWEN_MSG_ENDPOINT *ipcdEndpoint;
GWEN_MSG_ENDPOINT *mqttEndpoint;
GWEN_MSG_ENDPOINT *httpdEndpoint;
AQH_STORAGE *storage;
GWEN_DB_NODE *dbArgs;
char *pidFile;
};
#endif