X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_exception_object.c;h=af840465c116e035ce39640223c5ef875d4b0a11;hp=7ea4af57908448150589801c1dfff4e142686aff;hb=902d195a198f4976c8ff081a95cdd3e315c14f5f;hpb=781c90c0447166dd52ef881ae15751fa466c32fb diff --git a/http_exception_object.c b/http_exception_object.c index 7ea4af5..af84046 100644 --- a/http_exception_object.c +++ b/http_exception_object.c @@ -19,24 +19,23 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif - #include "php.h" -#include "php_http.h" -#include "php_http_std_defs.h" - #ifdef ZEND_ENGINE_2 -#include "php_http_exception_object.h" #include "zend_exceptions.h" +#include "php_http.h" +#include "php_http_std_defs.h" +#include "php_http_exception_object.h" + zend_class_entry *http_exception_object_ce; zend_function_entry http_exception_object_fe[] = {{NULL, NULL, NULL}}; void _http_exception_object_init(INIT_FUNC_ARGS) { HTTP_REGISTER_CLASS(HttpException, http_exception_object, zend_exception_get_default(), 0); - + HTTP_LONG_CONSTANT("HTTP_E_UNKNOWN", HTTP_E_UNKOWN); HTTP_LONG_CONSTANT("HTTP_E_PARSE", HTTP_E_PARSE); HTTP_LONG_CONSTANT("HTTP_E_HEADER", HTTP_E_HEADER);