summaryrefslogtreecommitdiffstats
path: root/epan/show_exception.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/show_exception.h
parentInitial commit. (diff)
downloadwireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz
wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/show_exception.h')
-rw-r--r--epan/show_exception.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/epan/show_exception.h b/epan/show_exception.h
new file mode 100644
index 0000000..77146e7
--- /dev/null
+++ b/epan/show_exception.h
@@ -0,0 +1,29 @@
+/** @file
+ *
+ * Routines to put exception information into the protocol tree
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 2000 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+/*
+ * Called to register the pseudo-protocols used for exceptions.
+ */
+void register_show_exception(void);
+
+/*
+ * Routine used to add an indication of an arbitrary exception to the tree.
+ */
+WS_DLL_PUBLIC
+void show_exception(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
+ unsigned long exception, const char *exception_message);
+
+/*
+ * Routine used to add an indication of a ReportedBoundsError exception
+ * to the tree.
+ */
+void
+show_reported_bounds_error(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);