Files
aqhomecontrol/apps/aqhome-storage/aqhomehttp.h
Martin Preuss 792f167a71 aqhome-storage: started adding class AqHomeHttpService
This will be the class handling HTTP requests for AqHome.
2023-08-07 14:07:30 +02:00

42 lines
1.1 KiB
C

/****************************************************************************
* 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