Moving in e2sim originally from it/test/simulators
[sim/e2-interface.git] / e2sim / ASN1c / ServedCells.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 "ServedCells.h"
27
28 #include "Neighbour-Information.h"
29 #include "ProtocolExtensionContainer.h"
30 asn_per_constraints_t asn_PER_type_ServedCells_constr_1 CC_NOTUSED = {
31         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
32         { APC_CONSTRAINED,       8,  8,  1,  256 }      /* (SIZE(1..256)) */,
33         0, 0    /* No PER value map */
34 };
35 static asn_TYPE_member_t asn_MBR_Member_2[] = {
36         { ATF_NOFLAGS, 0, offsetof(struct ServedCells__Member, servedCellInfo),
37                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
38                 -1,     /* IMPLICIT tag at current level */
39                 &asn_DEF_ServedCell_Information,
40                 0,
41                 { 0, 0, 0 },
42                 0, 0, /* No default value */
43                 "servedCellInfo"
44                 },
45         { ATF_POINTER, 2, offsetof(struct ServedCells__Member, neighbour_Info),
46                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
47                 -1,     /* IMPLICIT tag at current level */
48                 &asn_DEF_Neighbour_Information,
49                 0,
50                 { 0, 0, 0 },
51                 0, 0, /* No default value */
52                 "neighbour-Info"
53                 },
54         { ATF_POINTER, 1, offsetof(struct ServedCells__Member, iE_Extensions),
55                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
56                 -1,     /* IMPLICIT tag at current level */
57                 &asn_DEF_ProtocolExtensionContainer_170P191,
58                 0,
59                 { 0, 0, 0 },
60                 0, 0, /* No default value */
61                 "iE-Extensions"
62                 },
63 };
64 static const int asn_MAP_Member_oms_2[] = { 1, 2 };
65 static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
66         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
67 };
68 static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
69     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* servedCellInfo */
70     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* neighbour-Info */
71     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
72 };
73 static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {
74         sizeof(struct ServedCells__Member),
75         offsetof(struct ServedCells__Member, _asn_ctx),
76         asn_MAP_Member_tag2el_2,
77         3,      /* Count of tags in the map */
78         asn_MAP_Member_oms_2,   /* Optional members */
79         2, 0,   /* Root/Additions */
80         3,      /* First extension addition */
81 };
82 static /* Use -fall-defs-global to expose */
83 asn_TYPE_descriptor_t asn_DEF_Member_2 = {
84         "SEQUENCE",
85         "SEQUENCE",
86         &asn_OP_SEQUENCE,
87         asn_DEF_Member_tags_2,
88         sizeof(asn_DEF_Member_tags_2)
89                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
90         asn_DEF_Member_tags_2,  /* Same as above */
91         sizeof(asn_DEF_Member_tags_2)
92                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
93         { 0, 0, SEQUENCE_constraint },
94         asn_MBR_Member_2,
95         3,      /* Elements count */
96         &asn_SPC_Member_specs_2 /* Additional specs */
97 };
98
99 asn_TYPE_member_t asn_MBR_ServedCells_1[] = {
100         { ATF_POINTER, 0, 0,
101                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
102                 0,
103                 &asn_DEF_Member_2,
104                 0,
105                 { 0, 0, 0 },
106                 0, 0, /* No default value */
107                 ""
108                 },
109 };
110 static const ber_tlv_tag_t asn_DEF_ServedCells_tags_1[] = {
111         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
112 };
113 asn_SET_OF_specifics_t asn_SPC_ServedCells_specs_1 = {
114         sizeof(struct ServedCells),
115         offsetof(struct ServedCells, _asn_ctx),
116         0,      /* XER encoding is XMLDelimitedItemList */
117 };
118 asn_TYPE_descriptor_t asn_DEF_ServedCells = {
119         "ServedCells",
120         "ServedCells",
121         &asn_OP_SEQUENCE_OF,
122         asn_DEF_ServedCells_tags_1,
123         sizeof(asn_DEF_ServedCells_tags_1)
124                 /sizeof(asn_DEF_ServedCells_tags_1[0]), /* 1 */
125         asn_DEF_ServedCells_tags_1,     /* Same as above */
126         sizeof(asn_DEF_ServedCells_tags_1)
127                 /sizeof(asn_DEF_ServedCells_tags_1[0]), /* 1 */
128         { 0, &asn_PER_type_ServedCells_constr_1, SEQUENCE_OF_constraint },
129         asn_MBR_ServedCells_1,
130         1,      /* Single element */
131         &asn_SPC_ServedCells_specs_1    /* Additional specs */
132 };
133