summaryrefslogtreecommitdiffstats
path: root/include/local-def.h
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2015-12-21 16:33:23 +0100
committerFulup Ar Foll <fulup@iot.bzh>2015-12-21 16:33:23 +0100
commit5472e85501418302959040eacb819c57f849d63e (patch)
treef2f7d5e7b67b1ae73184137e418106c9b21a78cd /include/local-def.h
parent33c9353cce432422fea4ba61ab17b20dd8cfe800 (diff)
Hack --plugins=path
Diffstat (limited to 'include/local-def.h')
-rw-r--r--include/local-def.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/local-def.h b/include/local-def.h
index 961fdd2c..8f297c53 100644
--- a/include/local-def.h
+++ b/include/local-def.h
@@ -107,6 +107,13 @@ typedef struct {
typedef enum {AFB_POST_NONE=0, AFB_POST_JSON, AFB_POST_FORM} AFB_PostType;
+// Post Upload File Handle
+typedef struct {
+ int fd;
+ char *path;
+ json_object* jerror;
+} AFB_PostCtx;
+
typedef struct {
int len; // post element size
char *data; // post data in raw format