unsigned char buf[1024];
/* open a data-source */
- ds = chise_open_data_source (CHISE_DS_Berkeley_DB, db_dir,
- real_subtype, modemask);
+ ds = CHISE_DS_open (CHISE_DS_Berkeley_DB, db_dir,
+ real_subtype, modemask);
if (ds == NULL)
{
printf ("Can't open data source\n");
if (ccs_daikanwa == NULL)
{
printf ("Can't open CCS =daikanwa\n");
- chise_ds_close (ds);
+ CHISE_DS_close (ds);
return -1;
}
chise_char_feature_value_iterate (ft_ideographic_structure, &test_map_func);
/* close the data-source */
- chise_ds_close (ds);
+ CHISE_DS_close (ds);
}