summaryrefslogtreecommitdiff
path: root/vfs.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-10-25 21:16:35 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-10-25 21:16:35 +0100
commit1205684e301f998f26a1dc8828e1f628ef0160f6 (patch)
tree3347a4cfab6edd8432c91c4f33d96564078e887c /vfs.c
parent3e5687aef0a52ee3e500741f4623145a351d41dd (diff)
added vfs filetype detection based on content-type
Diffstat (limited to 'vfs.c')
-rw-r--r--vfs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vfs.c b/vfs.c
index 53266b5c..7e6f64ee 100644
--- a/vfs.c
+++ b/vfs.c
@@ -79,3 +79,8 @@ int64_t
vfs_fgetlength (DB_FILE *stream) {
return stream->vfs->getlength (stream);
}
+
+const char *
+vfs_get_content_type (DB_FILE *stream) {
+ return stream->vfs->get_content_type (stream);
+}