summaryrefslogtreecommitdiffstats
path: root/include/local-def.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-03-23 13:02:12 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-03-23 13:16:56 +0100
commitcfa794c979d46660c29ac24b1936cd2c92b8e954 (patch)
treedb37e4ac15d4f7774a542f40268a6a964363b65d /include/local-def.h
parent3a10185ae380956bd356c73f34138f97255bf7e6 (diff)
http-svc: renaming
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/local-def.h')
-rw-r--r--include/local-def.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/local-def.h b/include/local-def.h
index 735a34b8..44f21424 100644
--- a/include/local-def.h
+++ b/include/local-def.h
@@ -234,8 +234,7 @@ typedef struct {
AFB_plugin **plugins;
} AFB_request;
-struct afb_req_handler;
-struct afb_req;
+struct afb_hsrv_handler;
struct MHD_Daemon;
typedef struct {
AFB_config *config; // pointer to current config
@@ -251,7 +250,7 @@ typedef struct {
int readyfd; // a #fd to signal when ready to serve
AFB_plugin **plugins; // pointer to REST/API plugins
magic_t magic; // Mime type file magic lib
- struct afb_req_handler *handlers;
+ struct afb_hsrv_handler *handlers;
sigjmp_buf restartCkpt; // context save for restart set/longjmp
} AFB_session;