From e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 22:34:10 +0200 Subject: Adding upstream version 4.2.2. Signed-off-by: Daniel Baumann --- epan/show_exception.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 epan/show_exception.h (limited to 'epan/show_exception.h') 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 + * 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); -- cgit v1.2.3