27ff271f6c09dbcd2fc6004a9079ebfd2d2e67fb
[scp/ric-app/kpimon.git] / e2sm / lib / E2SM-KPM-IndicationMessage.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2SM-KPM-IEs"
4  *      found in "e2sm-kpm-v01.02.asn"
5  *      `asn1c -pdu=auto -fno-include-deps -fcompound-names -findirect-choice -gen-PER -gen-OER -no-gen-example`
6  */
7
8 #include "E2SM-KPM-IndicationMessage.h"
9
10 #include "E2SM-KPM-IndicationMessage-Format1.h"
11 static asn_oer_constraints_t asn_OER_type_indicationMessage_constr_3 CC_NOTUSED = {
12         { 0, 0 },
13         -1};
14 static asn_per_constraints_t asn_PER_type_indicationMessage_constr_3 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_indicationMessage_3[] = {
20         { ATF_POINTER, 0, offsetof(struct E2SM_KPM_IndicationMessage__indicationMessage, choice.indicationMessage_Format1),
21                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
22                 -1,     /* IMPLICIT tag at current level */
23                 &asn_DEF_E2SM_KPM_IndicationMessage_Format1,
24                 0,
25                 { 0, 0, 0 },
26                 0, 0, /* No default value */
27                 "indicationMessage-Format1"
28                 },
29 };
30 static const asn_TYPE_tag2member_t asn_MAP_indicationMessage_tag2el_3[] = {
31     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* indicationMessage-Format1 */
32 };
33 static asn_CHOICE_specifics_t asn_SPC_indicationMessage_specs_3 = {
34         sizeof(struct E2SM_KPM_IndicationMessage__indicationMessage),
35         offsetof(struct E2SM_KPM_IndicationMessage__indicationMessage, _asn_ctx),
36         offsetof(struct E2SM_KPM_IndicationMessage__indicationMessage, present),
37         sizeof(((struct E2SM_KPM_IndicationMessage__indicationMessage *)0)->present),
38         asn_MAP_indicationMessage_tag2el_3,
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_indicationMessage_3 = {
45         "indicationMessage",
46         "indicationMessage",
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_indicationMessage_constr_3, &asn_PER_type_indicationMessage_constr_3, CHOICE_constraint },
53         asn_MBR_indicationMessage_3,
54         1,      /* Elements count */
55         &asn_SPC_indicationMessage_specs_3      /* Additional specs */
56 };
57
58 static asn_TYPE_member_t asn_MBR_E2SM_KPM_IndicationMessage_1[] = {
59         { ATF_NOFLAGS, 0, offsetof(struct E2SM_KPM_IndicationMessage, ric_Style_Type),
60                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
61                 -1,     /* IMPLICIT tag at current level */
62                 &asn_DEF_RIC_Style_Type,
63                 0,
64                 { 0, 0, 0 },
65                 0, 0, /* No default value */
66                 "ric-Style-Type"
67                 },
68         { ATF_NOFLAGS, 0, offsetof(struct E2SM_KPM_IndicationMessage, indicationMessage),
69                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
70                 +1,     /* EXPLICIT tag at current level */
71                 &asn_DEF_indicationMessage_3,
72                 0,
73                 { 0, 0, 0 },
74                 0, 0, /* No default value */
75                 "indicationMessage"
76                 },
77 };
78 static const ber_tlv_tag_t asn_DEF_E2SM_KPM_IndicationMessage_tags_1[] = {
79         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
80 };
81 static const asn_TYPE_tag2member_t asn_MAP_E2SM_KPM_IndicationMessage_tag2el_1[] = {
82     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ric-Style-Type */
83     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* indicationMessage */
84 };
85 static asn_SEQUENCE_specifics_t asn_SPC_E2SM_KPM_IndicationMessage_specs_1 = {
86         sizeof(struct E2SM_KPM_IndicationMessage),
87         offsetof(struct E2SM_KPM_IndicationMessage, _asn_ctx),
88         asn_MAP_E2SM_KPM_IndicationMessage_tag2el_1,
89         2,      /* Count of tags in the map */
90         0, 0, 0,        /* Optional elements (not needed) */
91         2,      /* First extension addition */
92 };
93 asn_TYPE_descriptor_t asn_DEF_E2SM_KPM_IndicationMessage = {
94         "E2SM-KPM-IndicationMessage",
95         "E2SM-KPM-IndicationMessage",
96         &asn_OP_SEQUENCE,
97         asn_DEF_E2SM_KPM_IndicationMessage_tags_1,
98         sizeof(asn_DEF_E2SM_KPM_IndicationMessage_tags_1)
99                 /sizeof(asn_DEF_E2SM_KPM_IndicationMessage_tags_1[0]), /* 1 */
100         asn_DEF_E2SM_KPM_IndicationMessage_tags_1,      /* Same as above */
101         sizeof(asn_DEF_E2SM_KPM_IndicationMessage_tags_1)
102                 /sizeof(asn_DEF_E2SM_KPM_IndicationMessage_tags_1[0]), /* 1 */
103         { 0, 0, SEQUENCE_constraint },
104         asn_MBR_E2SM_KPM_IndicationMessage_1,
105         2,      /* Elements count */
106         &asn_SPC_E2SM_KPM_IndicationMessage_specs_1     /* Additional specs */
107 };
108