From: tomo Date: Mon, 13 Oct 2003 06:38:47 +0000 (+0000) Subject: (chise_ds_foreach_char_feature_name): New prototype. X-Git-Tag: b1-r0_2_0-pre8~4 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=7bf63ccc956a87b960f34aeee2e78384c620b1c4;p=chise%2Flibchise.git (chise_ds_foreach_char_feature_name): New prototype. (chise_feature_foreach_char_with_value): Renamed from `chise_char_feature_value_iterate'. --- diff --git a/chise.h b/chise.h index eeb2602..029a9eb 100644 --- a/chise.h +++ b/chise.h @@ -20,6 +20,11 @@ CHISE_DS_open (CHISE_DS_Type type, const unsigned char *location, int CHISE_DS_close (CHISE_DS *ds); +int +chise_ds_foreach_char_feature_name (CHISE_DS *ds, + int (*func) (CHISE_DS *ds, + unsigned char *name)); + typedef int CHISE_Char_ID; @@ -86,17 +91,17 @@ chise_char_gets_feature_value (CHISE_Char_ID cid, unsigned char *dst, size_t size); int -chise_char_feature_value_iterate (CHISE_Feature feature, - int (*func) (CHISE_Char_ID cid, - CHISE_Feature feature, - CHISE_Value *valdatum)); +chise_feature_foreach_char_with_value (CHISE_Feature feature, + int (*func) (CHISE_Char_ID cid, + CHISE_Feature feature, + CHISE_Value *valdatum)); #if 0 int -chise_char_feature_str_iterate (CHISE_Feature feature, - int (*func) (CHISE_Char_ID cid, - CHISE_Feature feature, - unsigned char *str)); +chise_feature_foreach_char_with_str (CHISE_Feature feature, + int (*func) (CHISE_Char_ID cid, + CHISE_Feature feature, + unsigned char *str)); #endif