aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-01-22 16:26:41 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-01-22 16:26:41 +0000
commite09e2c27ab9ed0ac7c7d1bc21d8e693f97103f88 (patch)
treee1fb038745f931088696bf5afb2b5e2f76faca3a /file.c
parentff5ec0aa65b6b594e568c1d9a5d6dc3edcb1082c (diff)
show the number of packets captured, if "Update list of packets ..." isn't used
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17071 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'file.c')
-rw-r--r--file.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/file.c b/file.c
index c91e1ff0b0..7cc02788f4 100644
--- a/file.c
+++ b/file.c
@@ -696,12 +696,19 @@ cf_get_display_name(capture_file *cf)
/* XXX - use a macro instead? */
int
-cf_packet_count(capture_file *cf)
+cf_get_packet_count(capture_file *cf)
{
return cf->count;
}
/* XXX - use a macro instead? */
+void
+cf_set_packet_count(capture_file *cf, int packet_count)
+{
+ cf->count = packet_count;
+}
+
+/* XXX - use a macro instead? */
gboolean
cf_is_tempfile(capture_file *cf)
{