add max-age to http\Cookie
[m6w6/ext-http] / php_http_property_proxy.h
index 043d3ed9afa247c3bec94d089cb1592a5d1e2bf3..518cb5a5f3b654a66a7b8652de716df7bb1ad767 100644 (file)
@@ -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);