[Epic-ID: ODUHIGH-516][Task-ID: ODUHIGH-522] Generating the E2SM-KPM code
[o-du/l2.git] / src / codec_utils / E2SM_KPM / E2SM-KPM-IndicationHeader.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2SM-KPM-IEs"
4  *      found in "../../ASN1_Input/E2SM_KPM_V_3_0.asn1"
5  *      `asn1c -D ./../../E2_output/E2SM_KPM_v3.0_output -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "E2SM-KPM-IndicationHeader.h"
9
10 #include "E2SM-KPM-IndicationHeader-Format1.h"
11 static asn_oer_constraints_t asn_OER_type_indicationHeader_formats_constr_2 CC_NOTUSED = {
12         { 0, 0 },
13         -1};
14 static asn_per_constraints_t asn_PER_type_indicationHeader_formats_constr_2 CC_NOTUSED = {
15         { APC_CONSTRAINED | APC_EXTENSIBLE,  0,  0,  0,  0 }    /* (0..0,...) */,
16         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
17         0, 0    /* No PER value map */
18 };
19 static asn_TYPE_member_t asn_MBR_indicationHeader_formats_2[] = {
20         { ATF_POINTER, 0, offsetof(struct E2SM_KPM_IndicationHeader__indicationHeader_formats, choice.indicationHeader_Format1),
21                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
22                 -1,     /* IMPLICIT tag at current level */
23                 &asn_DEF_E2SM_KPM_IndicationHeader_Format1,
24                 0,
25                 { 0, 0, 0 },
26                 0, 0, /* No default value */
27                 "indicationHeader-Format1"
28                 },
29 };
30 static const asn_TYPE_tag2member_t asn_MAP_indicationHeader_formats_tag2el_2[] = {
31     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* indicationHeader-Format1 */
32 };
33 static asn_CHOICE_specifics_t asn_SPC_indicationHeader_formats_specs_2 = {
34         sizeof(struct E2SM_KPM_IndicationHeader__indicationHeader_formats),
35         offsetof(struct E2SM_KPM_IndicationHeader__indicationHeader_formats, _asn_ctx),
36         offsetof(struct E2SM_KPM_IndicationHeader__indicationHeader_formats, present),
37         sizeof(((struct E2SM_KPM_IndicationHeader__indicationHeader_formats *)0)->present),
38         asn_MAP_indicationHeader_formats_tag2el_2,
39         1,      /* Count of tags in the map */
40         0, 0,
41         1       /* Extensions start */
42 };
43 static /* Use -fall-defs-global to expose */
44 asn_TYPE_descriptor_t asn_DEF_indicationHeader_formats_2 = {
45         "indicationHeader-formats",
46         "indicationHeader-formats",
47         &asn_OP_CHOICE,
48         0,      /* No effective tags (pointer) */
49         0,      /* No effective tags (count) */
50         0,      /* No tags (pointer) */
51         0,      /* No tags (count) */
52         { &asn_OER_type_indicationHeader_formats_constr_2, &asn_PER_type_indicationHeader_formats_constr_2, CHOICE_constraint },
53         asn_MBR_indicationHeader_formats_2,
54         1,      /* Elements count */
55         &asn_SPC_indicationHeader_formats_specs_2       /* Additional specs */
56 };
57
58 static asn_TYPE_member_t asn_MBR_E2SM_KPM_IndicationHeader_1[] = {
59         { ATF_NOFLAGS, 0, offsetof(struct E2SM_KPM_IndicationHeader, indicationHeader_formats),
60                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
61                 +1,     /* EXPLICIT tag at current level */
62                 &asn_DEF_indicationHeader_formats_2,
63                 0,
64                 { 0, 0, 0 },
65                 0, 0, /* No default value */
66                 "indicationHeader-formats"
67                 },
68 };
69 static const ber_tlv_tag_t asn_DEF_E2SM_KPM_IndicationHeader_tags_1[] = {
70         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
71 };
72 static const asn_TYPE_tag2member_t asn_MAP_E2SM_KPM_IndicationHeader_tag2el_1[] = {
73     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* indicationHeader-formats */
74 };
75 static asn_SEQUENCE_specifics_t asn_SPC_E2SM_KPM_IndicationHeader_specs_1 = {
76         sizeof(struct E2SM_KPM_IndicationHeader),
77         offsetof(struct E2SM_KPM_IndicationHeader, _asn_ctx),
78         asn_MAP_E2SM_KPM_IndicationHeader_tag2el_1,
79         1,      /* Count of tags in the map */
80         0, 0, 0,        /* Optional elements (not needed) */
81         1,      /* First extension addition */
82 };
83 asn_TYPE_descriptor_t asn_DEF_E2SM_KPM_IndicationHeader = {
84         "E2SM-KPM-IndicationHeader",
85         "E2SM-KPM-IndicationHeader",
86         &asn_OP_SEQUENCE,
87         asn_DEF_E2SM_KPM_IndicationHeader_tags_1,
88         sizeof(asn_DEF_E2SM_KPM_IndicationHeader_tags_1)
89                 /sizeof(asn_DEF_E2SM_KPM_IndicationHeader_tags_1[0]), /* 1 */
90         asn_DEF_E2SM_KPM_IndicationHeader_tags_1,       /* Same as above */
91         sizeof(asn_DEF_E2SM_KPM_IndicationHeader_tags_1)
92                 /sizeof(asn_DEF_E2SM_KPM_IndicationHeader_tags_1[0]), /* 1 */
93         { 0, 0, SEQUENCE_constraint },
94         asn_MBR_E2SM_KPM_IndicationHeader_1,
95         1,      /* Elements count */
96         &asn_SPC_E2SM_KPM_IndicationHeader_specs_1      /* Additional specs */
97 };
98