Updated documentation for mock a1 tool
[ric-app/admin.git] / asn1c_defs / X2N_Neighbour-Information.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_Neighbour-Information.h"
9
10 #include "X2N_ProtocolExtensionContainer.h"
11 asn_per_constraints_t asn_PER_type_X2N_Neighbour_Information_constr_1 CC_NOTUSED = {
12         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
13         { APC_CONSTRAINED,       10,  10,  0,  512 }    /* (SIZE(0..512)) */,
14         0, 0    /* No PER value map */
15 };
16 static asn_TYPE_member_t asn_MBR_X2N_Member_2[] = {
17         { ATF_NOFLAGS, 0, offsetof(struct X2N_Neighbour_Information__Member, eCGI),
18                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
19                 -1,     /* IMPLICIT tag at current level */
20                 &asn_DEF_X2N_ECGI,
21                 0,
22                 { 0, 0, 0 },
23                 0, 0, /* No default value */
24                 "eCGI"
25                 },
26         { ATF_NOFLAGS, 0, offsetof(struct X2N_Neighbour_Information__Member, pCI),
27                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
28                 -1,     /* IMPLICIT tag at current level */
29                 &asn_DEF_X2N_PCI,
30                 0,
31                 { 0, 0, 0 },
32                 0, 0, /* No default value */
33                 "pCI"
34                 },
35         { ATF_NOFLAGS, 0, offsetof(struct X2N_Neighbour_Information__Member, eARFCN),
36                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
37                 -1,     /* IMPLICIT tag at current level */
38                 &asn_DEF_X2N_EARFCN,
39                 0,
40                 { 0, 0, 0 },
41                 0, 0, /* No default value */
42                 "eARFCN"
43                 },
44         { ATF_POINTER, 1, offsetof(struct X2N_Neighbour_Information__Member, iE_Extensions),
45                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
46                 -1,     /* IMPLICIT tag at current level */
47                 &asn_DEF_X2N_ProtocolExtensionContainer_8231P172,
48                 0,
49                 { 0, 0, 0 },
50                 0, 0, /* No default value */
51                 "iE-Extensions"
52                 },
53 };
54 static const int asn_MAP_X2N_Member_oms_2[] = { 3 };
55 static const ber_tlv_tag_t asn_DEF_X2N_Member_tags_2[] = {
56         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
57 };
58 static const asn_TYPE_tag2member_t asn_MAP_X2N_Member_tag2el_2[] = {
59     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eCGI */
60     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* pCI */
61     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* eARFCN */
62     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
63 };
64 static asn_SEQUENCE_specifics_t asn_SPC_X2N_Member_specs_2 = {
65         sizeof(struct X2N_Neighbour_Information__Member),
66         offsetof(struct X2N_Neighbour_Information__Member, _asn_ctx),
67         asn_MAP_X2N_Member_tag2el_2,
68         4,      /* Count of tags in the map */
69         asn_MAP_X2N_Member_oms_2,       /* Optional members */
70         1, 0,   /* Root/Additions */
71         4,      /* First extension addition */
72 };
73 static /* Use -fall-defs-global to expose */
74 asn_TYPE_descriptor_t asn_DEF_X2N_Member_2 = {
75         "SEQUENCE",
76         "SEQUENCE",
77         &asn_OP_SEQUENCE,
78         asn_DEF_X2N_Member_tags_2,
79         sizeof(asn_DEF_X2N_Member_tags_2)
80                 /sizeof(asn_DEF_X2N_Member_tags_2[0]), /* 1 */
81         asn_DEF_X2N_Member_tags_2,      /* Same as above */
82         sizeof(asn_DEF_X2N_Member_tags_2)
83                 /sizeof(asn_DEF_X2N_Member_tags_2[0]), /* 1 */
84         { 0, 0, SEQUENCE_constraint },
85         asn_MBR_X2N_Member_2,
86         4,      /* Elements count */
87         &asn_SPC_X2N_Member_specs_2     /* Additional specs */
88 };
89
90 asn_TYPE_member_t asn_MBR_X2N_Neighbour_Information_1[] = {
91         { ATF_POINTER, 0, 0,
92                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
93                 0,
94                 &asn_DEF_X2N_Member_2,
95                 0,
96                 { 0, 0, 0 },
97                 0, 0, /* No default value */
98                 ""
99                 },
100 };
101 static const ber_tlv_tag_t asn_DEF_X2N_Neighbour_Information_tags_1[] = {
102         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
103 };
104 asn_SET_OF_specifics_t asn_SPC_X2N_Neighbour_Information_specs_1 = {
105         sizeof(struct X2N_Neighbour_Information),
106         offsetof(struct X2N_Neighbour_Information, _asn_ctx),
107         0,      /* XER encoding is XMLDelimitedItemList */
108 };
109 asn_TYPE_descriptor_t asn_DEF_X2N_Neighbour_Information = {
110         "Neighbour-Information",
111         "Neighbour-Information",
112         &asn_OP_SEQUENCE_OF,
113         asn_DEF_X2N_Neighbour_Information_tags_1,
114         sizeof(asn_DEF_X2N_Neighbour_Information_tags_1)
115                 /sizeof(asn_DEF_X2N_Neighbour_Information_tags_1[0]), /* 1 */
116         asn_DEF_X2N_Neighbour_Information_tags_1,       /* Same as above */
117         sizeof(asn_DEF_X2N_Neighbour_Information_tags_1)
118                 /sizeof(asn_DEF_X2N_Neighbour_Information_tags_1[0]), /* 1 */
119         { 0, &asn_PER_type_X2N_Neighbour_Information_constr_1, SEQUENCE_OF_constraint },
120         asn_MBR_X2N_Neighbour_Information_1,
121         1,      /* Single element */
122         &asn_SPC_X2N_Neighbour_Information_specs_1      /* Additional specs */
123 };
124