SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / E2SM-KPM-IndicationMessage.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2SM-KPM-IEs"
4  *      found in "e2sm-kpm-v03.00.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 "E2SM-KPM-IndicationMessage.h"
9
10 #include "E2SM-KPM-IndicationMessage-Format1.h"
11 #include "E2SM-KPM-IndicationMessage-Format2.h"
12 #include "E2SM-KPM-IndicationMessage-Format3.h"
13 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
14 static asn_per_constraints_t asn_PER_type_indicationMessage_formats_constr_2 CC_NOTUSED = {
15         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
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_indicationMessage_formats_2[] = {
21         { ATF_POINTER, 0, offsetof(struct E2SM_KPM_IndicationMessage__indicationMessage_formats, choice.indicationMessage_Format1),
22                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_E2SM_KPM_IndicationMessage_Format1,
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                 "indicationMessage-Format1"
37                 },
38         { ATF_POINTER, 0, offsetof(struct E2SM_KPM_IndicationMessage__indicationMessage_formats, choice.indicationMessage_Format2),
39                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
40                 -1,     /* IMPLICIT tag at current level */
41                 &asn_DEF_E2SM_KPM_IndicationMessage_Format2,
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                 "indicationMessage-Format2"
54                 },
55         { ATF_POINTER, 0, offsetof(struct E2SM_KPM_IndicationMessage__indicationMessage_formats, choice.indicationMessage_Format3),
56                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
57                 -1,     /* IMPLICIT tag at current level */
58                 &asn_DEF_E2SM_KPM_IndicationMessage_Format3,
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                 "indicationMessage-Format3"
71                 },
72 };
73 static const asn_TYPE_tag2member_t asn_MAP_indicationMessage_formats_tag2el_2[] = {
74     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* indicationMessage-Format1 */
75     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* indicationMessage-Format2 */
76     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* indicationMessage-Format3 */
77 };
78 static asn_CHOICE_specifics_t asn_SPC_indicationMessage_formats_specs_2 = {
79         sizeof(struct E2SM_KPM_IndicationMessage__indicationMessage_formats),
80         offsetof(struct E2SM_KPM_IndicationMessage__indicationMessage_formats, _asn_ctx),
81         offsetof(struct E2SM_KPM_IndicationMessage__indicationMessage_formats, present),
82         sizeof(((struct E2SM_KPM_IndicationMessage__indicationMessage_formats *)0)->present),
83         asn_MAP_indicationMessage_formats_tag2el_2,
84         3,      /* Count of tags in the map */
85         0, 0,
86         2       /* Extensions start */
87 };
88 static /* Use -fall-defs-global to expose */
89 asn_TYPE_descriptor_t asn_DEF_indicationMessage_formats_2 = {
90         "indicationMessage-formats",
91         "indicationMessage-formats",
92         &asn_OP_CHOICE,
93         0,      /* No effective tags (pointer) */
94         0,      /* No effective tags (count) */
95         0,      /* No tags (pointer) */
96         0,      /* No tags (count) */
97         {
98 #if !defined(ASN_DISABLE_OER_SUPPORT)
99                 0,
100 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
101 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
102                 &asn_PER_type_indicationMessage_formats_constr_2,
103 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
104                 CHOICE_constraint
105         },
106         asn_MBR_indicationMessage_formats_2,
107         3,      /* Elements count */
108         &asn_SPC_indicationMessage_formats_specs_2      /* Additional specs */
109 };
110
111 static asn_TYPE_member_t asn_MBR_E2SM_KPM_IndicationMessage_1[] = {
112         { ATF_NOFLAGS, 0, offsetof(struct E2SM_KPM_IndicationMessage, indicationMessage_formats),
113                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
114                 +1,     /* EXPLICIT tag at current level */
115                 &asn_DEF_indicationMessage_formats_2,
116                 0,
117                 {
118 #if !defined(ASN_DISABLE_OER_SUPPORT)
119                         0,
120 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
121 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
122                         0,
123 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
124                         0
125                 },
126                 0, 0, /* No default value */
127                 "indicationMessage-formats"
128                 },
129 };
130 static const ber_tlv_tag_t asn_DEF_E2SM_KPM_IndicationMessage_tags_1[] = {
131         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
132 };
133 static const asn_TYPE_tag2member_t asn_MAP_E2SM_KPM_IndicationMessage_tag2el_1[] = {
134     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* indicationMessage-formats */
135 };
136 static asn_SEQUENCE_specifics_t asn_SPC_E2SM_KPM_IndicationMessage_specs_1 = {
137         sizeof(struct E2SM_KPM_IndicationMessage),
138         offsetof(struct E2SM_KPM_IndicationMessage, _asn_ctx),
139         asn_MAP_E2SM_KPM_IndicationMessage_tag2el_1,
140         1,      /* Count of tags in the map */
141         0, 0, 0,        /* Optional elements (not needed) */
142         1,      /* First extension addition */
143 };
144 asn_TYPE_descriptor_t asn_DEF_E2SM_KPM_IndicationMessage = {
145         "E2SM-KPM-IndicationMessage",
146         "E2SM-KPM-IndicationMessage",
147         &asn_OP_SEQUENCE,
148         asn_DEF_E2SM_KPM_IndicationMessage_tags_1,
149         sizeof(asn_DEF_E2SM_KPM_IndicationMessage_tags_1)
150                 /sizeof(asn_DEF_E2SM_KPM_IndicationMessage_tags_1[0]), /* 1 */
151         asn_DEF_E2SM_KPM_IndicationMessage_tags_1,      /* Same as above */
152         sizeof(asn_DEF_E2SM_KPM_IndicationMessage_tags_1)
153                 /sizeof(asn_DEF_E2SM_KPM_IndicationMessage_tags_1[0]), /* 1 */
154         {
155 #if !defined(ASN_DISABLE_OER_SUPPORT)
156                 0,
157 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
158 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
159                 0,
160 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
161                 SEQUENCE_constraint
162         },
163         asn_MBR_E2SM_KPM_IndicationMessage_1,
164         1,      /* Elements count */
165         &asn_SPC_E2SM_KPM_IndicationMessage_specs_1     /* Additional specs */
166 };
167