Change version after creation of r2 branch
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / ActionParameter-Value.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 "E2SM-gNB-X2-IEs"
23  *      found in "../../asnFiles/e2sm-gNB-X2-release-1-v041.asn"
24  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
25  */
26
27 #include "ActionParameter-Value.h"
28
29 asn_per_constraints_t asn_PER_type_ActionParameter_Value_constr_1 CC_NOTUSED = {
30         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  5 }    /* (0..5,...) */,
31         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
32         0, 0    /* No PER value map */
33 };
34 asn_TYPE_member_t asn_MBR_ActionParameter_Value_1[] = {
35         { ATF_NOFLAGS, 0, offsetof(struct ActionParameter_Value, choice.valueInt),
36                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
37                 -1,     /* IMPLICIT tag at current level */
38                 &asn_DEF_NativeInteger,
39                 0,
40                 { 0, 0, 0 },
41                 0, 0, /* No default value */
42                 "valueInt"
43                 },
44         { ATF_NOFLAGS, 0, offsetof(struct ActionParameter_Value, choice.valueEnum),
45                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
46                 -1,     /* IMPLICIT tag at current level */
47                 &asn_DEF_NativeInteger,
48                 0,
49                 { 0, 0, 0 },
50                 0, 0, /* No default value */
51                 "valueEnum"
52                 },
53         { ATF_NOFLAGS, 0, offsetof(struct ActionParameter_Value, choice.valueBool),
54                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
55                 -1,     /* IMPLICIT tag at current level */
56                 &asn_DEF_BOOLEAN,
57                 0,
58                 { 0, 0, 0 },
59                 0, 0, /* No default value */
60                 "valueBool"
61                 },
62         { ATF_NOFLAGS, 0, offsetof(struct ActionParameter_Value, choice.valueBitS),
63                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
64                 -1,     /* IMPLICIT tag at current level */
65                 &asn_DEF_BIT_STRING,
66                 0,
67                 { 0, 0, 0 },
68                 0, 0, /* No default value */
69                 "valueBitS"
70                 },
71         { ATF_NOFLAGS, 0, offsetof(struct ActionParameter_Value, choice.valueOctS),
72                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
73                 -1,     /* IMPLICIT tag at current level */
74                 &asn_DEF_OCTET_STRING,
75                 0,
76                 { 0, 0, 0 },
77                 0, 0, /* No default value */
78                 "valueOctS"
79                 },
80         { ATF_NOFLAGS, 0, offsetof(struct ActionParameter_Value, choice.valuePrtS),
81                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
82                 -1,     /* IMPLICIT tag at current level */
83                 &asn_DEF_PrintableString,
84                 0,
85                 { 0, 0, 0 },
86                 0, 0, /* No default value */
87                 "valuePrtS"
88                 },
89 };
90 static const asn_TYPE_tag2member_t asn_MAP_ActionParameter_Value_tag2el_1[] = {
91     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* valueInt */
92     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* valueEnum */
93     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* valueBool */
94     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* valueBitS */
95     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* valueOctS */
96     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* valuePrtS */
97 };
98 asn_CHOICE_specifics_t asn_SPC_ActionParameter_Value_specs_1 = {
99         sizeof(struct ActionParameter_Value),
100         offsetof(struct ActionParameter_Value, _asn_ctx),
101         offsetof(struct ActionParameter_Value, present),
102         sizeof(((struct ActionParameter_Value *)0)->present),
103         asn_MAP_ActionParameter_Value_tag2el_1,
104         6,      /* Count of tags in the map */
105         0, 0,
106         6       /* Extensions start */
107 };
108 asn_TYPE_descriptor_t asn_DEF_ActionParameter_Value = {
109         "ActionParameter-Value",
110         "ActionParameter-Value",
111         &asn_OP_CHOICE,
112         0,      /* No effective tags (pointer) */
113         0,      /* No effective tags (count) */
114         0,      /* No tags (pointer) */
115         0,      /* No tags (count) */
116         { 0, &asn_PER_type_ActionParameter_Value_constr_1, CHOICE_constraint },
117         asn_MBR_ActionParameter_Value_1,
118         6,      /* Elements count */
119         &asn_SPC_ActionParameter_Value_specs_1  /* Additional specs */
120 };
121