- fix aliases and exports
[m6w6/ext-http] / php_http_request_body_api.h
index 5786d6c3b109666ffc1d8d3293013fdc31030848..739168f52c0e15629c804575b35a207cf0275338 100644 (file)
 #define HTTP_REQUEST_BODY_CSTRING              1
 #define HTTP_REQUEST_BODY_CURLPOST             2
 #define HTTP_REQUEST_BODY_UPLOADFILE   3
-typedef struct {
-       uint type:31;
-       uint free:1;
+typedef struct _http_request_body_t {
        void *data;
        size_t size;
+       uint type:3;
+       uint free:1;
+       uint priv:28;
 } http_request_body;