MSWSP: fix dissect_mswsp_smb()
[wireshark-wip.git] / epan / dissectors / packet-wsp.h
blobafafed666f47e69af07bc2917a91c0773ee59dc0
1 /* packet-wsp.h
3 * Declarations for disassembly of WSP component of WAP traffic.
5 * $Id$
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * WAP dissector based on original work by Ben Fowler
12 * Updated by Neil Hunter <neil.hunter@energis-squared.com>
13 * WTLS support by Alexandre P. Ferreira (Splice IP)
15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License
17 * as published by the Free Software Foundation; either version 2
18 * of the License, or (at your option) any later version.
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
25 * You should have received a copy of the GNU General Public License
26 * along with this program; if not, write to the Free Software
27 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
30 #ifndef __PACKET_WSP_H__
31 #define __PACKET_WSP_H__
33 #include "ws_symbol_export.h"
35 /* These reason codes are used in the WTP dissector as the WTP user is
36 * assumed to be WSP */
37 extern value_string_ext vals_wsp_reason_codes_ext;
40 * the following allows TAP code access to the messages
41 * without having to duplicate it. With MSVC and a
42 * libwireshark.dll, we need a special declaration.
44 WS_DLL_PUBLIC value_string_ext wsp_vals_pdu_type_ext;
45 WS_DLL_PUBLIC value_string_ext wsp_vals_status_ext;
47 * exported functionality
49 void add_post_data (proto_tree *, tvbuff_t *, guint, const char *,
50 packet_info *);
51 guint32 add_content_type (proto_tree *tree, tvbuff_t *tvb,
52 guint32 val_start,
53 guint32 *well_known_content, const char **textual_content);
55 /* statistics */
56 typedef struct _wsp_info_value_t /* see README.tapping and tap-wspstat.c */
58 gint status_code;
59 guint8 pdut;
60 } wsp_info_value_t;
61 #endif /* packet-wsp.h */