summaryrefslogtreecommitdiff
path: root/vfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'vfs.c')
-rw-r--r--vfs.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/vfs.c b/vfs.c
index 7e6f64ee..2c038fac 100644
--- a/vfs.c
+++ b/vfs.c
@@ -84,3 +84,18 @@ const char *
vfs_get_content_type (DB_FILE *stream) {
return stream->vfs->get_content_type (stream);
}
+
+const char *
+vfs_get_content_name (DB_FILE *stream) {
+ if (stream->vfs->get_content_name) {
+ return stream->vfs->get_content_name (stream);
+ }
+ return NULL;
+}
+const char *
+vfs_get_content_genre (DB_FILE *stream) {
+ if (stream->vfs->get_content_genre) {
+ return stream->vfs->get_content_genre (stream);
+ }
+ return NULL;
+}