@@ -121,40 +121,40 @@ void _php_curl_multi_close(zend_resource *);
121
121
void _php_curl_share_close (zend_resource * );
122
122
123
123
typedef struct {
124
- zval func_name ;
125
- zend_fcall_info_cache fci_cache ;
126
- FILE * fp ;
127
- smart_str buf ;
128
- int method ;
124
+ zval func_name ;
125
+ zend_fcall_info_cache fci_cache ;
126
+ FILE * fp ;
127
+ smart_str buf ;
128
+ int method ;
129
129
zval stream ;
130
130
} php_curl_write ;
131
131
132
132
typedef struct {
133
- zval func_name ;
134
- zend_fcall_info_cache fci_cache ;
135
- FILE * fp ;
136
- zend_resource * res ;
137
- int method ;
138
- zval stream ;
133
+ zval func_name ;
134
+ zend_fcall_info_cache fci_cache ;
135
+ FILE * fp ;
136
+ zend_resource * res ;
137
+ int method ;
138
+ zval stream ;
139
139
} php_curl_read ;
140
140
141
141
typedef struct {
142
- zval func_name ;
143
- zend_fcall_info_cache fci_cache ;
144
- int method ;
142
+ zval func_name ;
143
+ zend_fcall_info_cache fci_cache ;
144
+ int method ;
145
145
} php_curl_progress , php_curl_fnmatch ;
146
146
147
147
typedef struct {
148
- php_curl_write * write ;
149
- php_curl_write * write_header ;
150
- php_curl_read * read ;
148
+ php_curl_write * write ;
149
+ php_curl_write * write_header ;
150
+ php_curl_read * read ;
151
151
#if CURLOPT_PASSWDFUNCTION != 0
152
- zval passwd ;
152
+ zval passwd ;
153
153
#endif
154
- zval std_err ;
155
- php_curl_progress * progress ;
154
+ zval std_err ;
155
+ php_curl_progress * progress ;
156
156
#if LIBCURL_VERSION_NUM >= 0x071500 /* Available since 7.21.0 */
157
- php_curl_fnmatch * fnmatch ;
157
+ php_curl_fnmatch * fnmatch ;
158
158
#endif
159
159
} php_curl_handlers ;
160
160
@@ -174,22 +174,22 @@ struct _php_curl_free {
174
174
};
175
175
176
176
typedef struct {
177
- struct _php_curl_error err ;
178
- struct _php_curl_free * to_free ;
177
+ CURL * cp ;
178
+ php_curl_handlers * handlers ;
179
+ zend_resource * res ;
180
+ struct _php_curl_free * to_free ;
179
181
struct _php_curl_send_headers header ;
180
- CURL * cp ;
181
- php_curl_handlers * handlers ;
182
- zend_resource * res ;
183
- zend_bool in_callback ;
184
- uint32_t clone ;
182
+ struct _php_curl_error err ;
183
+ zend_bool in_callback ;
184
+ uint32_t clone ;
185
185
} php_curl ;
186
186
187
187
#define CURLOPT_SAFE_UPLOAD -1
188
188
189
189
typedef struct {
190
- int still_running ;
191
- CURLM * multi ;
192
- zend_llist easyh ;
190
+ int still_running ;
191
+ CURLM * multi ;
192
+ zend_llist easyh ;
193
193
} php_curlm ;
194
194
195
195
typedef struct {
0 commit comments