Back to index

php5  5.3.10
Functions
dateformat_data.c File Reference
#include "dateformat_data.h"

Go to the source code of this file.

Functions

void dateformat_data_init (dateformat_data *datef_data TSRMLS_DC)
void dateformat_data_free (dateformat_data *datef_data TSRMLS_DC)
dateformat_datadateformat_data_create (TSRMLS_D)

Function Documentation

Definition at line 54 of file dateformat_data.c.

{
       dateformat_data* datef_data = ecalloc( 1, sizeof(dateformat_data) );

       dateformat_data_init( datef_data TSRMLS_CC );

       return datef_data;
}

Here is the call graph for this function:

void dateformat_data_free ( dateformat_data *datef_data  TSRMLS_DC)

Definition at line 38 of file dateformat_data.c.

{
       if( !datef_data )
              return;

       if( datef_data->udatf )
              udat_close( datef_data->udatf );

       datef_data->udatf = NULL;
       intl_error_reset( &datef_data->error TSRMLS_CC );
}

Here is the call graph for this function:

Here is the caller graph for this function:

void dateformat_data_init ( dateformat_data *datef_data  TSRMLS_DC)

Definition at line 25 of file dateformat_data.c.

{
       if( !datef_data )
              return;

       datef_data->udatf = NULL;
       intl_error_reset( &datef_data->error TSRMLS_CC );
}

Here is the call graph for this function:

Here is the caller graph for this function: