From 7336a58b86f85500a6b0ad70ebb06c9750094053 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Fri, 17 May 2013 21:43:25 +0900 Subject: [PATCH] (struct COS_Feature_INDEX_ent): Moved to cos-i.h; add new member `decoding_table'. (concord_genre_open_index): Reset `table->decoding_table'. --- concord.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/concord.c b/concord.c index 617f6c5..2a646d6 100644 --- a/concord.c +++ b/concord.c @@ -729,15 +729,6 @@ concord_feature_foreach_obj_string (CONCORD_Feature feature, } -struct COS_Feature_INDEX_ent -{ - COS_Object_Header header; - CONCORD_Genre genre; - char *name; - DB* db; - u_int32_t access; -}; - CONCORD_INDEX concord_genre_open_index (CONCORD_Genre genre, const char* index) { @@ -761,6 +752,7 @@ concord_genre_open_index (CONCORD_Genre genre, const char* index) return NULL; } strcpy (table->name, index); + table->decoding_table = NULL; return table; } -- 1.7.10.4