- (non-)ZTS fixes
[m6w6/ext-http] / php_http_date_api.h
1 /*
2 +--------------------------------------------------------------------+
3 | PECL :: http |
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-2006, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
11 */
12
13 /* $Id$ */
14
15 #ifndef PHP_HTTP_DATE_API_H
16 #define PHP_HTTP_DATE_API_H
17
18 #define http_date(t) _http_date((t) TSRMLS_CC)
19 PHP_HTTP_API char *_http_date(time_t t TSRMLS_DC);
20
21 #define http_parse_date(d) _http_parse_date((d) TSRMLS_CC)
22 PHP_HTTP_API time_t _http_parse_date(const char *date TSRMLS_DC);
23
24 #endif
25
26 /*
27 * Local variables:
28 * tab-width: 4
29 * c-basic-offset: 4
30 * End:
31 * vim600: noet sw=4 ts=4 fdm=marker
32 * vim<600: noet sw=4 ts=4
33 */
34