HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / epan / dissectors / packet-sscop.h
blob1770370511100495d4daba707809af549b45ccee
1 /* packet-sscop.h
2 * definitions for SSCOP (Q.2110, Q.SAAL) frame disassembly
4 * $Id$
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998
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.
26 typedef struct _sscop_info_t {
27 guint8 type;
28 guint32 payload_len;
29 } sscop_info_t;
31 typedef struct _sscop_payload_info {
32 dissector_handle_t subdissector;
33 } sscop_payload_info;
35 typedef enum {
36 DATA_DISSECTOR = 1,
37 Q2931_DISSECTOR = 2,
38 SSCF_NNI_DISSECTOR = 3,
39 ALCAP_DISSECTOR = 4,
40 NBAP_DISSECTOR = 5
41 } Dissector_Option;
43 extern gboolean sscop_allowed_subdissector(dissector_handle_t handle);
44 extern void dissect_sscop_and_payload(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dissector_handle_t handle);