aqhome: added service definitions, started implementing HTTP service.
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
|
||||
#include <aqhome/api.h>
|
||||
|
||||
#include "aqhome/http/content.h"
|
||||
|
||||
#include <gwenhywfar/inherit.h>
|
||||
#include <gwenhywfar/stringlist.h>
|
||||
#include <gwenhywfar/endpoint.h>
|
||||
@@ -30,6 +32,9 @@ typedef GWEN_MSG*(*AQH_URLHANDLER_HANDLE_FN)(AQH_URLHANDLER *uh, GWEN_MSG_ENDPOI
|
||||
AQHOME_API AQH_URLHANDLER *AQH_UrlHandler_new(void);
|
||||
AQHOME_API void AQH_UrlHandler_free(AQH_URLHANDLER *uh);
|
||||
|
||||
AQHOME_API AQH_HTTP_CONTENT *AQH_UrlHandler_GetContentProvider(const AQH_URLHANDLER *uh);
|
||||
AQHOME_API void AQH_UrlHandler_SetContentProvider(AQH_URLHANDLER *uh, AQH_HTTP_CONTENT *cp);
|
||||
|
||||
AQHOME_API void AQH_UrlHandler_AddUrlPattern(AQH_URLHANDLER *uh, const char *s);
|
||||
AQHOME_API int AQH_UrlHandler_UrlMatches(const AQH_URLHANDLER *uh, const char *s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user