Fixup: tvb_get_string(z) -> tvb_get_string(z)_enc
[metze/wireshark/wip.git] / epan / dissectors / packet-smpp.h
1 /* packet-smpp.h
2  * Routines for Short Message Peer to Peer dissection
3  * Copyright 2001, Tom Uijldert.
4  *
5  * Data Coding Scheme decoding for GSM (SMS and CBS),
6  * provided by Olivier Biot.
7  *
8  * Dissection of multiple SMPP PDUs within one packet
9  * provided by Chris Wilson.
10  *
11  * Refer to the AUTHORS file or the AUTHORS section in the man page
12  * for contacting the author(s) of this file.
13  *
14  * Wireshark - Network traffic analyzer
15  * By Gerald Combs <gerald@wireshark.org>
16  * Copyright 1998 Gerald Combs
17  *
18  * This program is free software; you can redistribute it and/or
19  * modify it under the terms of the GNU General Public License
20  * as published by the Free Software Foundation; either version 2
21  * of the License, or (at your option) any later version.
22  *
23  * This program is distributed in the hope that it will be useful,
24  * but WITHOUT ANY WARRANTY; without even the implied warranty of
25  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26  * GNU General Public License for more details.
27  *
28  * You should have received a copy of the GNU General Public License
29  * along with this program; if not, write to the Free Software
30  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
31  * ----------
32  *
33  * Dissector of an SMPP (Short Message Peer to Peer) PDU, as defined by the
34  * SMS forum (www.smsforum.net) in "SMPP protocol specification v3.4"
35  * (document version: 12-Oct-1999 Issue 1.2)
36  */
37
38 #ifndef __PACKET_SMPP_H_
39 #define __PACKET_SMPP_H_
40
41 /*
42  * Export dissection of some parameters
43  */
44 void smpp_handle_dcs(proto_tree *tree, tvbuff_t *tvb, int *offset);
45
46
47 /* Tap Record */
48 typedef struct _smpp_tap_rec_t {
49         guint command_id;
50         guint command_status;
51 } smpp_tap_rec_t;
52
53 #endif