(chise_ds_location): New prototype.
authortomo <tomo>
Sat, 17 Jul 2004 02:13:09 +0000 (02:13 +0000)
committertomo <tomo>
Sat, 17 Jul 2004 02:13:09 +0000 (02:13 +0000)
(CHISE_Property_Table): New type.
(CHISE_Property): New type.
(chise_ds_get_property): New prototype.
(chise_property_setup_db): Likewise.
(chise_property_sync): Likewise.
(chise_feature_set_property_value): Likewise.
(chise_feature_load_property_value): Likewise.
(chise_feature_gets_property_value): Likewise.

chise.h

diff --git a/chise.h b/chise.h
index 48587c4..6b903d1 100644 (file)
--- a/chise.h
+++ b/chise.h
@@ -39,6 +39,8 @@ CHISE_DS_open (CHISE_DS_Type type, const unsigned char *location,
 
 int CHISE_DS_close (CHISE_DS *ds);
 
+unsigned char* chise_ds_location (CHISE_DS *ds);
+
 int
 chise_ds_foreach_char_feature_name (CHISE_DS *ds,
                                    int (*func) (CHISE_DS *ds,
@@ -151,4 +153,28 @@ chise_ds_decode_char (CHISE_DS *ds,
     chise_ccs_decode (chise_ds_get_ccs (ds, name), code_point);
 }
 
+
+typedef struct CHISE_Property_Table CHISE_Property_Table;
+typedef CHISE_Property_Table* CHISE_Property;
+
+CHISE_Property_Table*
+chise_ds_get_property (CHISE_DS *ds, const unsigned char *property);
+
+int chise_property_setup_db (CHISE_Property property, int writable);
+
+int chise_property_sync (CHISE_Property property);
+
+int chise_feature_set_property_value (CHISE_Feature feature,
+                                     CHISE_Property property,
+                                     unsigned char *value);
+
+int chise_feature_load_property_value (CHISE_Feature feature,
+                                      CHISE_Property_Table *table,
+                                      CHISE_Value *valdatum);
+
+unsigned char*
+chise_feature_gets_property_value (CHISE_Feature feature,
+                                  CHISE_Property_Table *table,
+                                  unsigned char *buf, size_t size);
+
 #endif /* !_CHISE_H */