aqhome-storage: started adding class AqHomeHttpService
This will be the class handling HTTP requests for AqHome.
This commit is contained in:
41
apps/aqhome-storage/aqhomehttp.h
Normal file
41
apps/aqhome-storage/aqhomehttp.h
Normal file
@@ -0,0 +1,41 @@
|
||||
/****************************************************************************
|
||||
* 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_H
|
||||
#define AQHOME_HTTP_H
|
||||
|
||||
|
||||
#include "aqhome/service/service.h"
|
||||
#include "aqhome/data/storage.h"
|
||||
|
||||
#include <gwenhywfar/endpoint.h>
|
||||
|
||||
|
||||
void AqHomeHttpService_Extend(AQH_SERVICE *sv);
|
||||
|
||||
GWEN_MSG_ENDPOINT *AqHomeHttpService_GetRootEndpoint(const AQH_SERVICE *sv);
|
||||
GWEN_MSG_ENDPOINT *AqHomeHttpService_GetIpcdEndpoint(const AQH_SERVICE *sv);
|
||||
GWEN_MSG_ENDPOINT *AqHomeHttpService_GetMqttEndpoint(const AQH_SERVICE *sv);
|
||||
GWEN_MSG_ENDPOINT *AqHomeHttpService_GetHttpdEndpoint(const AQH_SERVICE *sv);
|
||||
|
||||
AQH_STORAGE *AqHomeHttpService_GetStorage(const AQH_SERVICE *sv);
|
||||
|
||||
GWEN_DB_NODE *AqHomeHttpService_GetDbArgs(const AQH_SERVICE *sv);
|
||||
const char *AqHomeHttpService_GetPidFile(const AQH_SERVICE *sv);
|
||||
void AqHomeHttpService_SetPidFile(AQH_SERVICE *sv, const char *s);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user