summaryrefslogtreecommitdiff
path: root/vfs.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-10-01 22:17:34 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-10-01 22:17:34 +0200
commit8d67c4ea1f4171227e5dfb1842cffcde1693dac0 (patch)
treedce9d9e8ccbf8542570b24c2bd31962c503e86be /vfs.h
parent9681613d71b853064735db49fd5715b6cea675ae (diff)
added http filesize fetching (allows mp3 duration calc, etc)
Diffstat (limited to 'vfs.h')
-rw-r--r--vfs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/vfs.h b/vfs.h
index 22ca1c25..3090ba1d 100644
--- a/vfs.h
+++ b/vfs.h
@@ -25,8 +25,9 @@
DB_FILE* vfs_fopen (const char *fname);
void vfs_fclose (DB_FILE *f);
size_t vfs_fread (void *ptr, size_t size, size_t nmemb, DB_FILE *stream);
-int vfs_fseek (DB_FILE *stream, long offset, int whence);
-long vfs_ftell (DB_FILE *stream);
+int vfs_fseek (DB_FILE *stream, int64_t offset, int whence);
+int64_t vfs_ftell (DB_FILE *stream);
void vfs_rewind (DB_FILE *stream);
+int64_t vfs_fgetlength (DB_FILE *stream);
#endif // __VFS_H