(struct COS_Feature_INDEX_ent): Moved to cos-i.h; add new member
[chise/concord.git] / cos-i.h
diff --git a/cos-i.h b/cos-i.h
index 4ed5540..eb17c0b 100644 (file)
--- a/cos-i.h
+++ b/cos-i.h
@@ -31,6 +31,7 @@ extern "C" {
 #include "sysdep.h"
 #include "concord.h"
 #include "cos.h"
+#include "cos-hash.h"
 
 #ifndef SIZEOF_COS_INT
 # define SIZEOF_COS_INT SIZEOF_VOID_P
@@ -285,12 +286,32 @@ int cos_release_genre (COS_Object obj);
 int concord_close_genre (COS_Genre genre);
 
 
+struct COS_Feature_ent
+{
+  COS_Object_Header header;
+  CONCORD_Genre genre;
+  char* name;
+  DB* db;
+  u_int32_t access;
+  COS_Hash_Table value_table;
+};
+
 int cos_retain_feature (COS_Object obj);
 int cos_release_feature (COS_Object obj);
 
 int concord_close_feature (COS_Feature feature);
 
 
+struct COS_Feature_INDEX_ent
+{
+  COS_Object_Header header;
+  CONCORD_Genre genre;
+  char *name;
+  DB* db;
+  u_int32_t access;
+  COS_Hash_Table decoding_table;
+};
+
 int cos_retain_index (COS_Object obj);
 int cos_release_index (COS_Object obj);