aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-12-14 22:05:29 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-12-14 22:05:29 +0000
commit81b585cf8e24b954fed8077d53a2970c3e761724 (patch)
tree9454b3ef349ecdf735dc9c0008964bc6c30a171a /file.h
parent6d11b171d64f005f7c29d271d983a8e35fa43c86 (diff)
From Valerio Messina:
As now, when Wireshark save capture files, it show "Loading" in status bar and in the dialog box, warning many users of lost them packets. Saving work as expected. Is simply a GUI use interaction problem. svn path=/trunk/; revision=31269
Diffstat (limited to 'file.h')
-rw-r--r--file.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/file.h b/file.h
index 6c02b9e13a..97c478399b 100644
--- a/file.h
+++ b/file.h
@@ -58,15 +58,15 @@ typedef enum {
typedef enum {
cf_cb_file_closing,
cf_cb_file_closed,
- cf_cb_file_read_start,
+ cf_cb_file_read_started,
cf_cb_file_read_finished,
cf_cb_packet_selected,
cf_cb_packet_unselected,
cf_cb_field_unselected,
- cf_cb_file_safe_started,
- cf_cb_file_safe_finished,
- cf_cb_file_safe_reload_finished,
- cf_cb_file_safe_failed
+ cf_cb_file_save_started,
+ cf_cb_file_save_finished,
+ cf_cb_file_save_reload_finished,
+ cf_cb_file_save_failed
} cf_cbs;
typedef void (*cf_callback_t) (gint event, gpointer data, gpointer user_data);
@@ -105,9 +105,10 @@ void cf_reload(capture_file *cf);
* Read all packets of a capture file into the internal structures.
*
* @param cf the capture file to be read
+ * @param from_save reread asked from cf_save
* @return one of cf_read_status_t
*/
-cf_read_status_t cf_read(capture_file *cf);
+cf_read_status_t cf_read(capture_file *cf, gboolean from_save);
/**
* Start reading from the end of a capture file.