diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-10-01 22:17:34 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-10-01 22:17:34 +0200 |
commit | 8d67c4ea1f4171227e5dfb1842cffcde1693dac0 (patch) | |
tree | dce9d9e8ccbf8542570b24c2bd31962c503e86be /vfs.h | |
parent | 9681613d71b853064735db49fd5715b6cea675ae (diff) |
added http filesize fetching (allows mp3 duration calc, etc)
Diffstat (limited to 'vfs.h')
-rw-r--r-- | vfs.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |