- more descriptive constant names
[m6w6/ext-http] / http_message_object.c
index 99b63547562ac06e742597b8e01da289c86d3a6b..b187f559c02f199d4bff19c1b970de10415575c4 100644 (file)
@@ -190,9 +190,9 @@ static inline void _http_message_object_declare_default_properties(TSRMLS_D)
        zend_class_entry *ce = http_message_object_ce;
 
 #ifndef WONKY
-       DCL_CONST(long, "NONE", HTTP_MSG_NONE);
-       DCL_CONST(long, "REQUEST", HTTP_MSG_REQUEST);
-       DCL_CONST(long, "RESPONSE", HTTP_MSG_RESPONSE);
+       DCL_CONST(long, "TYPE_NONE", HTTP_MSG_NONE);
+       DCL_CONST(long, "TYPE_REQUEST", HTTP_MSG_REQUEST);
+       DCL_CONST(long, "TYPE_RESPONSE", HTTP_MSG_RESPONSE);
 #endif
 
        DCL_PROP(PROTECTED, long, type, HTTP_MSG_NONE);