Implement gc handlers
[m6w6/ext-http] / src / php_http_client.h
index 792581a4da017906ffa05b5e550069b39a0b2157..c206ccd75be97c841bf7528eccad8711f90a283a 100644 (file)
@@ -111,13 +111,14 @@ typedef struct php_http_client {
        zend_llist responses;
 } php_http_client_t;
 
-PHP_HTTP_API zend_class_entry *php_http_client_class_entry;
+PHP_HTTP_API zend_class_entry *php_http_client_get_class_entry();
 
 typedef struct php_http_client_object {
        php_http_client_t *client;
        php_http_object_method_t *update;
        php_http_object_method_t notify;
        long iterator;
+       zval *gc;
        zend_object zo;
 } php_http_client_object_t;