- print doesn't like commas
[m6w6/ext-http] / php_http_date_api.h
1 /*
2 +----------------------------------------------------------------------+
3 | PECL :: http |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.0 of the PHP license, that |
6 | is bundled with this package in the file LICENSE, and is available |
7 | through the world-wide-web at http://www.php.net/license/3_0.txt. |
8 | If you did not receive a copy of the PHP license and are unable to |
9 | obtain it through the world-wide-web, please send a note to |
10 | license@php.net so we can mail you a copy immediately. |
11 +----------------------------------------------------------------------+
12 | Copyright (c) 2004-2005 Michael Wallner <mike@php.net> |
13 +----------------------------------------------------------------------+
14 */
15
16 /* $Id$ */
17
18 #ifndef PHP_HTTP_DATE_API_H
19 #define PHP_HTTP_DATE_API_H
20
21 #include "php_http_std_defs.h"
22
23 #define http_date(t) _http_date((t) TSRMLS_CC)
24 PHP_HTTP_API char *_http_date(time_t t TSRMLS_DC);
25
26 #define http_parse_date(d) _http_parse_date((d))
27 PHP_HTTP_API time_t _http_parse_date(const char *date);
28
29 #endif
30
31 /*
32 * Local variables:
33 * tab-width: 4
34 * c-basic-offset: 4
35 * End:
36 * vim600: noet sw=4 ts=4 fdm=marker
37 * vim<600: noet sw=4 ts=4
38 */
39