Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Hack --plugins=path
[src/app-framework-binder.git]
/
include
/
local-def.h
diff --git
a/include/local-def.h
b/include/local-def.h
index
961fdd2
..
8f297c5
100644
(file)
--- 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;
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
typedef struct {
int len; // post element size
char *data; // post data in raw format