(chise_open_attribute_table): New prototype.
[chise/libchise.git] / chise.c
diff --git a/chise.c b/chise.c
index c37a61a..bb6578b 100644 (file)
--- a/chise.c
+++ b/chise.c
@@ -20,6 +20,18 @@ strnlen (register const char *s, register int maxlen)
 
 #include "chise.h"
 
+CHISE_Attribute_Table*
+chise_open_attribute_table (CHISE_DS *ds,
+                           const char *encoding, const char *feature,
+                           DBTYPE real_subtype,
+                           u_int32_t accessmask, int modemask);
+
+int chise_close_attribute_table (CHISE_Attribute_Table *at);
+
+int chise_get_attribute_table (CHISE_Attribute_Table *at,
+                              char *key, CHISE_Value *valdatum);
+
+
 #define xzero(lvalue) ((void) memset (&(lvalue), '\0', sizeof (lvalue)))
 
 CHISE_Char_ID
@@ -219,6 +231,13 @@ chise_format_char_id (CHISE_Char_ID cid, unsigned char *dest, int len)
     }
 }
 
+
+struct CHISE_DS
+{
+  CHISE_DS_Type type;
+  unsigned char *location;
+};
+
 CHISE_DS*
 chise_open_data_source (CHISE_DS_Type type, char *location)
 {