ANSI TCAP regenerated and tested with -T -X asn2wrs options
[obnox/wireshark/wip.git] / epan / dissectors / packet-ansi_tcap.h
1 /* Do not modify this file.                                                   */
2 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
3 /* packet-ansi_tcap.h                                                         */
4 /* ../../tools/asn2wrs.py -b -p ansi_tcap -c ansi_tcap.cnf -s packet-ansi_tcap-template TCAP-Remote-Operations-Information-Objects.asn TCAPPackage.asn */
5
6 /* Input file: packet-ansi_tcap-template.h */
7
8 #line 1 "packet-ansi_tcap-template.h"
9 /* packet-ansi-tcap.h
10  *
11  * $Id$
12  *
13  * Copyright 2007 Anders Broman <anders.broman@ericsson.com>
14  *
15  * Wireshark - Network traffic analyzer
16  * By Gerald Combs <gerald@wireshark.org>
17  * Copyright 1998 Gerald Combs
18  *
19  * This program is free software; you can redistribute it and/or
20  * modify it under the terms of the GNU General Public License
21  * as published by the Free Software Foundation; either version 2
22  * of the License, or (at your option) any later version.
23  *
24  * This program is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27  * GNU General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License
30  * along with this program; if not, write to the Free Software
31  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
32  */
33
34
35 #ifndef PACKET_ANSI_TCAP_H
36 #define PACKET_ANSI_TCAP_H
37
38 #define ANSI_TCAP_CTX_SIGNATURE 0x41544341  /* "ATCA" */
39
40 struct ansi_tcap_private_t {
41   guint32 signature;
42   gboolean oid_is_present; /* Is the Application Context Version present */
43   void * objectApplicationId_oid;
44   guint32 session_id;
45   void * context;
46   gchar *TransactionID_str;
47   struct {  /* "dynamic" data */
48     gint pdu;
49       /* 
50          1 : invoke, 
51          2 : returnResult, 
52          3 : returnError,
53          4 : reject
54       */
55     gint OperationCode;  
56       /* 
57          0 : national, 
58          1 : private 
59       */
60     gint32 OperationCode_national;
61     gint32 OperationCode_private;
62     proto_item *OperationCode_item;
63   } d;
64
65 };
66
67 /*extern void add_ansi_tcap_subdissector(guint32 ssn, dissector_handle_t dissector);*/
68
69
70 /*extern void delete_ansi_tcap_subdissector(guint32 ssn, dissector_handle_t dissector);*/
71
72
73 #endif  /* PACKET_ANSI_TCAP_H */