aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
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.h
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.h')
-rw-r--r--file.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/file.h b/file.h
index f479ff5f6a..d8ce431298 100644
--- a/file.h
+++ b/file.h
@@ -66,6 +66,7 @@ typedef enum {
cf_cb_live_capture_update_continue,
cf_cb_live_capture_update_finished,
cf_cb_live_capture_fixed_started,
+ cf_cb_live_capture_fixed_continue,
cf_cb_live_capture_fixed_finished,
cf_cb_live_capture_stopping,
#endif
@@ -178,7 +179,15 @@ const gchar *cf_get_display_name(capture_file *cf);
* @param cf the capture file
* @return the number of packets in the capture file
*/
-int cf_packet_count(capture_file *cf);
+int cf_get_packet_count(capture_file *cf);
+
+/**
+ * Set the number of packets in the capture file.
+ *
+ * @param cf the capture file
+ * @param the number of packets in the capture file
+ */
+void cf_set_packet_count(capture_file *cf, int packet_count);
/**
* Is this capture file a temporary file?