From 06d422d1de5c505366f6a029d8af85548c2b646f Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Thu, 24 Dec 2015 00:38:41 +0100 Subject: Fixed Client Session Context by Plugin --- include/local-def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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; -- cgit 1.2.3-korg