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,
77 chise_ds_open_feature_table (CHISE_DS *ds, const char *feature);
79 int chise_ft_close (CHISE_Feature_Table *table);
83 typedef struct CHISE_CCS_Table CHISE_CCS_Table;
84 typedef CHISE_CCS_Table* CHISE_CCS;
87 chise_ds_get_ccs (CHISE_DS *ds, const unsigned char *ccs);
89 CHISE_Char_ID chise_ccs_decode (CHISE_CCS ccs, int code_point);
91 int chise_ccs_set_decoded_char (CHISE_CCS ccs,
92 int code_point, CHISE_Char_ID cid);
94 int chise_ccs_sync (CHISE_CCS ccs);
98 chise_ds_open_ccs_table (CHISE_DS *ds, const char *ccs);
100 int chise_ccst_close (CHISE_CCS_Table *table);
103 #endif /* !_CHISE_H */