summaryrefslogtreecommitdiffstats
path: root/ui/export_pdu_ui_utils.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui/export_pdu_ui_utils.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/ui/export_pdu_ui_utils.h b/ui/export_pdu_ui_utils.h
new file mode 100644
index 0000000..9187527
--- /dev/null
+++ b/ui/export_pdu_ui_utils.h
@@ -0,0 +1,31 @@
+/** @file
+ *
+ * Routines for exported_pdu dissection
+ * Copyright 2013, Anders Broman <anders-broman@ericsson.com>
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef EXPORT_PDU_UI_UTILS_H
+#define EXPORT_PDU_UI_UTILS_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+/**
+* Filters the current opened capture file into a temporary file. On success,
+* the filtered file is opened into the UI.
+*/
+void do_export_pdu(const char *filter, const gchar *temp_dir, const gchar *tap_name);
+
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* EXPORT_PDU_UI_UTILS_H */