SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / E2AP-PDU.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-PDU-Descriptions"
4  *      found in "e2ap-epd-v03.01.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -no-gen-example -no-gen-OER -D /tmp/workspace/oransim-gerrit/e2sim/asn1c/`
6  */
7
8 #include "E2AP-PDU.h"
9
10 #include "InitiatingMessage.h"
11 #include "SuccessfulOutcome.h"
12 #include "UnsuccessfulOutcome.h"
13 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
14 static asn_per_constraints_t asn_PER_type_E2AP_PDU_constr_1 CC_NOTUSED = {
15         { APC_CONSTRAINED | APC_EXTENSIBLE,  2,  2,  0,  2 }    /* (0..2,...) */,
16         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
17         0, 0    /* No PER value map */
18 };
19 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
20 static asn_TYPE_member_t asn_MBR_E2AP_PDU_1[] = {
21         { ATF_POINTER, 0, offsetof(struct E2AP_PDU, choice.initiatingMessage),
22                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_InitiatingMessage,
25                 0,
26                 {
27 #if !defined(ASN_DISABLE_OER_SUPPORT)
28                         0,
29 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
30 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
31                         0,
32 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
33                         0
34                 },
35                 0, 0, /* No default value */
36                 "initiatingMessage"
37                 },
38         { ATF_POINTER, 0, offsetof(struct E2AP_PDU, choice.successfulOutcome),
39                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
40                 -1,     /* IMPLICIT tag at current level */
41                 &asn_DEF_SuccessfulOutcome,
42                 0,
43                 {
44 #if !defined(ASN_DISABLE_OER_SUPPORT)
45                         0,
46 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
47 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
48                         0,
49 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
50                         0
51                 },
52                 0, 0, /* No default value */
53                 "successfulOutcome"
54                 },
55         { ATF_POINTER, 0, offsetof(struct E2AP_PDU, choice.unsuccessfulOutcome),
56                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
57                 -1,     /* IMPLICIT tag at current level */
58                 &asn_DEF_UnsuccessfulOutcome,
59                 0,
60                 {
61 #if !defined(ASN_DISABLE_OER_SUPPORT)
62                         0,
63 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
64 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
65                         0,
66 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
67                         0
68                 },
69                 0, 0, /* No default value */
70                 "unsuccessfulOutcome"
71                 },
72 };
73 static const asn_TYPE_tag2member_t asn_MAP_E2AP_PDU_tag2el_1[] = {
74     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* initiatingMessage */
75     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* successfulOutcome */
76     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* unsuccessfulOutcome */
77 };
78 static asn_CHOICE_specifics_t asn_SPC_E2AP_PDU_specs_1 = {
79         sizeof(struct E2AP_PDU),
80         offsetof(struct E2AP_PDU, _asn_ctx),
81         offsetof(struct E2AP_PDU, present),
82         sizeof(((struct E2AP_PDU *)0)->present),
83         asn_MAP_E2AP_PDU_tag2el_1,
84         3,      /* Count of tags in the map */
85         0, 0,
86         3       /* Extensions start */
87 };
88 asn_TYPE_descriptor_t asn_DEF_E2AP_PDU = {
89         "E2AP-PDU",
90         "E2AP-PDU",
91         &asn_OP_CHOICE,
92         0,      /* No effective tags (pointer) */
93         0,      /* No effective tags (count) */
94         0,      /* No tags (pointer) */
95         0,      /* No tags (count) */
96         {
97 #if !defined(ASN_DISABLE_OER_SUPPORT)
98                 0,
99 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
100 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
101                 &asn_PER_type_E2AP_PDU_constr_1,
102 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
103                 CHOICE_constraint
104         },
105         asn_MBR_E2AP_PDU_1,
106         3,      /* Elements count */
107         &asn_SPC_E2AP_PDU_specs_1       /* Additional specs */
108 };
109