diff options
author | Ashok Narayanan <ashokn@cisco.com> | 1999-09-23 04:39:01 +0000 |
---|---|---|
committer | Ashok Narayanan <ashokn@cisco.com> | 1999-09-23 04:39:01 +0000 |
commit | 501b9b05e19391fba0e33751b41bb6a47063491a (patch) | |
tree | 5c1982f3297f1cf679f2cbb229df4b37f895a1da /wiretap/wtap.c | |
parent | 5953b86866ee16efb2badc9603080e90fa9f86d6 (diff) |
Adds progress bar functionality back for loading files (it was changed to
bounce bar for compressed file support). Note that the progress bar may
not grow smoothly for compressed files, but it should be reasonably accurate
for files which are large enough to matter.
svn path=/trunk/; revision=701
Diffstat (limited to 'wiretap/wtap.c')
-rw-r--r-- | wiretap/wtap.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c index 0b5b5090f8..4e68f7bd59 100644 --- a/wiretap/wtap.c +++ b/wiretap/wtap.c @@ -1,6 +1,6 @@ /* wtap.c * - * $Id: wtap.c,v 1.20 1999/09/22 01:26:50 ashokn Exp $ + * $Id: wtap.c,v 1.21 1999/09/23 04:39:00 ashokn Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu> @@ -36,6 +36,11 @@ FILE* wtap_file(wtap *wth) return wth->fh; } +int wtap_fd(wtap *wth) +{ + return wth->fd; +} + int wtap_file_type(wtap *wth) { return wth->file_type; |