/****************************************************************************
 * 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_MMODULES_H
#define AQHOME_CGI_MMODULES_H

#include <aqhome-cgi/modules/common/mservice.h>

#include <aqcgi/request.h>

#include <gwenhywfar/buffer.h>



#define AQH_MODADMMODULES_PERMS_MODULESREAD  0x001
#define AQH_MODADMMODULES_PERMS_MODULESWRITE 0x002
#define AQH_MODADMMODULES_PERMS_MODULESADD   0x004
#define AQH_MODADMMODULES_PERMS_MODULESDEL   0x008



void AQH_ModAdmModules_Extend(AQCGI_MODULE *m, AQCGI_SERVICE *sv, const char *baseFolder);

int AQH_ModAdmModules_Create(AQCGI_SERVICE *sv);




#endif

