aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-01-22 16:26:41 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-01-22 16:26:41 +0000
commit35dd233580b699562636e2f870d59d66cddc68b9 (patch)
treee1fb038745f931088696bf5afb2b5e2f76faca3a /file.c
parentc73ed3c6d5f79fb73f829ed1d57ec06101b0c48d (diff)
show the number of packets captured, if "Update list of packets ..." isn't used
svn path=/trunk/; revision=17071
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)
{