epan/dissectors/pidl/ C99 drsuapi
[wireshark-sm.git] / epan / dissectors / asn1 / ansi_tcap / packet-ansi_tcap-template.h
blobb6a179cab48487f9677154b09f2e38cc0fbbe398
1 /* packet-ansi_tcap.h
3 * Copyright 2007 Anders Broman <anders.broman@ericsson.com>
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
13 #ifndef PACKET_ANSI_TCAP_H
14 #define PACKET_ANSI_TCAP_H
16 #define ANSI_TCAP_CTX_SIGNATURE 0x41544341 /* "ATCA" */
18 struct ansi_tcap_private_t {
19 uint32_t signature;
20 bool oid_is_present; /* Is the Application Context Version present */
21 const void * objectApplicationId_oid;
22 uint32_t session_id;
23 void * context;
24 char *TransactionID_str;
25 struct { /* "dynamic" data */
26 int pdu;
28 1 : invoke,
29 2 : returnResult,
30 3 : returnError,
31 4 : reject
33 int OperationCode;
35 0 : national,
36 1 : private
38 int32_t OperationCode_national;
39 int32_t OperationCode_private;
40 proto_item *OperationCode_item;
41 } d;
45 /*extern void add_ansi_tcap_subdissector(uint32_t ssn, dissector_handle_t dissector);*/
48 /*extern void delete_ansi_tcap_subdissector(uint32_t ssn, dissector_handle_t dissector);*/
51 #endif /* PACKET_ANSI_TCAP_H */