- make this class usable, mostly by fixing typos
[m6w6/ext-http] / php_http_message_api.h
index 52149f01adb9545a1665ea7646073d3427ff2cfc..763cd471c7f1205765755ec53b699b10bc6f5d51 100644 (file)
 
 #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;