ISSUE ID:- RICAPP-216
[ric-app/bouncer.git] / Bouncer / e2sm_rc / lib / E2SM-RC-IndicationMessage.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2SM-RC-IEs"
4  *      found in "e2sm_rc.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example`
6  */
7
8 #include "E2SM-RC-IndicationMessage.h"
9
10 #include "E2SM-RC-IndicationMessage-Format1.h"
11 #include "E2SM-RC-IndicationMessage-Format2.h"
12 #include "E2SM-RC-IndicationMessage-Format3.h"
13 #include "E2SM-RC-IndicationMessage-Format4.h"
14 #include "E2SM-RC-IndicationMessage-Format5.h"
15 #include "E2SM-RC-IndicationMessage-Format6.h"
16 static asn_oer_constraints_t asn_OER_type_ric_indicationMessage_formats_constr_2 CC_NOTUSED = {
17         { 0, 0 },
18         -1};
19 static asn_per_constraints_t asn_PER_type_ric_indicationMessage_formats_constr_2 CC_NOTUSED = {
20         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  4 }    /* (0..4,...) */,
21         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
22         0, 0    /* No PER value map */
23 };
24 static asn_TYPE_member_t asn_MBR_ric_indicationMessage_formats_2[] = {
25         { ATF_POINTER, 0, offsetof(struct E2SM_RC_IndicationMessage__ric_indicationMessage_formats, choice.indicationMessage_Format1),
26                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
27                 -1,     /* IMPLICIT tag at current level */
28                 &asn_DEF_E2SM_RC_IndicationMessage_Format1,
29                 0,
30                 { 0, 0, 0 },
31                 0, 0, /* No default value */
32                 "indicationMessage-Format1"
33                 },
34         { ATF_POINTER, 0, offsetof(struct E2SM_RC_IndicationMessage__ric_indicationMessage_formats, choice.indicationMessage_Format2),
35                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
36                 -1,     /* IMPLICIT tag at current level */
37                 &asn_DEF_E2SM_RC_IndicationMessage_Format2,
38                 0,
39                 { 0, 0, 0 },
40                 0, 0, /* No default value */
41                 "indicationMessage-Format2"
42                 },
43         { ATF_POINTER, 0, offsetof(struct E2SM_RC_IndicationMessage__ric_indicationMessage_formats, choice.indicationMessage_Format3),
44                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
45                 -1,     /* IMPLICIT tag at current level */
46                 &asn_DEF_E2SM_RC_IndicationMessage_Format3,
47                 0,
48                 { 0, 0, 0 },
49                 0, 0, /* No default value */
50                 "indicationMessage-Format3"
51                 },
52         { ATF_POINTER, 0, offsetof(struct E2SM_RC_IndicationMessage__ric_indicationMessage_formats, choice.indicationMessage_Format4),
53                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
54                 -1,     /* IMPLICIT tag at current level */
55                 &asn_DEF_E2SM_RC_IndicationMessage_Format4,
56                 0,
57                 { 0, 0, 0 },
58                 0, 0, /* No default value */
59                 "indicationMessage-Format4"
60                 },
61         { ATF_POINTER, 0, offsetof(struct E2SM_RC_IndicationMessage__ric_indicationMessage_formats, choice.indicationMessage_Format5),
62                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
63                 -1,     /* IMPLICIT tag at current level */
64                 &asn_DEF_E2SM_RC_IndicationMessage_Format5,
65                 0,
66                 { 0, 0, 0 },
67                 0, 0, /* No default value */
68                 "indicationMessage-Format5"
69                 },
70         { ATF_POINTER, 0, offsetof(struct E2SM_RC_IndicationMessage__ric_indicationMessage_formats, choice.indicationMessage_Format6),
71                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
72                 -1,     /* IMPLICIT tag at current level */
73                 &asn_DEF_E2SM_RC_IndicationMessage_Format6,
74                 0,
75                 { 0, 0, 0 },
76                 0, 0, /* No default value */
77                 "indicationMessage-Format6"
78                 },
79 };
80 static const asn_TYPE_tag2member_t asn_MAP_ric_indicationMessage_formats_tag2el_2[] = {
81     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* indicationMessage-Format1 */
82     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* indicationMessage-Format2 */
83     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* indicationMessage-Format3 */
84     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* indicationMessage-Format4 */
85     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* indicationMessage-Format5 */
86     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* indicationMessage-Format6 */
87 };
88 static asn_CHOICE_specifics_t asn_SPC_ric_indicationMessage_formats_specs_2 = {
89         sizeof(struct E2SM_RC_IndicationMessage__ric_indicationMessage_formats),
90         offsetof(struct E2SM_RC_IndicationMessage__ric_indicationMessage_formats, _asn_ctx),
91         offsetof(struct E2SM_RC_IndicationMessage__ric_indicationMessage_formats, present),
92         sizeof(((struct E2SM_RC_IndicationMessage__ric_indicationMessage_formats *)0)->present),
93         asn_MAP_ric_indicationMessage_formats_tag2el_2,
94         6,      /* Count of tags in the map */
95         0, 0,
96         5       /* Extensions start */
97 };
98 static /* Use -fall-defs-global to expose */
99 asn_TYPE_descriptor_t asn_DEF_ric_indicationMessage_formats_2 = {
100         "ric-indicationMessage-formats",
101         "ric-indicationMessage-formats",
102         &asn_OP_CHOICE,
103         0,      /* No effective tags (pointer) */
104         0,      /* No effective tags (count) */
105         0,      /* No tags (pointer) */
106         0,      /* No tags (count) */
107         { &asn_OER_type_ric_indicationMessage_formats_constr_2, &asn_PER_type_ric_indicationMessage_formats_constr_2, CHOICE_constraint },
108         asn_MBR_ric_indicationMessage_formats_2,
109         6,      /* Elements count */
110         &asn_SPC_ric_indicationMessage_formats_specs_2  /* Additional specs */
111 };
112
113 static asn_TYPE_member_t asn_MBR_E2SM_RC_IndicationMessage_1[] = {
114         { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_IndicationMessage, ric_indicationMessage_formats),
115                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
116                 +1,     /* EXPLICIT tag at current level */
117                 &asn_DEF_ric_indicationMessage_formats_2,
118                 0,
119                 { 0, 0, 0 },
120                 0, 0, /* No default value */
121                 "ric-indicationMessage-formats"
122                 },
123 };
124 static const ber_tlv_tag_t asn_DEF_E2SM_RC_IndicationMessage_tags_1[] = {
125         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
126 };
127 static const asn_TYPE_tag2member_t asn_MAP_E2SM_RC_IndicationMessage_tag2el_1[] = {
128     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* ric-indicationMessage-formats */
129 };
130 static asn_SEQUENCE_specifics_t asn_SPC_E2SM_RC_IndicationMessage_specs_1 = {
131         sizeof(struct E2SM_RC_IndicationMessage),
132         offsetof(struct E2SM_RC_IndicationMessage, _asn_ctx),
133         asn_MAP_E2SM_RC_IndicationMessage_tag2el_1,
134         1,      /* Count of tags in the map */
135         0, 0, 0,        /* Optional elements (not needed) */
136         1,      /* First extension addition */
137 };
138 asn_TYPE_descriptor_t asn_DEF_E2SM_RC_IndicationMessage = {
139         "E2SM-RC-IndicationMessage",
140         "E2SM-RC-IndicationMessage",
141         &asn_OP_SEQUENCE,
142         asn_DEF_E2SM_RC_IndicationMessage_tags_1,
143         sizeof(asn_DEF_E2SM_RC_IndicationMessage_tags_1)
144                 /sizeof(asn_DEF_E2SM_RC_IndicationMessage_tags_1[0]), /* 1 */
145         asn_DEF_E2SM_RC_IndicationMessage_tags_1,       /* Same as above */
146         sizeof(asn_DEF_E2SM_RC_IndicationMessage_tags_1)
147                 /sizeof(asn_DEF_E2SM_RC_IndicationMessage_tags_1[0]), /* 1 */
148         { 0, 0, SEQUENCE_constraint },
149         asn_MBR_E2SM_RC_IndicationMessage_1,
150         1,      /* Elements count */
151         &asn_SPC_E2SM_RC_IndicationMessage_specs_1      /* Additional specs */
152 };
153