X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_message_api.h;h=763cd471c7f1205765755ec53b699b10bc6f5d51;hb=e78857a010ae86f5dddb593cbe96d67e5bd6f13d;hp=52149f01adb9545a1665ea7646073d3427ff2cfc;hpb=79b54baf2c7fa5b37a4ed96a21d29c3574c1270b;p=m6w6%2Fext-http diff --git a/php_http_message_api.h b/php_http_message_api.h index 52149f0..763cd47 100644 --- a/php_http_message_api.h +++ b/php_http_message_api.h @@ -17,15 +17,15 @@ #include "php_http_info_api.h" -typedef enum { +typedef enum _http_message_type_t { HTTP_MSG_NONE = 0, HTTP_MSG_REQUEST = IS_HTTP_REQUEST, HTTP_MSG_RESPONSE = IS_HTTP_RESPONSE, } http_message_type; -typedef struct _http_message http_message; +typedef struct _http_message_t http_message; -struct _http_message { +struct _http_message_t { phpstr body; HashTable hdrs; http_message_type type;