Adding ASN1C generated files
[ric-app/hw.git] / asn1c_defs / X2N_ServedCells.c
1 /*
2  * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "../../asn_defs/asn1/x2ap-15-04.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
6  */
7
8 #include "X2N_ServedCells.h"
9
10 #include "X2N_Neighbour-Information.h"
11 #include "X2N_ProtocolExtensionContainer.h"
12 static asn_per_constraints_t asn_PER_type_X2N_ServedCells_constr_1 CC_NOTUSED = {
13         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
14         { APC_CONSTRAINED,       8,  8,  1,  256 }      /* (SIZE(1..256)) */,
15         0, 0    /* No PER value map */
16 };
17 static asn_TYPE_member_t asn_MBR_X2N_Member_2[] = {
18         { ATF_NOFLAGS, 0, offsetof(struct X2N_ServedCells__Member, servedCellInfo),
19                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
20                 -1,     /* IMPLICIT tag at current level */
21                 &asn_DEF_X2N_ServedCell_Information,
22                 0,
23                 { 0, 0, 0 },
24                 0, 0, /* No default value */
25                 "servedCellInfo"
26                 },
27         { ATF_POINTER, 2, offsetof(struct X2N_ServedCells__Member, neighbour_Info),
28                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
29                 -1,     /* IMPLICIT tag at current level */
30                 &asn_DEF_X2N_Neighbour_Information,
31                 0,
32                 { 0, 0, 0 },
33                 0, 0, /* No default value */
34                 "neighbour-Info"
35                 },
36         { ATF_POINTER, 1, offsetof(struct X2N_ServedCells__Member, iE_Extensions),
37                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
38                 -1,     /* IMPLICIT tag at current level */
39                 &asn_DEF_X2N_ProtocolExtensionContainer_8231P191,
40                 0,
41                 { 0, 0, 0 },
42                 0, 0, /* No default value */
43                 "iE-Extensions"
44                 },
45 };
46 static const int asn_MAP_X2N_Member_oms_2[] = { 1, 2 };
47 static const ber_tlv_tag_t asn_DEF_X2N_Member_tags_2[] = {
48         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
49 };
50 static const asn_TYPE_tag2member_t asn_MAP_X2N_Member_tag2el_2[] = {
51     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* servedCellInfo */
52     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* neighbour-Info */
53     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
54 };
55 static asn_SEQUENCE_specifics_t asn_SPC_X2N_Member_specs_2 = {
56         sizeof(struct X2N_ServedCells__Member),
57         offsetof(struct X2N_ServedCells__Member, _asn_ctx),
58         asn_MAP_X2N_Member_tag2el_2,
59         3,      /* Count of tags in the map */
60         asn_MAP_X2N_Member_oms_2,       /* Optional members */
61         2, 0,   /* Root/Additions */
62         3,      /* First extension addition */
63 };
64 static /* Use -fall-defs-global to expose */
65 asn_TYPE_descriptor_t asn_DEF_X2N_Member_2 = {
66         "SEQUENCE",
67         "SEQUENCE",
68         &asn_OP_SEQUENCE,
69         asn_DEF_X2N_Member_tags_2,
70         sizeof(asn_DEF_X2N_Member_tags_2)
71                 /sizeof(asn_DEF_X2N_Member_tags_2[0]), /* 1 */
72         asn_DEF_X2N_Member_tags_2,      /* Same as above */
73         sizeof(asn_DEF_X2N_Member_tags_2)
74                 /sizeof(asn_DEF_X2N_Member_tags_2[0]), /* 1 */
75         { 0, 0, SEQUENCE_constraint },
76         asn_MBR_X2N_Member_2,
77         3,      /* Elements count */
78         &asn_SPC_X2N_Member_specs_2     /* Additional specs */
79 };
80
81 static asn_TYPE_member_t asn_MBR_X2N_ServedCells_1[] = {
82         { ATF_POINTER, 0, 0,
83                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
84                 0,
85                 &asn_DEF_X2N_Member_2,
86                 0,
87                 { 0, 0, 0 },
88                 0, 0, /* No default value */
89                 ""
90                 },
91 };
92 static const ber_tlv_tag_t asn_DEF_X2N_ServedCells_tags_1[] = {
93         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
94 };
95 static asn_SET_OF_specifics_t asn_SPC_X2N_ServedCells_specs_1 = {
96         sizeof(struct X2N_ServedCells),
97         offsetof(struct X2N_ServedCells, _asn_ctx),
98         0,      /* XER encoding is XMLDelimitedItemList */
99 };
100 asn_TYPE_descriptor_t asn_DEF_X2N_ServedCells = {
101         "ServedCells",
102         "ServedCells",
103         &asn_OP_SEQUENCE_OF,
104         asn_DEF_X2N_ServedCells_tags_1,
105         sizeof(asn_DEF_X2N_ServedCells_tags_1)
106                 /sizeof(asn_DEF_X2N_ServedCells_tags_1[0]), /* 1 */
107         asn_DEF_X2N_ServedCells_tags_1, /* Same as above */
108         sizeof(asn_DEF_X2N_ServedCells_tags_1)
109                 /sizeof(asn_DEF_X2N_ServedCells_tags_1[0]), /* 1 */
110         { 0, &asn_PER_type_X2N_ServedCells_constr_1, SEQUENCE_OF_constraint },
111         asn_MBR_X2N_ServedCells_1,
112         1,      /* Single element */
113         &asn_SPC_X2N_ServedCells_specs_1        /* Additional specs */
114 };
115