X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_date_api.h;h=f33e27503da6f504378fe0a922311b85346e9013;hp=e25ad6fbed8ec6dfcd9b0cc1f57444409a000bc7;hb=refs%2Fheads%2Fv1.7.x;hpb=edc84b40eb2c5be04492fa98fec5833a030782eb diff --git a/php_http_date_api.h b/php_http_date_api.h index e25ad6f..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-2005, 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)) -PHP_HTTP_API time_t _http_parse_date(const char *date); +#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