summaryrefslogtreecommitdiffstats
path: root/include/local-def.h
diff options
context:
space:
mode:
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