1 /*
2    +----------------------------------------------------------------------+
3    | This source file is subject to version 3.01 of the PHP license,      |
4    | that is bundled with this package in the file LICENSE, and is        |
5    | available through the world-wide-web at the following url:           |
6    | http://www.php.net/license/3_01.txt                                  |
7    | If you did not receive a copy of the PHP license and are unable to   |
8    | obtain it through the world-wide-web, please send a note to          |
9    | license@php.net so we can mail you a copy immediately.               |
10    +----------------------------------------------------------------------+
11    | Authors: Kirti Velankar <kirtig@yahoo-inc.com>                       |
12    +----------------------------------------------------------------------+
13 */
14 #ifndef DATE_FORMAT_DATA_H
15 #define DATE_FORMAT_DATA_H
16 
17 #include <php.h>
18 
19 #include <unicode/udat.h>
20 
21 #include "intl_error.h"
22 
23 typedef struct {
24 	// error handling
25 	intl_error      error;
26 
27 	// formatter handling
28 	UDateFormat *  udatf;
29 } dateformat_data;
30 
31 dateformat_data* dateformat_data_create( void );
32 void dateformat_data_init( dateformat_data* datef_data );
33 void dateformat_data_free( dateformat_data* datef_data );
34 
35 #endif // DATE_FORMAT_DATA_H
36