Moving in e2sim originally from it/test/simulators
[sim/e2-interface.git] / e2sim / ASN1c / CSIReportList.c
1 /*****************************************************************************
2 #                                                                            *
3 # Copyright 2019 AT&T Intellectual Property                                  *
4 #                                                                            *
5 # Licensed under the Apache License, Version 2.0 (the "License");            *
6 # you may not use this file except in compliance with the License.           *
7 # You may obtain a copy of the License at                                    *
8 #                                                                            *
9 #      http://www.apache.org/licenses/LICENSE-2.0                            *
10 #                                                                            *
11 # Unless required by applicable law or agreed to in writing, software        *
12 # distributed under the License is distributed on an "AS IS" BASIS,          *
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
14 # See the License for the specific language governing permissions and        *
15 # limitations under the License.                                             *
16 #                                                                            *
17 ******************************************************************************/
18
19 /*
20  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
21  * From ASN.1 module "X2AP-IEs"
22  *      found in "../../asnFiles/X2AP-IEs.asn"
23  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
24  */
25
26 #include "CSIReportList.h"
27
28 #include "ProtocolExtensionContainer.h"
29 asn_per_constraints_t asn_PER_type_CSIReportList_constr_1 CC_NOTUSED = {
30         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
31         { APC_CONSTRAINED,       7,  7,  1,  128 }      /* (SIZE(1..128)) */,
32         0, 0    /* No PER value map */
33 };
34 static asn_TYPE_member_t asn_MBR_Member_2[] = {
35         { ATF_NOFLAGS, 0, offsetof(struct CSIReportList__Member, uEID),
36                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
37                 -1,     /* IMPLICIT tag at current level */
38                 &asn_DEF_UEID,
39                 0,
40                 { 0, 0, 0 },
41                 0, 0, /* No default value */
42                 "uEID"
43                 },
44         { ATF_NOFLAGS, 0, offsetof(struct CSIReportList__Member, cSIReportPerCSIProcess),
45                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
46                 -1,     /* IMPLICIT tag at current level */
47                 &asn_DEF_CSIReportPerCSIProcess,
48                 0,
49                 { 0, 0, 0 },
50                 0, 0, /* No default value */
51                 "cSIReportPerCSIProcess"
52                 },
53         { ATF_POINTER, 1, offsetof(struct CSIReportList__Member, iE_Extensions),
54                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
55                 -1,     /* IMPLICIT tag at current level */
56                 &asn_DEF_ProtocolExtensionContainer_170P128,
57                 0,
58                 { 0, 0, 0 },
59                 0, 0, /* No default value */
60                 "iE-Extensions"
61                 },
62 };
63 static const int asn_MAP_Member_oms_2[] = { 2 };
64 static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
65         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
66 };
67 static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
68     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* uEID */
69     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cSIReportPerCSIProcess */
70     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
71 };
72 static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {
73         sizeof(struct CSIReportList__Member),
74         offsetof(struct CSIReportList__Member, _asn_ctx),
75         asn_MAP_Member_tag2el_2,
76         3,      /* Count of tags in the map */
77         asn_MAP_Member_oms_2,   /* Optional members */
78         1, 0,   /* Root/Additions */
79         3,      /* First extension addition */
80 };
81 static /* Use -fall-defs-global to expose */
82 asn_TYPE_descriptor_t asn_DEF_Member_2 = {
83         "SEQUENCE",
84         "SEQUENCE",
85         &asn_OP_SEQUENCE,
86         asn_DEF_Member_tags_2,
87         sizeof(asn_DEF_Member_tags_2)
88                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
89         asn_DEF_Member_tags_2,  /* Same as above */
90         sizeof(asn_DEF_Member_tags_2)
91                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
92         { 0, 0, SEQUENCE_constraint },
93         asn_MBR_Member_2,
94         3,      /* Elements count */
95         &asn_SPC_Member_specs_2 /* Additional specs */
96 };
97
98 asn_TYPE_member_t asn_MBR_CSIReportList_1[] = {
99         { ATF_POINTER, 0, 0,
100                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
101                 0,
102                 &asn_DEF_Member_2,
103                 0,
104                 { 0, 0, 0 },
105                 0, 0, /* No default value */
106                 ""
107                 },
108 };
109 static const ber_tlv_tag_t asn_DEF_CSIReportList_tags_1[] = {
110         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
111 };
112 asn_SET_OF_specifics_t asn_SPC_CSIReportList_specs_1 = {
113         sizeof(struct CSIReportList),
114         offsetof(struct CSIReportList, _asn_ctx),
115         0,      /* XER encoding is XMLDelimitedItemList */
116 };
117 asn_TYPE_descriptor_t asn_DEF_CSIReportList = {
118         "CSIReportList",
119         "CSIReportList",
120         &asn_OP_SEQUENCE_OF,
121         asn_DEF_CSIReportList_tags_1,
122         sizeof(asn_DEF_CSIReportList_tags_1)
123                 /sizeof(asn_DEF_CSIReportList_tags_1[0]), /* 1 */
124         asn_DEF_CSIReportList_tags_1,   /* Same as above */
125         sizeof(asn_DEF_CSIReportList_tags_1)
126                 /sizeof(asn_DEF_CSIReportList_tags_1[0]), /* 1 */
127         { 0, &asn_PER_type_CSIReportList_constr_1, SEQUENCE_OF_constraint },
128         asn_MBR_CSIReportList_1,
129         1,      /* Single element */
130         &asn_SPC_CSIReportList_specs_1  /* Additional specs */
131 };
132