MSWSP: fix dissect_mswsp_smb()
[wireshark-wip.git] / epan / dissectors / packet-e164.h
bloba8dfa9f15a729457dbef50c0a7757bd61e9029d4
1 /* packet-e164.h
2 * E164 tables
3 * Copyright 2004, Anders Broman <anders.broman@ericsson.com>
5 * $Id$
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 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.
26 #ifndef __PACKET_E164_H__
27 #define __PACKET_E164_H__
29 #include <epan/value_string.h>
30 #include "ws_symbol_export.h"
32 extern const value_string E164_country_code_value[];
33 extern const value_string E164_International_Networks_vals[];
35 typedef enum {
36 NONE,
37 CALLING_PARTY_NUMBER,
38 CALLED_PARTY_NUMBER
39 } e164_number_type_t;
41 typedef struct {
42 e164_number_type_t e164_number_type;
43 guint nature_of_address;
44 const char *E164_number_str; /* E164 number string */
45 guint E164_number_length; /* Length of the E164_number string */
46 } e164_info_t;
49 extern void dissect_e164_number(tvbuff_t *tvb, proto_tree *tree, int offset, int length,
50 e164_info_t e164_info);
51 WS_DLL_PUBLIC void dissect_e164_cc(tvbuff_t *tvb, proto_tree *tree, int offset, gboolean bcd_coded);
52 #endif