2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2011, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
13 #ifndef PHP_HTTP_PROPERTY_PROXY_H
14 #define PHP_HTTP_PROPERTY_PROXY_H
16 typedef struct php_http_property_proxy
{
21 } php_http_property_proxy_t
;
23 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
);
24 PHP_HTTP_API
void php_http_property_proxy_dtor(php_http_property_proxy_t
*proxy
);
25 PHP_HTTP_API
void php_http_property_proxy_free(php_http_property_proxy_t
**proxy
);
27 typedef struct php_http_property_proxy_object
{
29 php_http_property_proxy_t
*proxy
;
30 } php_http_property_proxy_object_t
;
32 zend_class_entry
*php_http_property_proxy_get_class_entry(void);
34 zend_object_value
php_http_property_proxy_object_new(zend_class_entry
*ce TSRMLS_DC
);
35 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
);
36 void php_http_property_proxy_object_free(void *object TSRMLS_DC
);
38 PHP_METHOD(HttpPropertyProxy
, __construct
);
40 PHP_MINIT_FUNCTION(http_property_proxy
);
42 #endif /* PHP_HTTP_PROPERTY_PROXY_H_ */
49 * vim600: noet sw=4 ts=4 fdm=marker
50 * vim<600: noet sw=4 ts=4