7 typedef enum CHISE_DS_Type
13 typedef struct CHISE_DS CHISE_DS;
16 chise_open_data_source (CHISE_DS_Type type, char *location,
17 DBTYPE subtype, int modemask);
19 int chise_ds_close (CHISE_DS *ds);
22 typedef int CHISE_Char_ID;
25 typedef DBT CHISE_Value;
28 chise_value_size (const CHISE_Value *s)
34 chise_value_data (const CHISE_Value *s)
40 chise_value_to_c_string (const CHISE_Value *s)
46 typedef struct CHISE_Feature_Table CHISE_Feature_Table;
47 typedef CHISE_Feature_Table* CHISE_Feature;
50 chise_ds_get_feature (CHISE_DS *ds, const unsigned char *feature);
52 int chise_char_load_feature_value (CHISE_Char_ID cid,
53 CHISE_Feature feature,
54 CHISE_Value *valdatum);
57 chise_char_gets_feature_value (CHISE_Char_ID cid,
58 CHISE_Feature feature,
59 unsigned char *dst, size_t size);
62 chise_char_feature_value_iterate (CHISE_Feature feature,
63 int (*func) (CHISE_Char_ID cid,
64 CHISE_Feature feature,
65 CHISE_Value *valdatum));
69 chise_char_feature_str_iterate (CHISE_Feature feature,
70 int (*func) (CHISE_Char_ID cid,
71 CHISE_Feature feature,
76 typedef struct CHISE_CCS_Table CHISE_CCS_Table;
77 typedef CHISE_CCS_Table* CHISE_CCS;
80 chise_ds_get_ccs (CHISE_DS *ds, const unsigned char *ccs);
82 CHISE_Char_ID chise_ccs_decode (CHISE_CCS ccs, int code_point);
84 int chise_ccs_set_decoded_char (CHISE_CCS ccs,
85 int code_point, CHISE_Char_ID cid);
87 int chise_ccs_sync (CHISE_CCS ccs);
89 #endif /* !_CHISE_H */