35 lines
837 B
C
35 lines
837 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 AQH_HTTP_URLHANDLER_P_H
|
|
#define AQH_HTTP_URLHANDLER_P_H
|
|
|
|
|
|
#include "aqhome/http/urlhandler.h"
|
|
|
|
|
|
typedef struct AQH_HTTP_URLHANDLER AQH_HTTP_URLHANDLER;
|
|
struct AQH_HTTP_URLHANDLER {
|
|
GWEN_INHERIT_ELEMENT(AQH_HTTP_URLHANDLER);
|
|
GWEN_LIST_ELEMENT(AQH_HTTP_URLHANDLER);
|
|
|
|
AQH_SERVICE *httpService;
|
|
GWEN_STRINGLIST *urlPatternList;
|
|
AQH_HTTP_CONTENT *httpContentProvider;
|
|
char *folder;
|
|
|
|
AQH_HTTP_URLHANDLER_HANDLE_FN handleFn;
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|