SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / MatchingUEidPerGP-Item.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 "MatchingUEidPerGP-Item.h"
9
10 #include "MatchingUEidList-PerGP.h"
11 /*
12  * This type is implemented using NativeEnumerated,
13  * so here we adjust the DEF accordingly.
14  */
15 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
16 static asn_per_constraints_t asn_PER_type_noUEmatched_constr_3 CC_NOTUSED = {
17         { APC_CONSTRAINED | APC_EXTENSIBLE,  0,  0,  0,  0 }    /* (0..0,...) */,
18         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
19         0, 0    /* No PER value map */
20 };
21 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
22 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
23 static asn_per_constraints_t asn_PER_type_matchedPerGP_constr_2 CC_NOTUSED = {
24         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
25         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
26         0, 0    /* No PER value map */
27 };
28 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
29 static const asn_INTEGER_enum_map_t asn_MAP_noUEmatched_value2enum_3[] = {
30         { 0,    4,      "true" }
31         /* This list is extensible */
32 };
33 static const unsigned int asn_MAP_noUEmatched_enum2value_3[] = {
34         0       /* true(0) */
35         /* This list is extensible */
36 };
37 static const asn_INTEGER_specifics_t asn_SPC_noUEmatched_specs_3 = {
38         asn_MAP_noUEmatched_value2enum_3,       /* "tag" => N; sorted by tag */
39         asn_MAP_noUEmatched_enum2value_3,       /* N => "tag"; sorted by N */
40         1,      /* Number of elements in the maps */
41         2,      /* Extensions before this member */
42         1,      /* Strict enumeration */
43         0,      /* Native long size */
44         0
45 };
46 static const ber_tlv_tag_t asn_DEF_noUEmatched_tags_3[] = {
47         (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
48         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
49 };
50 static /* Use -fall-defs-global to expose */
51 asn_TYPE_descriptor_t asn_DEF_noUEmatched_3 = {
52         "noUEmatched",
53         "noUEmatched",
54         &asn_OP_NativeEnumerated,
55         asn_DEF_noUEmatched_tags_3,
56         sizeof(asn_DEF_noUEmatched_tags_3)
57                 /sizeof(asn_DEF_noUEmatched_tags_3[0]) - 1, /* 1 */
58         asn_DEF_noUEmatched_tags_3,     /* Same as above */
59         sizeof(asn_DEF_noUEmatched_tags_3)
60                 /sizeof(asn_DEF_noUEmatched_tags_3[0]), /* 2 */
61         {
62 #if !defined(ASN_DISABLE_OER_SUPPORT)
63                 0,
64 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
65 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
66                 &asn_PER_type_noUEmatched_constr_3,
67 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
68                 NativeEnumerated_constraint
69         },
70         0, 0,   /* Defined elsewhere */
71         &asn_SPC_noUEmatched_specs_3    /* Additional specs */
72 };
73
74 static asn_TYPE_member_t asn_MBR_matchedPerGP_2[] = {
75         { ATF_NOFLAGS, 0, offsetof(struct MatchingUEidPerGP_Item__matchedPerGP, choice.noUEmatched),
76                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
77                 -1,     /* IMPLICIT tag at current level */
78                 &asn_DEF_noUEmatched_3,
79                 0,
80                 {
81 #if !defined(ASN_DISABLE_OER_SUPPORT)
82                         0,
83 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
84 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
85                         0,
86 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
87                         0
88                 },
89                 0, 0, /* No default value */
90                 "noUEmatched"
91                 },
92         { ATF_POINTER, 0, offsetof(struct MatchingUEidPerGP_Item__matchedPerGP, choice.oneOrMoreUEmatched),
93                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
94                 -1,     /* IMPLICIT tag at current level */
95                 &asn_DEF_MatchingUEidList_PerGP,
96                 0,
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                         0,
103 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
104                         0
105                 },
106                 0, 0, /* No default value */
107                 "oneOrMoreUEmatched"
108                 },
109 };
110 static const asn_TYPE_tag2member_t asn_MAP_matchedPerGP_tag2el_2[] = {
111     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* noUEmatched */
112     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* oneOrMoreUEmatched */
113 };
114 static asn_CHOICE_specifics_t asn_SPC_matchedPerGP_specs_2 = {
115         sizeof(struct MatchingUEidPerGP_Item__matchedPerGP),
116         offsetof(struct MatchingUEidPerGP_Item__matchedPerGP, _asn_ctx),
117         offsetof(struct MatchingUEidPerGP_Item__matchedPerGP, present),
118         sizeof(((struct MatchingUEidPerGP_Item__matchedPerGP *)0)->present),
119         asn_MAP_matchedPerGP_tag2el_2,
120         2,      /* Count of tags in the map */
121         0, 0,
122         2       /* Extensions start */
123 };
124 static /* Use -fall-defs-global to expose */
125 asn_TYPE_descriptor_t asn_DEF_matchedPerGP_2 = {
126         "matchedPerGP",
127         "matchedPerGP",
128         &asn_OP_CHOICE,
129         0,      /* No effective tags (pointer) */
130         0,      /* No effective tags (count) */
131         0,      /* No tags (pointer) */
132         0,      /* No tags (count) */
133         {
134 #if !defined(ASN_DISABLE_OER_SUPPORT)
135                 0,
136 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
137 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
138                 &asn_PER_type_matchedPerGP_constr_2,
139 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
140                 CHOICE_constraint
141         },
142         asn_MBR_matchedPerGP_2,
143         2,      /* Elements count */
144         &asn_SPC_matchedPerGP_specs_2   /* Additional specs */
145 };
146
147 asn_TYPE_member_t asn_MBR_MatchingUEidPerGP_Item_1[] = {
148         { ATF_NOFLAGS, 0, offsetof(struct MatchingUEidPerGP_Item, matchedPerGP),
149                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
150                 +1,     /* EXPLICIT tag at current level */
151                 &asn_DEF_matchedPerGP_2,
152                 0,
153                 {
154 #if !defined(ASN_DISABLE_OER_SUPPORT)
155                         0,
156 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
157 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
158                         0,
159 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
160                         0
161                 },
162                 0, 0, /* No default value */
163                 "matchedPerGP"
164                 },
165 };
166 static const ber_tlv_tag_t asn_DEF_MatchingUEidPerGP_Item_tags_1[] = {
167         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
168 };
169 static const asn_TYPE_tag2member_t asn_MAP_MatchingUEidPerGP_Item_tag2el_1[] = {
170     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* matchedPerGP */
171 };
172 asn_SEQUENCE_specifics_t asn_SPC_MatchingUEidPerGP_Item_specs_1 = {
173         sizeof(struct MatchingUEidPerGP_Item),
174         offsetof(struct MatchingUEidPerGP_Item, _asn_ctx),
175         asn_MAP_MatchingUEidPerGP_Item_tag2el_1,
176         1,      /* Count of tags in the map */
177         0, 0, 0,        /* Optional elements (not needed) */
178         1,      /* First extension addition */
179 };
180 asn_TYPE_descriptor_t asn_DEF_MatchingUEidPerGP_Item = {
181         "MatchingUEidPerGP-Item",
182         "MatchingUEidPerGP-Item",
183         &asn_OP_SEQUENCE,
184         asn_DEF_MatchingUEidPerGP_Item_tags_1,
185         sizeof(asn_DEF_MatchingUEidPerGP_Item_tags_1)
186                 /sizeof(asn_DEF_MatchingUEidPerGP_Item_tags_1[0]), /* 1 */
187         asn_DEF_MatchingUEidPerGP_Item_tags_1,  /* Same as above */
188         sizeof(asn_DEF_MatchingUEidPerGP_Item_tags_1)
189                 /sizeof(asn_DEF_MatchingUEidPerGP_Item_tags_1[0]), /* 1 */
190         {
191 #if !defined(ASN_DISABLE_OER_SUPPORT)
192                 0,
193 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
194 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
195                 0,
196 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
197                 SEQUENCE_constraint
198         },
199         asn_MBR_MatchingUEidPerGP_Item_1,
200         1,      /* Elements count */
201         &asn_SPC_MatchingUEidPerGP_Item_specs_1 /* Additional specs */
202 };
203