Clean up white space.
[metze/wireshark/wip.git] / epan / dissectors / packet-tcap.h
1 /* Do not modify this file.                                                   */
2 /* It is created automatically by the ASN.1 to Ethereal dissector compiler    */
3 /* ./packet-tcap.h                                                            */
4 /* ../../tools/asn2eth.py -X -b -e -p tcap -c tcap.cnf -s packet-tcap-template tcap.asn */
5
6 /* Input file: packet-tcap-template.h */
7
8 /* packet-tcap.h
9  *
10  * $Id$
11  *
12  * Copyright 2004, Tim Endean <endeant@hotmail.com>
13  *
14  * Ethereal - Network traffic analyzer
15  * By Gerald Combs <gerald@ethereal.com>
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
31  */
32
33
34 #ifndef PACKET_tcap_H
35 #define PACKET_tcap_H
36 /* TCAP component type */
37 #define TCAP_COMP_INVOKE        0xa1
38 #define TCAP_COMP_RRL           0xa2
39 #define TCAP_COMP_RE            0xa3
40 #define TCAP_COMP_REJECT        0xa4
41 #define TCAP_COMP_RRN           0xa7
42
43
44 #define ANSI_TC_INVOKE_L        0xe9
45 #define ANSI_TC_RRL             0xea
46 #define ANSI_TC_RE              0xeb
47 #define ANSI_TC_REJECT          0xec
48 #define ANSI_TC_INVOKE_N        0xed
49 #define ANSI_TC_RRN             0xee
50
51 #define TCAP_SEQ_TAG            0x30
52 #define TCAP_SET_TAG            0x31
53
54 #define TCAP_INVOKE_ID_TAG      0x02
55 #define TCAP_LINKED_ID_TAG      0x80
56
57 #define TCAP_EOC_LEN            2               
58
59 #define TCAP_CONSTRUCTOR(TCtag) (TCtag & 0x20)
60
61
62
63 extern gint tcap_standard;
64
65 extern const value_string tcap_component_type_str[];
66
67
68 extern int tcap_find_eoc(ASN1_SCK *asn1);
69
70 extern gboolean tcap_check_tag(ASN1_SCK *asn1, guint tag);
71
72
73
74 #endif  /* PACKET_INAP_H */