X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_exception_object.h;h=68c462f6e5510c816cd2e8d6fa8f7db561b64b37;hp=19d7cdaa277141efb404d87bd48a0259ad4c8a12;hb=dc76f745ce61ab266f873e80a39604fa91875c3d;hpb=e83a7438dc70ed96630887246a1d3aefcf155b1c diff --git a/php_http_exception_object.h b/php_http_exception_object.h index 19d7cda..68c462f 100644 --- a/php_http_exception_object.h +++ b/php_http_exception_object.h @@ -16,10 +16,27 @@ #define PHP_HTTP_EXCEPTION_OBJECT_H #ifdef ZEND_ENGINE_2 +#include "zend_exceptions.h" + PHP_MINIT_FUNCTION(http_exception_object); +#define HTTP_EX_DEF_CE http_exception_object_ce +#define HTTP_EX_CE(name) http_ ##name## _exception_object_ce + extern zend_class_entry *http_exception_object_ce; extern zend_function_entry http_exception_object_fe[]; +extern zend_class_entry *HTTP_EX_CE(runtime); +extern zend_class_entry *HTTP_EX_CE(header); +extern zend_class_entry *HTTP_EX_CE(malformed_headers); +extern zend_class_entry *HTTP_EX_CE(request_method); +extern zend_class_entry *HTTP_EX_CE(message_type); +extern zend_class_entry *HTTP_EX_CE(invalid_param); +extern zend_class_entry *HTTP_EX_CE(encoding); +extern zend_class_entry *HTTP_EX_CE(request); +extern zend_class_entry *HTTP_EX_CE(request_pool); +extern zend_class_entry *HTTP_EX_CE(socket); +extern zend_class_entry *HTTP_EX_CE(response); +extern zend_class_entry *HTTP_EX_CE(url); #define http_exception_get_default _http_exception_get_default extern zend_class_entry *_http_exception_get_default();