2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2007, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
15 #ifndef PHP_HTTP_DATE_API_H
16 #define PHP_HTTP_DATE_API_H
18 #define http_date(t) _http_date((t) TSRMLS_CC)
19 PHP_HTTP_API
char *_http_date(time_t t TSRMLS_DC
);
21 #define http_parse_date(d) _http_parse_date_ex((d), 0 TSRMLS_CC)
22 #define http_parse_date_ex(d, s) _http_parse_date_ex((d), (s) TSRMLS_CC)
23 PHP_HTTP_API
time_t _http_parse_date_ex(const char *date
, zend_bool silent TSRMLS_DC
);
32 * vim600: noet sw=4 ts=4 fdm=marker
33 * vim<600: noet sw=4 ts=4