projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- add http_put_data() and HttpRequest::(set|get|add)PutData()
[m6w6/ext-http]
/
php_http_request_body_api.h
diff --git
a/php_http_request_body_api.h
b/php_http_request_body_api.h
index 5786d6c3b109666ffc1d8d3293013fdc31030848..346544dfc193fac9857e0d7f52a36ed4aa572126 100644
(file)
--- a/
php_http_request_body_api.h
+++ b/
php_http_request_body_api.h
@@
-22,8
+22,9
@@
#define HTTP_REQUEST_BODY_CURLPOST 2
#define HTTP_REQUEST_BODY_UPLOADFILE 3
typedef struct {
#define HTTP_REQUEST_BODY_CURLPOST 2
#define HTTP_REQUEST_BODY_UPLOADFILE 3
typedef struct {
- uint type:3
1
;
+ uint type:3;
uint free:1;
uint free:1;
+ uint priv:28;
void *data;
size_t size;
} http_request_body;
void *data;
size_t size;
} http_request_body;