42 lines
1.1 KiB
C
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
|
|
|
|
|