7 typedef enum CHISE_DS_Type
13 typedef struct CHISE_DS CHISE_DS;
15 CHISE_DS* chise_open_data_source (CHISE_DS_Type type, char *location);
17 int chise_ds_close (CHISE_DS *ds);
20 typedef int CHISE_Char_ID;
23 typedef DBT CHISE_Value;
26 chise_value_size (const CHISE_Value *s)
32 chise_value_data (const CHISE_Value *s)
38 chise_value_to_c_string (const CHISE_Value *s)
44 typedef struct CHISE_Decoding_Table CHISE_Decoding_Table;
47 chise_ds_open_decoding_table (CHISE_DS *ds, const char *ccs,
49 u_int32_t accessmask, int modemask);
51 int chise_dt_close (CHISE_Decoding_Table *table);
53 CHISE_Char_ID chise_dt_get_char (CHISE_Decoding_Table *table, int code_point);
55 int chise_dt_put_char (CHISE_Decoding_Table *table,
56 int code_point, CHISE_Char_ID cid);
59 typedef struct CHISE_Feature_Table CHISE_Feature_Table;
62 chise_ds_open_feature_table (CHISE_DS *ds, const char *feature,
64 u_int32_t accessmask, int modemask);
66 int chise_ft_close (CHISE_Feature_Table *table);
68 int chise_ft_get_value (CHISE_Feature_Table *table,
69 CHISE_Char_ID cid, CHISE_Value *valdatum);
72 chise_ft_iterate (CHISE_Feature_Table *table,
73 int (*func) (CHISE_Feature_Table *table,
74 CHISE_Char_ID cid, CHISE_Value *valdatum));
77 CHISE_Char_ID chise_decode_char (CHISE_DS *ds, char *ccs, int code_point);
79 int chise_get_feature (CHISE_DS *ds, CHISE_Char_ID cid,
80 char *key, CHISE_Value *valdatum);
82 #endif /* !_CHISE_H */