diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-01-22 16:26:41 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-01-22 16:26:41 +0000 |
commit | 35dd233580b699562636e2f870d59d66cddc68b9 (patch) | |
tree | e1fb038745f931088696bf5afb2b5e2f76faca3a /file.c | |
parent | c73ed3c6d5f79fb73f829ed1d57ec06101b0c48d (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.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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) { |