X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_date_api.h;h=948f6e820d380cf4d0ec85821f5e10975ef24f61;hp=3356e3856b7edaa1a5b60cde8b20a2e8f1824623;hb=3d3fa591d770c2b046ff8f51e85bd8dafc1dfa56;hpb=db416fc4a150385aeb0c3eb4c2ae254057282b56 diff --git a/php_http_date_api.h b/php_http_date_api.h index 3356e38..948f6e8 100644 --- a/php_http_date_api.h +++ b/php_http_date_api.h @@ -18,8 +18,9 @@ #define http_date(t) _http_date((t) TSRMLS_CC) PHP_HTTP_API char *_http_date(time_t t TSRMLS_DC); -#define http_parse_date(d) _http_parse_date((d) TSRMLS_CC) -PHP_HTTP_API time_t _http_parse_date(const char *date TSRMLS_DC); +#define http_parse_date(d) _http_parse_date_ex((d), 0 TSRMLS_CC) +#define http_parse_date_ex(d, s) _http_parse_date_ex((d), (s) TSRMLS_CC) +PHP_HTTP_API time_t _http_parse_date_ex(const char *date, zend_bool silent TSRMLS_DC); #endif