From 7c487e569da2b545140b42f64a34743d75394188 Mon Sep 17 00:00:00 2001 From: tomo Date: Wed, 28 Dec 2005 09:03:28 +0000 Subject: [PATCH] (concord_genre_get_name): New function. (concord_feature_get_genre): New function. --- concord.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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) { -- 1.7.10.4