diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-10-25 21:16:35 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-10-25 21:16:35 +0100 |
commit | 1205684e301f998f26a1dc8828e1f628ef0160f6 (patch) | |
tree | 3347a4cfab6edd8432c91c4f33d96564078e887c /vfs.c | |
parent | 3e5687aef0a52ee3e500741f4623145a351d41dd (diff) |
added vfs filetype detection based on content-type
Diffstat (limited to 'vfs.c')
-rw-r--r-- | vfs.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); +} |