Fix licensing issues
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / RICcause.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 /*
21  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
22  * From ASN.1 module "E2AP-IEs"
23  *      found in "../../asnFiles/e2ap-v031.asn"
24  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
25  */
26
27 #include "RICcause.h"
28
29 asn_per_constraints_t asn_PER_type_RICcause_constr_1 CC_NOTUSED = {
30         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  4 }    /* (0..4,...) */,
31         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
32         0, 0    /* No PER value map */
33 };
34 asn_TYPE_member_t asn_MBR_RICcause_1[] = {
35         { ATF_NOFLAGS, 0, offsetof(struct RICcause, choice.radioNetwork),
36                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
37                 -1,     /* IMPLICIT tag at current level */
38                 &asn_DEF_CauseRadioNetwork,
39                 0,
40                 { 0, 0, 0 },
41                 0, 0, /* No default value */
42                 "radioNetwork"
43                 },
44         { ATF_NOFLAGS, 0, offsetof(struct RICcause, choice.transport),
45                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
46                 -1,     /* IMPLICIT tag at current level */
47                 &asn_DEF_CauseTransport,
48                 0,
49                 { 0, 0, 0 },
50                 0, 0, /* No default value */
51                 "transport"
52                 },
53         { ATF_NOFLAGS, 0, offsetof(struct RICcause, choice.protocol),
54                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
55                 -1,     /* IMPLICIT tag at current level */
56                 &asn_DEF_CauseProtocol,
57                 0,
58                 { 0, 0, 0 },
59                 0, 0, /* No default value */
60                 "protocol"
61                 },
62         { ATF_NOFLAGS, 0, offsetof(struct RICcause, choice.misc),
63                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
64                 -1,     /* IMPLICIT tag at current level */
65                 &asn_DEF_CauseMisc,
66                 0,
67                 { 0, 0, 0 },
68                 0, 0, /* No default value */
69                 "misc"
70                 },
71         { ATF_NOFLAGS, 0, offsetof(struct RICcause, choice.ric),
72                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
73                 -1,     /* IMPLICIT tag at current level */
74                 &asn_DEF_CauseRIC,
75                 0,
76                 { 0, 0, 0 },
77                 0, 0, /* No default value */
78                 "ric"
79                 },
80 };
81 static const asn_TYPE_tag2member_t asn_MAP_RICcause_tag2el_1[] = {
82     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* radioNetwork */
83     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* transport */
84     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* protocol */
85     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* misc */
86     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* ric */
87 };
88 asn_CHOICE_specifics_t asn_SPC_RICcause_specs_1 = {
89         sizeof(struct RICcause),
90         offsetof(struct RICcause, _asn_ctx),
91         offsetof(struct RICcause, present),
92         sizeof(((struct RICcause *)0)->present),
93         asn_MAP_RICcause_tag2el_1,
94         5,      /* Count of tags in the map */
95         0, 0,
96         5       /* Extensions start */
97 };
98 asn_TYPE_descriptor_t asn_DEF_RICcause = {
99         "RICcause",
100         "RICcause",
101         &asn_OP_CHOICE,
102         0,      /* No effective tags (pointer) */
103         0,      /* No effective tags (count) */
104         0,      /* No tags (pointer) */
105         0,      /* No tags (count) */
106         { 0, &asn_PER_type_RICcause_constr_1, CHOICE_constraint },
107         asn_MBR_RICcause_1,
108         5,      /* Elements count */
109         &asn_SPC_RICcause_specs_1       /* Additional specs */
110 };
111