addd urlhandler for static content, more reusing of code.
This commit is contained in:
27
apps/aqhome-storage/u_static_p.h
Normal file
27
apps/aqhome-storage/u_static_p.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/****************************************************************************
|
||||
* 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_STATIC_P_H
|
||||
#define AQHOME_STORAGE_U_STATIC_P_H
|
||||
|
||||
|
||||
#include "./u_static.h"
|
||||
|
||||
#include <gwenhywfar/stringlist.h>
|
||||
|
||||
|
||||
typedef struct AQH_URLHANDLER_STATIC AQH_URLHANDLER_STATIC;
|
||||
struct AQH_URLHANDLER_STATIC {
|
||||
GWEN_STRINGLIST *fileList;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user