diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2009-12-14 22:05:29 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2009-12-14 22:05:29 +0000 |
commit | 81b585cf8e24b954fed8077d53a2970c3e761724 (patch) | |
tree | 9454b3ef349ecdf735dc9c0008964bc6c30a171a /file.h | |
parent | 6d11b171d64f005f7c29d271d983a8e35fa43c86 (diff) | |
download | wireshark-81b585cf8e24b954fed8077d53a2970c3e761724.tar.gz wireshark-81b585cf8e24b954fed8077d53a2970c3e761724.tar.bz2 wireshark-81b585cf8e24b954fed8077d53a2970c3e761724.zip |
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.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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. |