summaryrefslogtreecommitdiff
path: root/ui/gtk/capture_file_dlg.h
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2013-08-21 21:44:48 +0000
committerMartin Kaiser <wireshark@kaiser.cx>2013-08-21 21:44:48 +0000
commit8c484c090b756f0c6eda16688d745792b6bb7f44 (patch)
tree481486d6d1083e22ba1f1a1e721f70620fc9e2d9 /ui/gtk/capture_file_dlg.h
parentac73f00086ff62bf19803c34ce31609f587bf187 (diff)
downloadwireshark-8c484c090b756f0c6eda16688d745792b6bb7f44.tar.gz
The export PDU mechanism creates a new capture which contains only the
exported PDUs. The currently opened capture file is closed. Make sure that this does not discard any unsaved data. Ask the user for confirmation and save the changes before running the export. svn path=/trunk/; revision=51459
Diffstat (limited to 'ui/gtk/capture_file_dlg.h')
-rw-r--r--ui/gtk/capture_file_dlg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/gtk/capture_file_dlg.h b/ui/gtk/capture_file_dlg.h
index 7517a24da4..ef1342cb1c 100644
--- a/ui/gtk/capture_file_dlg.h
+++ b/ui/gtk/capture_file_dlg.h
@@ -85,6 +85,14 @@ void file_close_cmd_cb(GtkWidget *widget, gpointer data);
*/
void file_export_specified_packets_cmd_cb(GtkWidget *widget, gpointer data);
+/** User requested the "Export PDUs to file" dialogue box
+ * and pressed OK to start the export
+ *
+ * @param widget parent widget
+ * @param data pointer to internal data used by the export pdu part
+ */
+void file_export_pdu_ok_cb(GtkWidget *widget, gpointer data);
+
/** User requested "Reload".
*
* @param widget parent widget