/****************************************************************************
 * 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_MSERVICE_P_H
#define AQHOME_CGI_MSERVICE_P_H

#include "aqhome-cgi/modules/common/mservice.h"


typedef struct AQH_MOD_SERVICE AQH_MOD_SERVICE;
struct AQH_MOD_SERVICE {
  AQCGI_SERVICE *service;
  char *baseFolder;
  uint32_t userPerms;

  AQH_MODSERVICE_HANDLEREQUEST_FN handleRequestFn;
  AQH_MODSERVICE_LOADSUBMODULE_FN loadSubModuleFn;
  AQH_MODSERVICE_ADDHEADER_FN addHeaderFn;
  AQH_MODSERVICE_ADDFOOTER_FN addFooterFn;
};



#endif

