From: tomo Date: Wed, 28 Dec 2005 09:03:28 +0000 (+0000) Subject: (concord_genre_get_name): New function. X-Git-Tag: libconcord-0_0_0~9 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=7c487e569da2b545140b42f64a34743d75394188;p=chise%2Fconcord.git (concord_genre_get_name): New function. (concord_feature_get_genre): New function. --- diff --git a/concord.c b/concord.c index 7fc75a3..6ed7bb6 100644 --- a/concord.c +++ b/concord.c @@ -346,6 +346,12 @@ concord_close_genre (CONCORD_Genre genre) return status; } +unsigned char* +concord_genre_get_name (CONCORD_Genre genre) +{ + return genre->name; +} + CONCORD_DS concord_genre_get_data_source (CONCORD_Genre genre) { @@ -587,6 +593,12 @@ concord_feature_get_name (CONCORD_Feature feature) return feature->name; } +CONCORD_Genre +concord_feature_get_genre (CONCORD_Feature feature) +{ + return feature->genre; +} + int concord_feature_setup_db (CONCORD_Feature feature, int writable) {