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_Feature_Table CHISE_Feature_Table;
45 typedef CHISE_Feature_Table* CHISE_Feature;
48 chise_ds_get_feature (CHISE_DS *ds, const unsigned char *feature,
50 u_int32_t accessmask, int modemask);
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));
68 chise_char_feature_str_iterate (CHISE_Feature feature,
69 int (*func) (CHISE_Char_ID cid,
70 CHISE_Feature feature,
75 chise_ds_open_feature_table (CHISE_DS *ds, const char *feature,
77 u_int32_t accessmask, int modemask);
79 int chise_ft_close (CHISE_Feature_Table *table);
82 typedef struct CHISE_CCS_Table CHISE_CCS_Table;
83 typedef CHISE_CCS_Table* CHISE_CCS;
86 chise_ds_get_ccs (CHISE_DS *ds, const unsigned char *ccs,
88 u_int32_t accessmask, int modemask);
90 CHISE_Char_ID chise_ccs_decode (CHISE_CCS ccs, int code_point);
93 chise_ds_open_ccs_table (CHISE_DS *ds, const char *ccs,
95 u_int32_t accessmask, int modemask);
97 int chise_ccst_close (CHISE_CCS_Table *table);
99 int chise_ccst_put_char (CHISE_CCS_Table *table,
100 int code_point, CHISE_Char_ID cid);
102 #endif /* !_CHISE_H */