aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/file_wrappers.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-05-09 05:30:59 +0000
committerGuy Harris <guy@alum.mit.edu>2011-05-09 05:30:59 +0000
commit88a1ed85e3156e80c3fed4848d651aae433dc8d8 (patch)
treeab444a6fa6b32f20c68c7689470957750b11e699 /wiretap/file_wrappers.h
parent42ba70cf9c7b906c73721065e5b7425bf2ff663e (diff)
From Jakub Zawadzki: for file read progress bars, use the raw offset in
the file, rather than the offset in the uncompressed data stream. That way we don't get the "hey, we're more than 100% into the file, better refigure this" surprise. svn path=/trunk/; revision=37025
Diffstat (limited to 'wiretap/file_wrappers.h')
-rw-r--r--wiretap/file_wrappers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wiretap/file_wrappers.h b/wiretap/file_wrappers.h
index c2b2e3df6f..7929319a61 100644
--- a/wiretap/file_wrappers.h
+++ b/wiretap/file_wrappers.h
@@ -26,6 +26,7 @@
extern gint64 file_seek(FILE_T stream, gint64 offset, int whence, int *err);
extern gint64 file_tell(FILE_T stream);
+extern gint64 file_tell_raw(FILE_T stream);
extern int file_error(FILE_T fh, gchar **err_info);
extern FILE_T file_open(const char *path);