From 1250a56369315c017abfe429c556b863730b9b44 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Tue, 15 Dec 2015 18:39:45 +0100 Subject: Post En court Ne fonctionne pas --- include/local-def.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include') diff --git a/include/local-def.h b/include/local-def.h index 47513e68..021ef13e 100644 --- a/include/local-def.h +++ b/include/local-def.h @@ -111,13 +111,13 @@ typedef struct { // Post handler typedef struct { - void* handle; - int len; - int uid; - AFB_PostType type; - struct MHD_PostProcessor *pp; - AFB_apiCB completeCB; // callback when post is completed - void *private; + void* ctx; // Application context + int len; // current len for post + int uid; // post uid for debug + AFB_PostType type; // JSON or FORM + AFB_apiCB completeCB; // callback when post is completed + void *private; // use internally to keep track or partial buffer + struct MHD_PostProcessor *pp; // iterator handle } AFB_PostHandle; typedef struct { -- cgit 1.2.3-korg