diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-08-05 16:46:04 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-08-05 16:46:04 +0000 |
commit | ecff53a0debadebd53a4e09d3050aa4cc925fb90 (patch) | |
tree | a4d1b0cb3d099b6f407c4fcbb66b82fe3c6a4980 /file.h | |
parent | 6a823008b73b1d8937d9bd4d50ef4ab18cde50f2 (diff) | |
download | wireshark-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |