ISSUE ID:- RICAPP-216
[ric-app/bouncer.git] / Bouncer / e2sm_rc / lib / E2SM-RC-IndicationHeader.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-IndicationHeader.h"
9
10 #include "E2SM-RC-IndicationHeader-Format1.h"
11 #include "E2SM-RC-IndicationHeader-Format2.h"
12 #include "E2SM-RC-IndicationHeader-Format3.h"
13 static asn_oer_constraints_t asn_OER_type_ric_indicationHeader_formats_constr_2 CC_NOTUSED = {
14         { 0, 0 },
15         -1};
16 static asn_per_constraints_t asn_PER_type_ric_indicationHeader_formats_constr_2 CC_NOTUSED = {
17         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
18         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
19         0, 0    /* No PER value map */
20 };
21 static asn_TYPE_member_t asn_MBR_ric_indicationHeader_formats_2[] = {
22         { ATF_POINTER, 0, offsetof(struct E2SM_RC_IndicationHeader__ric_indicationHeader_formats, choice.indicationHeader_Format1),
23                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
24                 -1,     /* IMPLICIT tag at current level */
25                 &asn_DEF_E2SM_RC_IndicationHeader_Format1,
26                 0,
27                 { 0, 0, 0 },
28                 0, 0, /* No default value */
29                 "indicationHeader-Format1"
30                 },
31         { ATF_POINTER, 0, offsetof(struct E2SM_RC_IndicationHeader__ric_indicationHeader_formats, choice.indicationHeader_Format2),
32                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
33                 -1,     /* IMPLICIT tag at current level */
34                 &asn_DEF_E2SM_RC_IndicationHeader_Format2,
35                 0,
36                 { 0, 0, 0 },
37                 0, 0, /* No default value */
38                 "indicationHeader-Format2"
39                 },
40         { ATF_POINTER, 0, offsetof(struct E2SM_RC_IndicationHeader__ric_indicationHeader_formats, choice.indicationHeader_Format3),
41                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
42                 -1,     /* IMPLICIT tag at current level */
43                 &asn_DEF_E2SM_RC_IndicationHeader_Format3,
44                 0,
45                 { 0, 0, 0 },
46                 0, 0, /* No default value */
47                 "indicationHeader-Format3"
48                 },
49 };
50 static const asn_TYPE_tag2member_t asn_MAP_ric_indicationHeader_formats_tag2el_2[] = {
51     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* indicationHeader-Format1 */
52     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* indicationHeader-Format2 */
53     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* indicationHeader-Format3 */
54 };
55 static asn_CHOICE_specifics_t asn_SPC_ric_indicationHeader_formats_specs_2 = {
56         sizeof(struct E2SM_RC_IndicationHeader__ric_indicationHeader_formats),
57         offsetof(struct E2SM_RC_IndicationHeader__ric_indicationHeader_formats, _asn_ctx),
58         offsetof(struct E2SM_RC_IndicationHeader__ric_indicationHeader_formats, present),
59         sizeof(((struct E2SM_RC_IndicationHeader__ric_indicationHeader_formats *)0)->present),
60         asn_MAP_ric_indicationHeader_formats_tag2el_2,
61         3,      /* Count of tags in the map */
62         0, 0,
63         2       /* Extensions start */
64 };
65 static /* Use -fall-defs-global to expose */
66 asn_TYPE_descriptor_t asn_DEF_ric_indicationHeader_formats_2 = {
67         "ric-indicationHeader-formats",
68         "ric-indicationHeader-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_indicationHeader_formats_constr_2, &asn_PER_type_ric_indicationHeader_formats_constr_2, CHOICE_constraint },
75         asn_MBR_ric_indicationHeader_formats_2,
76         3,      /* Elements count */
77         &asn_SPC_ric_indicationHeader_formats_specs_2   /* Additional specs */
78 };
79
80 static asn_TYPE_member_t asn_MBR_E2SM_RC_IndicationHeader_1[] = {
81         { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_IndicationHeader, ric_indicationHeader_formats),
82                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
83                 +1,     /* EXPLICIT tag at current level */
84                 &asn_DEF_ric_indicationHeader_formats_2,
85                 0,
86                 { 0, 0, 0 },
87                 0, 0, /* No default value */
88                 "ric-indicationHeader-formats"
89                 },
90 };
91 static const ber_tlv_tag_t asn_DEF_E2SM_RC_IndicationHeader_tags_1[] = {
92         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
93 };
94 static const asn_TYPE_tag2member_t asn_MAP_E2SM_RC_IndicationHeader_tag2el_1[] = {
95     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* ric-indicationHeader-formats */
96 };
97 static asn_SEQUENCE_specifics_t asn_SPC_E2SM_RC_IndicationHeader_specs_1 = {
98         sizeof(struct E2SM_RC_IndicationHeader),
99         offsetof(struct E2SM_RC_IndicationHeader, _asn_ctx),
100         asn_MAP_E2SM_RC_IndicationHeader_tag2el_1,
101         1,      /* Count of tags in the map */
102         0, 0, 0,        /* Optional elements (not needed) */
103         1,      /* First extension addition */
104 };
105 asn_TYPE_descriptor_t asn_DEF_E2SM_RC_IndicationHeader = {
106         "E2SM-RC-IndicationHeader",
107         "E2SM-RC-IndicationHeader",
108         &asn_OP_SEQUENCE,
109         asn_DEF_E2SM_RC_IndicationHeader_tags_1,
110         sizeof(asn_DEF_E2SM_RC_IndicationHeader_tags_1)
111                 /sizeof(asn_DEF_E2SM_RC_IndicationHeader_tags_1[0]), /* 1 */
112         asn_DEF_E2SM_RC_IndicationHeader_tags_1,        /* Same as above */
113         sizeof(asn_DEF_E2SM_RC_IndicationHeader_tags_1)
114                 /sizeof(asn_DEF_E2SM_RC_IndicationHeader_tags_1[0]), /* 1 */
115         { 0, 0, SEQUENCE_constraint },
116         asn_MBR_E2SM_RC_IndicationHeader_1,
117         1,      /* Elements count */
118         &asn_SPC_E2SM_RC_IndicationHeader_specs_1       /* Additional specs */
119 };
120