6 typedef enum CHISE_DS_Type
12 typedef struct CHISE_DS
18 int chise_open_data_source (CHISE_DS *ds, CHISE_DS_Type type,
21 int chise_close_data_source (CHISE_DS *ds);
24 typedef int CHISE_Char_ID;
27 typedef DBT CHISE_Value;
30 chise_value_size (const CHISE_Value *s)
36 chise_value_data (const CHISE_Value *s)
42 chise_value_to_c_string (const CHISE_Value *s)
48 typedef DB CHISE_Attribute_Table;
51 typedef CHISE_Attribute_Table CHISE_Decoding_Table;
53 int chise_open_decoding_table (CHISE_Decoding_Table **db,
54 CHISE_DS *ds, const char *ccs,
56 u_int32_t accessmask, int modemask);
58 int chise_close_decoding_table (CHISE_Decoding_Table *db);
60 CHISE_Char_ID chise_dt_get_char (CHISE_Decoding_Table *db, int code_point);
63 typedef CHISE_Attribute_Table CHISE_Feature_Table;
65 int chise_open_feature_table (CHISE_Feature_Table **db,
66 CHISE_DS *ds, const char *feature,
68 u_int32_t accessmask, int modemask);
70 int chise_close_feature_table (CHISE_Feature_Table *db);
72 int chise_ft_get_value (CHISE_Feature_Table *db,
73 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);
83 int chise_open_attribute_table (CHISE_Attribute_Table **db,
85 const char *encoding, const char *feature,
87 u_int32_t accessmask, int modemask);
89 int chise_close_attribute_table (CHISE_Attribute_Table *db);
91 int chise_get_attribute_table (CHISE_Attribute_Table *db,
92 char *key, CHISE_Value *valdatum);
94 #endif /* !_CHISE_H */