X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_property_proxy.h;h=518cb5a5f3b654a66a7b8652de716df7bb1ad767;hp=043d3ed9afa247c3bec94d089cb1592a5d1e2bf3;hb=7ba90c6d9d6843549fb9227d1a7aa05033e60772;hpb=8d05291f42b3b42159b3fe91492aa4862f3d4405 diff --git a/php_http_property_proxy.h b/php_http_property_proxy.h index 043d3ed..518cb5a 100644 --- a/php_http_property_proxy.h +++ b/php_http_property_proxy.h @@ -17,9 +17,10 @@ typedef struct php_http_property_proxy { zval *myself; zval *object; zval *member; + zval *parent; } php_http_property_proxy_t; -PHP_HTTP_API php_http_property_proxy_t *php_http_property_proxy_init(php_http_property_proxy_t *proxy, zval *object, zval *member TSRMLS_DC); +PHP_HTTP_API php_http_property_proxy_t *php_http_property_proxy_init(php_http_property_proxy_t *proxy, zval *object, zval *member, zval *parent TSRMLS_DC); PHP_HTTP_API void php_http_property_proxy_dtor(php_http_property_proxy_t *proxy); PHP_HTTP_API void php_http_property_proxy_free(php_http_property_proxy_t **proxy); @@ -28,12 +29,11 @@ typedef struct php_http_property_proxy_object { php_http_property_proxy_t *proxy; } php_http_property_proxy_object_t; -extern zend_class_entry *php_http_property_proxy_class_entry; -extern zend_function_entry php_http_property_proxy_method_entry[]; +zend_class_entry *php_http_property_proxy_get_class_entry(void); -extern zend_object_value php_http_property_proxy_object_new(zend_class_entry *ce TSRMLS_DC); -extern zend_object_value php_http_property_proxy_object_new_ex(zend_class_entry *ce, php_http_property_proxy_t *proxy, php_http_property_proxy_object_t **ptr TSRMLS_DC); -extern void php_http_property_proxy_object_free(void *object TSRMLS_DC); +zend_object_value php_http_property_proxy_object_new(zend_class_entry *ce TSRMLS_DC); +zend_object_value php_http_property_proxy_object_new_ex(zend_class_entry *ce, php_http_property_proxy_t *proxy, php_http_property_proxy_object_t **ptr TSRMLS_DC); +void php_http_property_proxy_object_free(void *object TSRMLS_DC); PHP_METHOD(HttpPropertyProxy, __construct);