aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/fileset_dlg.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-08-19 19:40:00 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-08-19 19:40:00 +0000
commitb74f760334f784437305db4928ba9d1220cc0ce0 (patch)
tree8ffe4f642463b43885354f4dd755e59b4daf3823 /gtk/fileset_dlg.c
parent82f2acbc58e8c6d08fba56d1d411128417aea056 (diff)
Add APIs to Wiretap to return the file of the size as supplied by the OS
(so if the file's gzipped, it's *NOT* the size of the file after uncompressing), and an approximation of the amount of that data read sequentially so far. Use those for various progress bars and the like. Make the fstat() in the Ascend trace reader directly use wth->fd, as it's inside Wiretap; that gets rid of the last caller of wtap_fd() (as we're no longer directly using fstat() or lseek() in Ethereal), so get rid of wtap_fd(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15437 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/fileset_dlg.c')
-rw-r--r--gtk/fileset_dlg.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gtk/fileset_dlg.c b/gtk/fileset_dlg.c
index ef3910d3a4..941ab8cc19 100644
--- a/gtk/fileset_dlg.c
+++ b/gtk/fileset_dlg.c
@@ -36,15 +36,6 @@
#include <fcntl.h>
#endif
-#ifdef HAVE_SYS_STAT_H
-# include <sys/stat.h>
-#endif
-
-#ifdef HAVE_SYS_WAIT_H
-# include <sys/wait.h>
-#endif
-
-
#include <gtk/gtk.h>
#include "globals.h"