(struct COS_Feature_ent): Add new member `number_of_hits'.
[chise/concord.git] / cos-i.h
diff --git a/cos-i.h b/cos-i.h
index 7972d66..237a75b 100644 (file)
--- a/cos-i.h
+++ b/cos-i.h
@@ -294,6 +294,11 @@ struct COS_Feature_ent
   DB* db;
   u_int32_t access;
   COS_Hash_Table value_table;
+  COS_Feature next;
+  unsigned short number_of_hits;
+#if 0
+  unsigned short number_of_closes;
+#endif
 };
 
 int cos_retain_feature (COS_Object obj);
@@ -302,6 +307,17 @@ 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;
+  COS_Feature_INDEX next;
+};
+
 int cos_retain_index (COS_Object obj);
 int cos_release_index (COS_Object obj);