Adding initial code jy.oak@samsung.com
[ric-app/kpimon.git] / asn1c_defs / all-defs / Neighbour-Information.c
1 /*\r
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)\r
3  * From ASN.1 module "X2AP-IEs"\r
4  *      found in "../../asn_defs/asn1/x2ap-modified-15-05.asn"\r
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`\r
6  */\r
7 \r
8 #include "Neighbour-Information.h"\r
9 \r
10 #include "ProtocolExtensionContainer.h"\r
11 asn_per_constraints_t asn_PER_type_Neighbour_Information_constr_1 CC_NOTUSED = {\r
12         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },\r
13         { APC_CONSTRAINED,       10,  10,  0,  512 }    /* (SIZE(0..512)) */,\r
14         0, 0    /* No PER value map */\r
15 };\r
16 static asn_TYPE_member_t asn_MBR_Member_2[] = {\r
17         { ATF_NOFLAGS, 0, offsetof(struct Neighbour_Information__Member, eCGI),\r
18                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),\r
19                 -1,     /* IMPLICIT tag at current level */\r
20                 &asn_DEF_ECGI,\r
21                 0,\r
22                 { 0, 0, 0 },\r
23                 0, 0, /* No default value */\r
24                 "eCGI"\r
25                 },\r
26         { ATF_NOFLAGS, 0, offsetof(struct Neighbour_Information__Member, pCI),\r
27                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),\r
28                 -1,     /* IMPLICIT tag at current level */\r
29                 &asn_DEF_PCI,\r
30                 0,\r
31                 { 0, 0, 0 },\r
32                 0, 0, /* No default value */\r
33                 "pCI"\r
34                 },\r
35         { ATF_NOFLAGS, 0, offsetof(struct Neighbour_Information__Member, eARFCN),\r
36                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),\r
37                 -1,     /* IMPLICIT tag at current level */\r
38                 &asn_DEF_EARFCN,\r
39                 0,\r
40                 { 0, 0, 0 },\r
41                 0, 0, /* No default value */\r
42                 "eARFCN"\r
43                 },\r
44         { ATF_POINTER, 1, offsetof(struct Neighbour_Information__Member, iE_Extensions),\r
45                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),\r
46                 -1,     /* IMPLICIT tag at current level */\r
47                 &asn_DEF_ProtocolExtensionContainer_8231P172,\r
48                 0,\r
49                 { 0, 0, 0 },\r
50                 0, 0, /* No default value */\r
51                 "iE-Extensions"\r
52                 },\r
53 };\r
54 static const int asn_MAP_Member_oms_2[] = { 3 };\r
55 static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {\r
56         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))\r
57 };\r
58 static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {\r
59     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eCGI */\r
60     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* pCI */\r
61     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* eARFCN */\r
62     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */\r
63 };\r
64 static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {\r
65         sizeof(struct Neighbour_Information__Member),\r
66         offsetof(struct Neighbour_Information__Member, _asn_ctx),\r
67         asn_MAP_Member_tag2el_2,\r
68         4,      /* Count of tags in the map */\r
69         asn_MAP_Member_oms_2,   /* Optional members */\r
70         1, 0,   /* Root/Additions */\r
71         4,      /* First extension addition */\r
72 };\r
73 static /* Use -fall-defs-global to expose */\r
74 asn_TYPE_descriptor_t asn_DEF_Member_2 = {\r
75         "SEQUENCE",\r
76         "SEQUENCE",\r
77         &asn_OP_SEQUENCE,\r
78         asn_DEF_Member_tags_2,\r
79         sizeof(asn_DEF_Member_tags_2)\r
80                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */\r
81         asn_DEF_Member_tags_2,  /* Same as above */\r
82         sizeof(asn_DEF_Member_tags_2)\r
83                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */\r
84         { 0, 0, SEQUENCE_constraint },\r
85         asn_MBR_Member_2,\r
86         4,      /* Elements count */\r
87         &asn_SPC_Member_specs_2 /* Additional specs */\r
88 };\r
89 \r
90 asn_TYPE_member_t asn_MBR_Neighbour_Information_1[] = {\r
91         { ATF_POINTER, 0, 0,\r
92                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),\r
93                 0,\r
94                 &asn_DEF_Member_2,\r
95                 0,\r
96                 { 0, 0, 0 },\r
97                 0, 0, /* No default value */\r
98                 ""\r
99                 },\r
100 };\r
101 static const ber_tlv_tag_t asn_DEF_Neighbour_Information_tags_1[] = {\r
102         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))\r
103 };\r
104 asn_SET_OF_specifics_t asn_SPC_Neighbour_Information_specs_1 = {\r
105         sizeof(struct Neighbour_Information),\r
106         offsetof(struct Neighbour_Information, _asn_ctx),\r
107         0,      /* XER encoding is XMLDelimitedItemList */\r
108 };\r
109 asn_TYPE_descriptor_t asn_DEF_Neighbour_Information = {\r
110         "Neighbour-Information",\r
111         "Neighbour-Information",\r
112         &asn_OP_SEQUENCE_OF,\r
113         asn_DEF_Neighbour_Information_tags_1,\r
114         sizeof(asn_DEF_Neighbour_Information_tags_1)\r
115                 /sizeof(asn_DEF_Neighbour_Information_tags_1[0]), /* 1 */\r
116         asn_DEF_Neighbour_Information_tags_1,   /* Same as above */\r
117         sizeof(asn_DEF_Neighbour_Information_tags_1)\r
118                 /sizeof(asn_DEF_Neighbour_Information_tags_1[0]), /* 1 */\r
119         { 0, &asn_PER_type_Neighbour_Information_constr_1, SEQUENCE_OF_constraint },\r
120         asn_MBR_Neighbour_Information_1,\r
121         1,      /* Single element */\r
122         &asn_SPC_Neighbour_Information_specs_1  /* Additional specs */\r
123 };\r
124 \r