Moving in e2sim originally from it/test/simulators
[sim/e2-interface.git] / e2sim / ASN1c / NRNRB.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 "NRNRB.h"
27
28 /*
29  * This type is implemented using NativeEnumerated,
30  * so here we adjust the DEF accordingly.
31  */
32 asn_per_constraints_t asn_PER_type_NRNRB_constr_1 CC_NOTUSED = {
33         { APC_CONSTRAINED | APC_EXTENSIBLE,  5,  5,  0,  28 }   /* (0..28,...) */,
34         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
35         0, 0    /* No PER value map */
36 };
37 static const asn_INTEGER_enum_map_t asn_MAP_NRNRB_value2enum_1[] = {
38         { 0,    5,      "nrb11" },
39         { 1,    5,      "nrb18" },
40         { 2,    5,      "nrb24" },
41         { 3,    5,      "nrb25" },
42         { 4,    5,      "nrb31" },
43         { 5,    5,      "nrb32" },
44         { 6,    5,      "nrb38" },
45         { 7,    5,      "nrb51" },
46         { 8,    5,      "nrb52" },
47         { 9,    5,      "nrb65" },
48         { 10,   5,      "nrb66" },
49         { 11,   5,      "nrb78" },
50         { 12,   5,      "nrb79" },
51         { 13,   5,      "nrb93" },
52         { 14,   6,      "nrb106" },
53         { 15,   6,      "nrb107" },
54         { 16,   6,      "nrb121" },
55         { 17,   6,      "nrb132" },
56         { 18,   6,      "nrb133" },
57         { 19,   6,      "nrb135" },
58         { 20,   6,      "nrb160" },
59         { 21,   6,      "nrb162" },
60         { 22,   6,      "nrb189" },
61         { 23,   6,      "nrb216" },
62         { 24,   6,      "nrb217" },
63         { 25,   6,      "nrb245" },
64         { 26,   6,      "nrb264" },
65         { 27,   6,      "nrb270" },
66         { 28,   6,      "nrb273" }
67         /* This list is extensible */
68 };
69 static const unsigned int asn_MAP_NRNRB_enum2value_1[] = {
70         14,     /* nrb106(14) */
71         15,     /* nrb107(15) */
72         0,      /* nrb11(0) */
73         16,     /* nrb121(16) */
74         17,     /* nrb132(17) */
75         18,     /* nrb133(18) */
76         19,     /* nrb135(19) */
77         20,     /* nrb160(20) */
78         21,     /* nrb162(21) */
79         1,      /* nrb18(1) */
80         22,     /* nrb189(22) */
81         23,     /* nrb216(23) */
82         24,     /* nrb217(24) */
83         2,      /* nrb24(2) */
84         25,     /* nrb245(25) */
85         3,      /* nrb25(3) */
86         26,     /* nrb264(26) */
87         27,     /* nrb270(27) */
88         28,     /* nrb273(28) */
89         4,      /* nrb31(4) */
90         5,      /* nrb32(5) */
91         6,      /* nrb38(6) */
92         7,      /* nrb51(7) */
93         8,      /* nrb52(8) */
94         9,      /* nrb65(9) */
95         10,     /* nrb66(10) */
96         11,     /* nrb78(11) */
97         12,     /* nrb79(12) */
98         13      /* nrb93(13) */
99         /* This list is extensible */
100 };
101 const asn_INTEGER_specifics_t asn_SPC_NRNRB_specs_1 = {
102         asn_MAP_NRNRB_value2enum_1,     /* "tag" => N; sorted by tag */
103         asn_MAP_NRNRB_enum2value_1,     /* N => "tag"; sorted by N */
104         29,     /* Number of elements in the maps */
105         30,     /* Extensions before this member */
106         1,      /* Strict enumeration */
107         0,      /* Native long size */
108         0
109 };
110 static const ber_tlv_tag_t asn_DEF_NRNRB_tags_1[] = {
111         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
112 };
113 asn_TYPE_descriptor_t asn_DEF_NRNRB = {
114         "NRNRB",
115         "NRNRB",
116         &asn_OP_NativeEnumerated,
117         asn_DEF_NRNRB_tags_1,
118         sizeof(asn_DEF_NRNRB_tags_1)
119                 /sizeof(asn_DEF_NRNRB_tags_1[0]), /* 1 */
120         asn_DEF_NRNRB_tags_1,   /* Same as above */
121         sizeof(asn_DEF_NRNRB_tags_1)
122                 /sizeof(asn_DEF_NRNRB_tags_1[0]), /* 1 */
123         { 0, &asn_PER_type_NRNRB_constr_1, NativeEnumerated_constraint },
124         0, 0,   /* Defined elsewhere */
125         &asn_SPC_NRNRB_specs_1  /* Additional specs */
126 };
127