GLib 1.2[.x]'s "g_string_free()" doesn't return a value.
[obnox/wireshark/wip.git] / packet-e164.h
1 /* packet-e164.h
2  * E164 tables
3  * Copyright 2004, Anders Broman <anders.broman@ericsson.com>
4  *
5  * $Id: packet-e164.h,v 1.1 2004/03/05 10:29:35 guy Exp $
6  *
7  * Ethereal - Network traffic analyzer
8  * By Gerald Combs <gerald@ethereal.com>
9  * Copyright 1998 Gerald Combs
10  *
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.
15  *
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.
20  *
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., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24  */
25
26 #ifndef __PACKET_E164_H__
27 #define __PACKET_E164_H__
28
29 #include "epan/value_string.h"
30
31 extern const value_string E164_country_code_value[];
32 extern const value_string E164_International_Networks_vals[];
33
34 typedef enum {
35         NONE,
36         CALLING_PARTY_NUMBER,
37         CALLED_PARTY_NUMBER
38         } e164_number_type_t;
39
40 typedef struct {
41         e164_number_type_t e164_number_type;
42         guint nature_of_address;
43         char *E164_number_str;          /* E164 number string */
44         guint E164_number_length;       /* Length of the E164_number string */
45 } e164_info_t;
46
47
48 extern void dissect_e164_number(tvbuff_t *tvb, proto_tree *tree, int offset, int length,
49                                                                                           e164_info_t e164_info);
50 #endif