blob: a8e2a57a62e56ade47a037d19c8b57de567fe6ae [file] [log] [blame]
rajalakshmisv960885a2022-05-31 14:59:10 +00001/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2SM-RC-IEs"
4 * found in "e2sm-rc-nov2021.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .`
6 */
7
8#include "E2SM-RC-ActionDefinition.h"
9
10#include "E2SM-RC-ActionDefinition-Format1.h"
11#include "E2SM-RC-ActionDefinition-Format2.h"
12#include "E2SM-RC-ActionDefinition-Format3.h"
13static asn_oer_constraints_t asn_OER_type_ric_actionDefinition_formats_constr_3 CC_NOTUSED = {
14 { 0, 0 },
15 -1};
16static asn_per_constraints_t asn_PER_type_ric_actionDefinition_formats_constr_3 CC_NOTUSED = {
17 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */,
18 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
19 0, 0 /* No PER value map */
20};
21static asn_TYPE_member_t asn_MBR_ric_actionDefinition_formats_3[] = {
22 { ATF_POINTER, 0, offsetof(struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats, choice.actionDefinition_Format1),
23 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
24 -1, /* IMPLICIT tag at current level */
25 &asn_DEF_E2SM_RC_ActionDefinition_Format1,
26 0,
27 { 0, 0, 0 },
28 0, 0, /* No default value */
29 "actionDefinition-Format1"
30 },
31 { ATF_POINTER, 0, offsetof(struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats, choice.actionDefinition_Format2),
32 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
33 -1, /* IMPLICIT tag at current level */
34 &asn_DEF_E2SM_RC_ActionDefinition_Format2,
35 0,
36 { 0, 0, 0 },
37 0, 0, /* No default value */
38 "actionDefinition-Format2"
39 },
40 { ATF_POINTER, 0, offsetof(struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats, choice.actionDefinition_Format3),
41 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
42 -1, /* IMPLICIT tag at current level */
43 &asn_DEF_E2SM_RC_ActionDefinition_Format3,
44 0,
45 { 0, 0, 0 },
46 0, 0, /* No default value */
47 "actionDefinition-Format3"
48 },
49};
50static const asn_TYPE_tag2member_t asn_MAP_ric_actionDefinition_formats_tag2el_3[] = {
51 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* actionDefinition-Format1 */
52 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* actionDefinition-Format2 */
53 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* actionDefinition-Format3 */
54};
55static asn_CHOICE_specifics_t asn_SPC_ric_actionDefinition_formats_specs_3 = {
56 sizeof(struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats),
57 offsetof(struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats, _asn_ctx),
58 offsetof(struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats, present),
59 sizeof(((struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats *)0)->present),
60 asn_MAP_ric_actionDefinition_formats_tag2el_3,
61 3, /* Count of tags in the map */
62 0, 0,
63 3 /* Extensions start */
64};
65static /* Use -fall-defs-global to expose */
66asn_TYPE_descriptor_t asn_DEF_ric_actionDefinition_formats_3 = {
67 "ric-actionDefinition-formats",
68 "ric-actionDefinition-formats",
69 &asn_OP_CHOICE,
70 0, /* No effective tags (pointer) */
71 0, /* No effective tags (count) */
72 0, /* No tags (pointer) */
73 0, /* No tags (count) */
74 { &asn_OER_type_ric_actionDefinition_formats_constr_3, &asn_PER_type_ric_actionDefinition_formats_constr_3, CHOICE_constraint },
75 asn_MBR_ric_actionDefinition_formats_3,
76 3, /* Elements count */
77 &asn_SPC_ric_actionDefinition_formats_specs_3 /* Additional specs */
78};
79
80static asn_TYPE_member_t asn_MBR_E2SM_RC_ActionDefinition_1[] = {
81 { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ActionDefinition, ric_Style_Type),
82 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
83 -1, /* IMPLICIT tag at current level */
84 &asn_DEF_RIC_Style_Type,
85 0,
86 { 0, 0, 0 },
87 0, 0, /* No default value */
88 "ric-Style-Type"
89 },
90 { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ActionDefinition, ric_actionDefinition_formats),
91 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
92 +1, /* EXPLICIT tag at current level */
93 &asn_DEF_ric_actionDefinition_formats_3,
94 0,
95 { 0, 0, 0 },
96 0, 0, /* No default value */
97 "ric-actionDefinition-formats"
98 },
99};
100static const ber_tlv_tag_t asn_DEF_E2SM_RC_ActionDefinition_tags_1[] = {
101 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
102};
103static const asn_TYPE_tag2member_t asn_MAP_E2SM_RC_ActionDefinition_tag2el_1[] = {
104 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ric-Style-Type */
105 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ric-actionDefinition-formats */
106};
107static asn_SEQUENCE_specifics_t asn_SPC_E2SM_RC_ActionDefinition_specs_1 = {
108 sizeof(struct E2SM_RC_ActionDefinition),
109 offsetof(struct E2SM_RC_ActionDefinition, _asn_ctx),
110 asn_MAP_E2SM_RC_ActionDefinition_tag2el_1,
111 2, /* Count of tags in the map */
112 0, 0, 0, /* Optional elements (not needed) */
113 2, /* First extension addition */
114};
115asn_TYPE_descriptor_t asn_DEF_E2SM_RC_ActionDefinition = {
116 "E2SM-RC-ActionDefinition",
117 "E2SM-RC-ActionDefinition",
118 &asn_OP_SEQUENCE,
119 asn_DEF_E2SM_RC_ActionDefinition_tags_1,
120 sizeof(asn_DEF_E2SM_RC_ActionDefinition_tags_1)
121 /sizeof(asn_DEF_E2SM_RC_ActionDefinition_tags_1[0]), /* 1 */
122 asn_DEF_E2SM_RC_ActionDefinition_tags_1, /* Same as above */
123 sizeof(asn_DEF_E2SM_RC_ActionDefinition_tags_1)
124 /sizeof(asn_DEF_E2SM_RC_ActionDefinition_tags_1[0]), /* 1 */
125 { 0, 0, SEQUENCE_constraint },
126 asn_MBR_E2SM_RC_ActionDefinition_1,
127 2, /* Elements count */
128 &asn_SPC_E2SM_RC_ActionDefinition_specs_1 /* Additional specs */
129};
130