various string related changes, mainly replace sprintf/snprintf by g_snprintf
[obnox/wireshark/wip.git] / packet-q931.h
1 /* packet-q931.h
2  * Declarations of exported routines and tables for Q.931 and Q.2931 frame
3  * disassembly
4  * Guy Harris <guy@alum.mit.edu>
5  *
6  * $Id: packet-q931.h,v 1.10 2004/01/15 02:23:18 guy Exp $
7  *
8  * Ethereal - Network traffic analyzer
9  * By Gerald Combs <gerald@ethereal.com>
10  * Copyright 1998
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25  */
26
27 #ifndef __PACKET_Q931_H__
28 #define __PACKET_Q931_H__
29
30 extern void dissect_q931_bearer_capability_ie(tvbuff_t *, int, int,
31     proto_tree *);
32
33 extern void dissect_q931_cause_ie(tvbuff_t *, int, int,
34     proto_tree *, int);
35
36 extern void dissect_q931_progress_indicator_ie(tvbuff_t *, int, int,
37     proto_tree *);
38
39 extern void dissect_q931_high_layer_compat_ie(tvbuff_t *, int, int,
40     proto_tree *);
41
42 extern void dissect_q931_user_user_ie(tvbuff_t *tvb, int offset, int len,
43     proto_tree *tree);
44
45 extern void dissect_q931_IEs(tvbuff_t *tvb, packet_info *pinfo,
46     proto_tree *tree, proto_tree *q931_tree, gboolean is_tpkt, int offset);
47
48 extern const value_string q931_cause_location_vals[];
49
50 extern const value_string q931_cause_code_vals[];
51
52 #endif