cvs: php-src(PHP_5_0) /ext/curl interface.c

From: Date: Fri, 20 Aug 2004 00:56:06 +0000
Subject: cvs: php-src(PHP_5_0) /ext/curl interface.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-28387@lists.php.net to get a copy of this message
iliaa Thu Aug 19 20:56:06 2004 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/curl interface.c Log: MFH: Added more missing cURL options. http://cvs.php.net/diff.php/php-src/ext/curl/interface.c?r1=1.46.2.1&r2=1.46.2.2&ty=u Index: php-src/ext/curl/interface.c diff -u php-src/ext/curl/interface.c:1.46.2.1 php-src/ext/curl/interface.c:1.46.2.2 --- php-src/ext/curl/interface.c:1.46.2.1 Wed Aug 18 17:27:27 2004 +++ php-src/ext/curl/interface.c Thu Aug 19 20:56:05 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: interface.c,v 1.46.2.1 2004/08/18 21:27:27 iliaa Exp $ */ +/* $Id: interface.c,v 1.46.2.2 2004/08/20 00:56:05 iliaa Exp $ */ #define ZEND_INCLUDE_FULL_WINDOWS_HEADERS @@ -220,6 +220,9 @@ REGISTER_CURL_CONSTANT(CURLOPT_UNRESTRICTED_AUTH); REGISTER_CURL_CONSTANT(CURLOPT_FTP_USE_EPRT); REGISTER_CURL_CONSTANT(CURLOPT_HTTP200ALIASES); + REGISTER_CURL_CONSTANT(CURL_TIMECOND_IFMODSINCE); + REGISTER_CURL_CONSTANT(CURL_TIMECOND_IFUNMODSINCE); + REGISTER_CURL_CONSTANT(CURL_TIMECOND_LASTMOD); #if LIBCURL_VERSION_NUM > 0x070a05 /* CURLOPT_HTTPAUTH is available since curl 7.10.6 */ REGISTER_CURL_CONSTANT(CURLOPT_HTTPAUTH); @@ -922,6 +925,9 @@ #endif case CURLOPT_UNRESTRICTED_AUTH: case CURLOPT_PORT: + case CURL_TIMECOND_IFMODSINCE: + case CURL_TIMECOND_IFUNMODSINCE: + case CURL_TIMECOND_LASTMOD: convert_to_long_ex(zvalue); error = curl_easy_setopt(ch->cp, option, Z_LVAL_PP(zvalue)); break;

« previous php.cvs (#28387) next »