X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_date_api.h;h=f33e27503da6f504378fe0a922311b85346e9013;hp=3356e3856b7edaa1a5b60cde8b20a2e8f1824623;hb=ad5f896b03adaa073134a00108a9cdf00720673a;hpb=32e91737086db53bb1fd9ed9f79d693c43ec459f diff --git a/php_http_date_api.h b/php_http_date_api.h index 3356e38..f33e275 100644 --- a/php_http_date_api.h +++ b/php_http_date_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2010, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -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