ISSUE ID:- RICAPP-216
[ric-app/bouncer.git] / Bouncer / e2sm_kpm / 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 "kpmv2.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
6  */
7
8 #include "E2SM-KPM-IndicationMessage.h"
9
10 #include "E2SM-KPM-IndicationMessage-Format1.h"
11 #include "E2SM-KPM-IndicationMessage-Format2.h"
12 static asn_per_constraints_t asn_PER_type_indicationMessage_formats_constr_2 CC_NOTUSED = {
13         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
14         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
15         0, 0    /* No PER value map */
16 };
17 static asn_TYPE_member_t asn_MBR_indicationMessage_formats_2[] = {
18         { ATF_POINTER, 0, offsetof(struct E2SM_KPM_IndicationMessage__indicationMessage_formats, choice.indicationMessage_Format1),
19                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
20                 -1,     /* IMPLICIT tag at current level */
21                 &asn_DEF_E2SM_KPM_IndicationMessage_Format1,
22                 0,
23                 { 0, 0, 0 },
24                 0, 0, /* No default value */
25                 "indicationMessage-Format1"
26                 },
27         { ATF_POINTER, 0, offsetof(struct E2SM_KPM_IndicationMessage__indicationMessage_formats, choice.indicationMessage_Format2),
28                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
29                 -1,     /* IMPLICIT tag at current level */
30                 &asn_DEF_E2SM_KPM_IndicationMessage_Format2,
31                 0,
32                 { 0, 0, 0 },
33                 0, 0, /* No default value */
34                 "indicationMessage-Format2"
35                 },
36 };
37 static const asn_TYPE_tag2member_t asn_MAP_indicationMessage_formats_tag2el_2[] = {
38     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* indicationMessage-Format1 */
39     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* indicationMessage-Format2 */
40 };
41 static asn_CHOICE_specifics_t asn_SPC_indicationMessage_formats_specs_2 = {
42         sizeof(struct E2SM_KPM_IndicationMessage__indicationMessage_formats),
43         offsetof(struct E2SM_KPM_IndicationMessage__indicationMessage_formats, _asn_ctx),
44         offsetof(struct E2SM_KPM_IndicationMessage__indicationMessage_formats, present),
45         sizeof(((struct E2SM_KPM_IndicationMessage__indicationMessage_formats *)0)->present),
46         asn_MAP_indicationMessage_formats_tag2el_2,
47         2,      /* Count of tags in the map */
48         0, 0,
49         2       /* Extensions start */
50 };
51 static /* Use -fall-defs-global to expose */
52 asn_TYPE_descriptor_t asn_DEF_indicationMessage_formats_2 = {
53         "indicationMessage-formats",
54         "indicationMessage-formats",
55         &asn_OP_CHOICE,
56         0,      /* No effective tags (pointer) */
57         0,      /* No effective tags (count) */
58         0,      /* No tags (pointer) */
59         0,      /* No tags (count) */
60         { 0, &asn_PER_type_indicationMessage_formats_constr_2, CHOICE_constraint },
61         asn_MBR_indicationMessage_formats_2,
62         2,      /* Elements count */
63         &asn_SPC_indicationMessage_formats_specs_2      /* Additional specs */
64 };
65
66 static asn_TYPE_member_t asn_MBR_E2SM_KPM_IndicationMessage_1[] = {
67         { ATF_NOFLAGS, 0, offsetof(struct E2SM_KPM_IndicationMessage, indicationMessage_formats),
68                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
69                 +1,     /* EXPLICIT tag at current level */
70                 &asn_DEF_indicationMessage_formats_2,
71                 0,
72                 { 0, 0, 0 },
73                 0, 0, /* No default value */
74                 "indicationMessage-formats"
75                 },
76 };
77 static const ber_tlv_tag_t asn_DEF_E2SM_KPM_IndicationMessage_tags_1[] = {
78         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
79 };
80 static const asn_TYPE_tag2member_t asn_MAP_E2SM_KPM_IndicationMessage_tag2el_1[] = {
81     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* indicationMessage-formats */
82 };
83 static asn_SEQUENCE_specifics_t asn_SPC_E2SM_KPM_IndicationMessage_specs_1 = {
84         sizeof(struct E2SM_KPM_IndicationMessage),
85         offsetof(struct E2SM_KPM_IndicationMessage, _asn_ctx),
86         asn_MAP_E2SM_KPM_IndicationMessage_tag2el_1,
87         1,      /* Count of tags in the map */
88         0, 0, 0,        /* Optional elements (not needed) */
89         1,      /* First extension addition */
90 };
91 asn_TYPE_descriptor_t asn_DEF_E2SM_KPM_IndicationMessage = {
92         "E2SM-KPM-IndicationMessage",
93         "E2SM-KPM-IndicationMessage",
94         &asn_OP_SEQUENCE,
95         asn_DEF_E2SM_KPM_IndicationMessage_tags_1,
96         sizeof(asn_DEF_E2SM_KPM_IndicationMessage_tags_1)
97                 /sizeof(asn_DEF_E2SM_KPM_IndicationMessage_tags_1[0]), /* 1 */
98         asn_DEF_E2SM_KPM_IndicationMessage_tags_1,      /* Same as above */
99         sizeof(asn_DEF_E2SM_KPM_IndicationMessage_tags_1)
100                 /sizeof(asn_DEF_E2SM_KPM_IndicationMessage_tags_1[0]), /* 1 */
101         { 0, 0, SEQUENCE_constraint },
102         asn_MBR_E2SM_KPM_IndicationMessage_1,
103         1,      /* Elements count */
104         &asn_SPC_E2SM_KPM_IndicationMessage_specs_1     /* Additional specs */
105 };
106