HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / epan / show_exception.h
blobb47b1127e60093dc7e9acb70945f6948ac051eb5
1 /* show_exception.h
3 * Routines to put exception information into the protocol tree
5 * $Id$
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 2000 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 * Called to register the pseudo-protocols used for exceptions.
29 void register_show_exception(void);
32 * Routine used to add an indication of an arbitrary exception to the tree.
34 WS_DLL_PUBLIC
35 void show_exception(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
36 unsigned long exception, const char *exception_message);
39 * Routine used to add an indication of a ReportedBoundsError exception
40 * to the tree.
42 void
43 show_reported_bounds_error(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);