summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2015-12-15 18:39:45 +0100
committerFulup Ar Foll <fulup@iot.bzh>2015-12-15 18:39:45 +0100
commit1250a56369315c017abfe429c556b863730b9b44 (patch)
tree979cd438bbaf7360336714501caa3c8001e24971 /include
parenta644a48c2dfdc4ba5129aa3b85a21aadc429f65d (diff)
Post En court Ne fonctionne pas
Diffstat (limited to 'include')
-rw-r--r--include/local-def.h14
1 files changed, 7 insertions, 7 deletions
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 {