aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-08-05 16:46:04 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-08-05 16:46:04 +0000
commitecff53a0debadebd53a4e09d3050aa4cc925fb90 (patch)
treea4d1b0cb3d099b6f407c4fcbb66b82fe3c6a4980 /file.h
parent6a823008b73b1d8937d9bd4d50ef4ab18cde50f2 (diff)
downloadwireshark-ecff53a0debadebd53a4e09d3050aa4cc925fb90.tar.gz
wireshark-ecff53a0debadebd53a4e09d3050aa4cc925fb90.tar.bz2
wireshark-ecff53a0debadebd53a4e09d3050aa4cc925fb90.zip
Added a progress bar to the display filter computation. Unfortunately,
try as I might, I couldn't get gtk_timeout_add to work. I read all the docs, but no luck. So for now I call dfilter_progress_cb for every 20 packets that are filtered. I'd rather have *something* for the next Ethereal release than nothing. I also modified file_progress_cb to use it's local copy of cf rather than the global copy. svn path=/trunk/; revision=447
Diffstat (limited to 'file.h')
-rw-r--r--file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.h b/file.h
index c121e44846..4073ce72ee 100644
--- a/file.h
+++ b/file.h
@@ -1,7 +1,7 @@
/* file.h
* Definitions for file structures and routines
*
- * $Id: file.h,v 1.24 1999/08/02 02:04:25 guy Exp $
+ * $Id: file.h,v 1.25 1999/08/05 16:46:04 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -54,6 +54,7 @@ typedef struct _capture_file {
const gchar *cd_t_desc;/* Description of that data type */
guint32 vers; /* Version. For tcpdump minor is appended to major */
guint32 count; /* Packet count */
+ gfloat unfiltered_count; /* used for dfilter progress bar */
guint32 drops; /* Dropped packets */
guint32 esec; /* Elapsed seconds */
guint32 eusec; /* Elapsed microseconds */