The passed-in filter string can no longer be NULL, so use strlen instead of testing...
[obnox/wireshark/wip.git] / summary.h
index dc28edced88dd7a0682d048b5f4b77dd89e0aaca..ef32e7b64e12907fd9e8c650f2c1289697876f38 100644 (file)
--- a/summary.h
+++ b/summary.h
@@ -37,6 +37,10 @@ typedef struct _summary_tally {
                                   includes time before first packet
                                   and after last packet */
     int                marked_count;   /* number of marked packets */
+    guint64    marked_bytes;   /* total bytes in the marked packets */
+    double     marked_start;   /* time in seconds, with msec resolution */
+    double     marked_stop;    /* time in seconds, with msec resolution */
+    int                ignored_count;  /* number of ignored packets */
     int                packet_count;   /* total number of packets in trace */
     int                filtered_count; /* number of filtered packets */
     guint64    filtered_bytes; /* total bytes in the filtered packets */
@@ -44,6 +48,7 @@ typedef struct _summary_tally {
     double     filtered_stop;  /* time in seconds, with msec resolution */
     const char *filename;
     gint64     file_length;    /* file length in bytes */
+    int                file_type;      /* wiretap file type */
     int                encap_type;     /* wiretap encapsulation type */
     gboolean   has_snap;       /* TRUE if maximum capture packet length is known */
     int                snap;           /* Maximum captured packet length */
@@ -57,7 +62,7 @@ typedef struct _summary_tally {
     const char *iface_descr;/* descriptive interface name */
 } summary_tally;
 
-extern void 
+extern void
 summary_fill_in(capture_file *cf, summary_tally *st);
 
 #ifdef HAVE_LIBPCAP