SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / Cause.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "e2ap-ied-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 "Cause.h"
9
10 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
11 asn_per_constraints_t asn_PER_type_Cause_constr_1 CC_NOTUSED = {
12         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  5 }    /* (0..5,...) */,
13         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
14         0, 0    /* No PER value map */
15 };
16 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
17 asn_TYPE_member_t asn_MBR_Cause_1[] = {
18         { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.ricRequest),
19                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
20                 -1,     /* IMPLICIT tag at current level */
21                 &asn_DEF_CauseRICrequest,
22                 0,
23                 {
24 #if !defined(ASN_DISABLE_OER_SUPPORT)
25                         0,
26 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
27 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
28                         0,
29 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
30                         0
31                 },
32                 0, 0, /* No default value */
33                 "ricRequest"
34                 },
35         { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.ricService),
36                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
37                 -1,     /* IMPLICIT tag at current level */
38                 &asn_DEF_CauseRICservice,
39                 0,
40                 {
41 #if !defined(ASN_DISABLE_OER_SUPPORT)
42                         0,
43 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
44 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
45                         0,
46 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
47                         0
48                 },
49                 0, 0, /* No default value */
50                 "ricService"
51                 },
52         { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.e2Node),
53                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
54                 -1,     /* IMPLICIT tag at current level */
55                 &asn_DEF_CauseE2node,
56                 0,
57                 {
58 #if !defined(ASN_DISABLE_OER_SUPPORT)
59                         0,
60 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
61 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
62                         0,
63 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
64                         0
65                 },
66                 0, 0, /* No default value */
67                 "e2Node"
68                 },
69         { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.transport),
70                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
71                 -1,     /* IMPLICIT tag at current level */
72                 &asn_DEF_CauseTransport,
73                 0,
74                 {
75 #if !defined(ASN_DISABLE_OER_SUPPORT)
76                         0,
77 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
78 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
79                         0,
80 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
81                         0
82                 },
83                 0, 0, /* No default value */
84                 "transport"
85                 },
86         { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.protocol),
87                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
88                 -1,     /* IMPLICIT tag at current level */
89                 &asn_DEF_CauseProtocol,
90                 0,
91                 {
92 #if !defined(ASN_DISABLE_OER_SUPPORT)
93                         0,
94 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
95 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
96                         0,
97 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
98                         0
99                 },
100                 0, 0, /* No default value */
101                 "protocol"
102                 },
103         { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.misc),
104                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
105                 -1,     /* IMPLICIT tag at current level */
106                 &asn_DEF_CauseMisc,
107                 0,
108                 {
109 #if !defined(ASN_DISABLE_OER_SUPPORT)
110                         0,
111 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
112 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
113                         0,
114 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
115                         0
116                 },
117                 0, 0, /* No default value */
118                 "misc"
119                 },
120 };
121 static const asn_TYPE_tag2member_t asn_MAP_Cause_tag2el_1[] = {
122     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ricRequest */
123     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ricService */
124     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* e2Node */
125     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* transport */
126     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* protocol */
127     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* misc */
128 };
129 asn_CHOICE_specifics_t asn_SPC_Cause_specs_1 = {
130         sizeof(struct Cause),
131         offsetof(struct Cause, _asn_ctx),
132         offsetof(struct Cause, present),
133         sizeof(((struct Cause *)0)->present),
134         asn_MAP_Cause_tag2el_1,
135         6,      /* Count of tags in the map */
136         0, 0,
137         6       /* Extensions start */
138 };
139 asn_TYPE_descriptor_t asn_DEF_Cause = {
140         "Cause",
141         "Cause",
142         &asn_OP_CHOICE,
143         0,      /* No effective tags (pointer) */
144         0,      /* No effective tags (count) */
145         0,      /* No tags (pointer) */
146         0,      /* No tags (count) */
147         {
148 #if !defined(ASN_DISABLE_OER_SUPPORT)
149                 0,
150 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
151 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
152                 &asn_PER_type_Cause_constr_1,
153 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
154                 CHOICE_constraint
155         },
156         asn_MBR_Cause_1,
157         6,      /* Elements count */
158         &asn_SPC_Cause_specs_1  /* Additional specs */
159 };
160