X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_client.h;h=41671b9ff813a0c061615636ebc32615d297a138;hp=5067f6c5832415cf905d704c6f99e5ef1308220f;hb=be9585b914061f84c5d5939673d29ecc048ab1d7;hpb=e22fc5f78e8cfc1101c4548de0568add46a8694a diff --git a/php_http_client.h b/php_http_client.h index 5067f6c..41671b9 100644 --- a/php_http_client.h +++ b/php_http_client.h @@ -85,7 +85,7 @@ typedef struct php_http_client_progress_state { unsigned finished:1; } php_http_client_progress_state_t; -typedef ZEND_RESULT_CODE (*php_http_client_response_callback_t)(void *arg, struct php_http_client *client, php_http_client_enqueue_t *e, php_http_message_t **request, php_http_message_t **response); +typedef ZEND_RESULT_CODE (*php_http_client_response_callback_t)(void *arg, struct php_http_client *client, php_http_client_enqueue_t *e, php_http_message_t **response); typedef void (*php_http_client_progress_callback_t)(void *arg, struct php_http_client *client, php_http_client_enqueue_t *e, php_http_client_progress_state_t *state); typedef struct php_http_client { @@ -112,6 +112,8 @@ PHP_HTTP_API zend_class_entry *php_http_client_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; zend_object zo; } php_http_client_object_t;