added compression support for capture file output. The Save/As dialog now has a check...
[obnox/wireshark/wip.git] / file.h
diff --git a/file.h b/file.h
index 8b6e8d9cd74d29e28b970c5e4315f7e634e44a69..3eadec354d2e6e92b18e3e835e490ce0f0b9f548 100644 (file)
--- a/file.h
+++ b/file.h
@@ -60,10 +60,11 @@ typedef enum {
     cf_cb_file_read_start,
     cf_cb_file_read_finished,
 #ifdef HAVE_LIBPCAP
-    cf_cb_live_capture_prepare,
+    cf_cb_live_capture_prepared,
     cf_cb_live_capture_update_started,
-    cf_cb_live_capture_fixed_started,
+    cf_cb_live_capture_update_continue,
     cf_cb_live_capture_update_finished,
+    cf_cb_live_capture_fixed_started,
     cf_cb_live_capture_fixed_finished,
 #endif
     cf_cb_packet_selected,
@@ -156,9 +157,10 @@ cf_read_status_t cf_finish_tail(capture_file *cf, int *err);
  * @param fname the filename to save to
  * @param range the range of packets to save
  * @param save_format the format of the file to save (libpcap, ...)
+ * @param compressed wether to gzip compress the file
  * @return one of cf_status_t
  */
-cf_status_t cf_save(capture_file * cf, const char *fname, packet_range_t *range, guint save_format);
+cf_status_t cf_save(capture_file * cf, const char *fname, packet_range_t *range, guint save_format, gboolean compressed);
 
 /**
  * Get a displayable name of the capture file.
@@ -265,9 +267,10 @@ void cf_redissect_packets(capture_file *cf);
  * Rescan all packets and just run taps - don't reconstruct the display.
  * 
  * @param cf the capture file
+ * @param do_columns TRUE if columns are to be generated, FALSE otherwise
  * @return one of cf_read_status_t
  */
-cf_read_status_t cf_retap_packets(capture_file *cf);
+cf_read_status_t cf_retap_packets(capture_file *cf, gboolean do_columns);
 
 /**
  * The time format has changed, rescan all packets.