diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-01-22 16:26:41 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-01-22 16:26:41 +0000 |
commit | e09e2c27ab9ed0ac7c7d1bc21d8e693f97103f88 (patch) | |
tree | e1fb038745f931088696bf5afb2b5e2f76faca3a /file.c | |
parent | ff5ec0aa65b6b594e568c1d9a5d6dc3edcb1082c (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.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) { |