we now have a base url handler which handles listing, adding and editing any objects including permission management.
28 lines
909 B
C
28 lines
909 B
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_STORAGE_U_BASE_H
|
|
#define AQHOME_STORAGE_U_BASE_H
|
|
|
|
|
|
#include "aqhome/http/urlhandler.h"
|
|
|
|
|
|
|
|
GWEN_MSG *AQH_BaseHttpUrlHandler_CreateResponseForErrorCode(AQH_HTTP_URLHANDLER *uh,
|
|
AQH_HTTP_REQUEST *rq,
|
|
int rv,
|
|
AQH_HTTP_URLHANDLER_WRITEPAGE_CB cb,
|
|
GWEN_DB_NODE *db);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|