18#ifndef _PHP_CURL_PRIVATE_H
19#define _PHP_CURL_PRIVATE_H
23#define PHP_CURL_DEBUG 0
26#define PHP_CURL_VERSION PHP_VERSION
29#include <curl/multi.h>
31#define CURLOPT_RETURNTRANSFER 19913
32#define CURLOPT_BINARYTRANSFER 19914
33#define PHP_CURL_STDOUT 0
34#define PHP_CURL_FILE 1
35#define PHP_CURL_USER 2
36#define PHP_CURL_DIRECT 3
37#define PHP_CURL_RETURN 4
38#define PHP_CURL_IGNORE 7
40#define SAVE_CURL_ERROR(__handle, __err) \
41 do { (__handle)->err.no = (int) __err; } while (0)
72#if LIBCURL_VERSION_NUM >= 0x075000
75#if LIBCURL_VERSION_NUM >= 0x075400
81 char str[CURL_ERROR_SIZE + 1];
111#define CURLOPT_SAFE_UPLOAD -1
146#define Z_CURL_P(zv) curl_from_obj(Z_OBJ_P(zv))
152#define Z_CURL_SHARE_P(zv) curl_share_from_obj(Z_OBJ_P(zv))
void curl_share_register_handlers(void)
void init_curl_handle(php_curl *ch)
void curl_multi_register_handlers(void)
struct _php_curlsh php_curlsh
php_curl * init_curl_handle_into_zval(zval *curl)
void _php_curl_multi_cleanup_list(void *data)
zend_result curl_cast_object(zend_object *obj, zval *result, int type)
void curlfile_register_class(void)
void _php_curl_cleanup_handle(php_curl *)
void _php_curl_verify_handlers(php_curl *ch, bool reporterror)
void _php_setup_easy_copy_handlers(php_curl *ch, php_curl *source)
#define PHP_MSHUTDOWN_FUNCTION
#define PHP_MINIT_FUNCTION
#define PHP_MINFO_FUNCTION
char str[CURL_ERROR_SIZE+1]
zend_fcall_info_cache fnmatch
zend_fcall_info_cache progress
zend_fcall_info_cache debug
php_curl_write * write_header
zend_fcall_info_cache xferinfo
zend_fcall_info_cache fcc
zend_fcall_info_cache fcc
struct _php_curl_send_headers header
struct _php_curl_error err
struct _php_curlsh * share
struct _php_curl_free * to_free
php_curl_handlers handlers
zend_fcall_info_cache server_push
php_curlm_handlers handlers
struct _zend_fcall_info_cache zend_fcall_info_cache
struct _zend_llist zend_llist
struct _zend_string zend_string
#define XtOffsetOf(s_type, field)
struct _zend_object zend_object
struct _zend_resource zend_resource
struct _zend_array HashTable
ZEND_RESULT_CODE zend_result