Back to index

php5  5.3.10
dateformat_data.h
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | This source file is subject to version 3.01 of the PHP license,      |
00006    | that is bundled with this package in the file LICENSE, and is        |
00007    | available through the world-wide-web at the following url:           |
00008    | http://www.php.net/license/3_01.txt                                  |
00009    | If you did not receive a copy of the PHP license and are unable to   |
00010    | obtain it through the world-wide-web, please send a note to          |
00011    | license@php.net so we can mail you a copy immediately.               |
00012    +----------------------------------------------------------------------+
00013    | Authors: Kirti Velankar <kirtig@yahoo-inc.com>                       |
00014    +----------------------------------------------------------------------+
00015 */
00016 #ifndef DATE_FORMAT_DATA_H
00017 #define DATE_FORMAT_DATA_H
00018 
00019 #include <php.h>
00020 
00021 #include <unicode/udat.h>
00022 
00023 #include "intl_error.h"
00024 
00025 typedef struct {
00026        // error hangling
00027        intl_error      error;
00028 
00029        // formatter handling
00030        UDateFormat *  udatf;
00031 } dateformat_data;
00032 
00033 dateformat_data* dateformat_data_create( TSRMLS_D );
00034 void dateformat_data_init( dateformat_data* datef_data TSRMLS_DC );
00035 void dateformat_data_free( dateformat_data* datef_data TSRMLS_DC );
00036 
00037 #endif // DATE_FORMAT_DATA_H