summaryrefslogtreecommitdiff
path: root/ui/gtk/export_object_dlg.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-10-18 21:14:43 +0000
committerGerald Combs <gerald@wireshark.org>2012-10-18 21:14:43 +0000
commit576b24c96ee4ac4ca7fb9fc116b6e8ce3704227d (patch)
treef8e0abf64215eb0083a475acfdcea3806e4c0ba5 /ui/gtk/export_object_dlg.h
parent05c1e47f68b609702ec13a09e5ebc1a572841e12 (diff)
downloadwireshark-576b24c96ee4ac4ca7fb9fc116b6e8ce3704227d.tar.gz
Move ui-independent object export routines to the common ui directory.
Implement DICOM, HTTP, and SMB object exports. Rename the GTK+ export files. C++-ize epan/tap.h. Fix an apparent memory leak in eo_save_all_clicked_cb. The Qt dialog has an indeterminate progress bar. I tried adding something similar to the GTK+ dialog but event processing led down a rabbit hole. svn path=/trunk/; revision=45647
Diffstat (limited to 'ui/gtk/export_object_dlg.h')
-rw-r--r--ui/gtk/export_object_dlg.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/ui/gtk/export_object_dlg.h b/ui/gtk/export_object_dlg.h
new file mode 100644
index 0000000000..e45c7f8d95
--- /dev/null
+++ b/ui/gtk/export_object_dlg.h
@@ -0,0 +1,35 @@
+/* export_object.h
+ * Common routines for tracking & saving objects found in streams of data
+ * Copyright 2007, Stephen Fisher (see AUTHORS file)
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+ * USA.
+ */
+
+#ifndef __EXPORT_OBJECT_DLG_H__
+#define __EXPORT_OBJECT_DLG_H__
+
+/* Protocol specific */
+void eo_dicom_cb(GtkWidget *widget _U_, gpointer data _U_);
+void eo_http_cb(GtkWidget *widget _U_, gpointer data _U_);
+void eo_smb_cb(GtkWidget *widget _U_, gpointer data _U_);
+
+#endif /* __EXPORT_OBJECT_DLG_H__ */