aboutsummaryrefslogtreecommitdiffstats
path: root/include/local-def.h
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2015-12-24 00:38:41 +0100
committerFulup Ar Foll <fulup@iot.bzh>2015-12-24 00:38:41 +0100
commit06d422d1de5c505366f6a029d8af85548c2b646f (patch)
tree8d37559bff36bcb5237a203b9ac874286fdfe028 /include/local-def.h
parentc6853a55ca911415e6851de27621b7022a665933 (diff)
Fixed Client Session Context by Plugin
Diffstat (limited to 'include/local-def.h')
-rw-r--r--include/local-def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/local-def.h b/include/local-def.h
index d278dc47..edaf1bbc 100644
--- a/include/local-def.h
+++ b/include/local-def.h
@@ -243,12 +243,12 @@ typedef struct {
AFB_PostRequest *post;
json_object *jresp;
void *context; // Hold Client Context when using session
+ void *handle; // provide callback and easy access to plugin
int restfull; // request is resfull [uuid token provided]
int errcode; // http error code
sigjmp_buf checkPluginCall; // context save for timeout set/longjmp
AFB_config *config; // plugin may need access to config
struct MHD_Connection *connection;
- AFB_plugin *plugin; // provide callback and easy access to plugin
AFB_plugin **plugins;
} AFB_request;