44 lines
1.2 KiB
C
44 lines
1.2 KiB
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_MODULES_DEVICES_H
|
|
#define AQHOME_CGI_MODULES_DEVICES_H
|
|
|
|
|
|
#include "aqhome/aqhome.h"
|
|
#include "aqhome/dataclient/client.h"
|
|
|
|
#include <aqcgi/request.h>
|
|
|
|
#include <gwenhywfar/buffer.h>
|
|
|
|
|
|
#define AQH_MODDEVICES_PERMS_DEVICELIST 0x001
|
|
#define AQH_MODDEVICES_PERMS_DEVICEREAD 0x002
|
|
#define AQH_MODDEVICES_PERMS_DEVICEWRITE 0x004
|
|
#define AQH_MODDEVICES_PERMS_DEVICEADD 0x008
|
|
#define AQH_MODDEVICES_PERMS_DEVICEDEL 0x010
|
|
|
|
#define AQH_MODDEVICES_PERMS_VALUELIST 0x020
|
|
#define AQH_MODDEVICES_PERMS_VALUEREAD 0x040
|
|
#define AQH_MODDEVICES_PERMS_VALUEWRITE 0x080
|
|
#define AQH_MODDEVICES_PERMS_VALUEADD 0x100
|
|
#define AQH_MODDEVICES_PERMS_VALUEDEL 0x200
|
|
#define AQH_MODDEVICES_PERMS_VALUESET 0x400
|
|
|
|
|
|
|
|
void AQH_ModDevices_Extend(AQH_MODULE *m, AQH_SERVICE *sv, const char *baseFolder);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|