From: MORIOKA Tomohiko Date: Fri, 17 May 2013 12:43:25 +0000 (+0900) Subject: (struct COS_Feature_INDEX_ent): Moved to cos-i.h; add new member X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7336a58b86f85500a6b0ad70ebb06c9750094053;p=chise%2Fconcord.git (struct COS_Feature_INDEX_ent): Moved to cos-i.h; add new member `decoding_table'. (concord_genre_open_index): Reset `table->decoding_table'. --- 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; }