Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-wsp.h
blob65109de2649f0d8f586b6ffbd992679cd4744318
1 /* packet-wsp.h
3 * Declarations for disassembly of WSP component of WAP traffic.
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * WAP dissector based on original work by Ben Fowler
10 * Updated by Neil Hunter <neil.hunter@energis-squared.com>
11 * WTLS support by Alexandre P. Ferreira (Splice IP)
13 * SPDX-License-Identifier: GPL-2.0-or-later
16 #ifndef __PACKET_WSP_H__
17 #define __PACKET_WSP_H__
19 #include <epan/proto.h>
20 #include "ws_symbol_export.h"
22 /* These reason codes are used in the WTP dissector as the WTP user is
23 * assumed to be WSP */
24 extern value_string_ext vals_wsp_reason_codes_ext;
27 * the following allows TAP code access to the messages
28 * without having to duplicate it. With MSVC and a
29 * libwireshark.dll, we need a special declaration.
31 WS_DLL_PUBLIC value_string_ext wsp_vals_pdu_type_ext;
32 WS_DLL_PUBLIC value_string_ext wsp_vals_status_ext;
34 * exported functionality
36 void add_post_data (proto_tree *, tvbuff_t *, unsigned, const char *,
37 packet_info *);
38 uint32_t add_content_type (proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb,
39 uint32_t val_start,
40 uint32_t *well_known_content, const char **textual_content);
42 /* statistics */
43 typedef struct _wsp_info_value_t /* see README.tapping and tap-wspstat.c */
45 int status_code;
46 uint8_t pdut;
47 } wsp_info_value_t;
48 #endif /* packet-wsp.h */