28 lines
811 B
C
28 lines
811 B
C
/****************************************************************************
|
|
* This file is part of the project AqHome.
|
|
* AqHome (c) by 2025 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_CGI_MROOT_H
|
|
#define AQHOME_CGI_MROOT_H
|
|
|
|
#include <aqhome-cgi/modules/mservice.h>
|
|
|
|
#include <aqcgi/request.h>
|
|
|
|
#include <gwenhywfar/buffer.h>
|
|
|
|
|
|
AQH_MODULE *AQH_ModRoot_new(AQH_SERVICE *sv, const char *baseFolder);
|
|
|
|
AQH_MODULE *AQH_ModRoot_LoadSubModule(AQH_MODULE *m, AQCGI_REQUEST *rq, const char *sModuleName);
|
|
int AQH_ModRoot_HandleRequest(AQH_MODULE *m, AQCGI_REQUEST *rq, const char *sLastPathElem);
|
|
|
|
|
|
|
|
#endif
|
|
|