ISSUE ID:- RICAPP-216
[ric-app/bouncer.git] / Bouncer / e2sm_rc / lib / E2SM-RC-ControlHeader.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-ControlHeader.h"
9
10 #include "E2SM-RC-ControlHeader-Format1.h"
11 #include "E2SM-RC-ControlHeader-Format2.h"
12 static asn_oer_constraints_t asn_OER_type_ric_controlHeader_formats_constr_2 CC_NOTUSED = {
13         { 0, 0 },
14         -1};
15 static asn_per_constraints_t asn_PER_type_ric_controlHeader_formats_constr_2 CC_NOTUSED = {
16         { APC_CONSTRAINED | APC_EXTENSIBLE,  0,  0,  0,  0 }    /* (0..0,...) */,
17         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
18         0, 0    /* No PER value map */
19 };
20 static asn_TYPE_member_t asn_MBR_ric_controlHeader_formats_2[] = {
21         { ATF_POINTER, 0, offsetof(struct E2SM_RC_ControlHeader__ric_controlHeader_formats, choice.controlHeader_Format1),
22                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_E2SM_RC_ControlHeader_Format1,
25                 0,
26                 { 0, 0, 0 },
27                 0, 0, /* No default value */
28                 "controlHeader-Format1"
29                 },
30         { ATF_POINTER, 0, offsetof(struct E2SM_RC_ControlHeader__ric_controlHeader_formats, choice.controlHeader_Format2),
31                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_E2SM_RC_ControlHeader_Format2,
34                 0,
35                 { 0, 0, 0 },
36                 0, 0, /* No default value */
37                 "controlHeader-Format2"
38                 },
39 };
40 static const asn_TYPE_tag2member_t asn_MAP_ric_controlHeader_formats_tag2el_2[] = {
41     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* controlHeader-Format1 */
42     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* controlHeader-Format2 */
43 };
44 static asn_CHOICE_specifics_t asn_SPC_ric_controlHeader_formats_specs_2 = {
45         sizeof(struct E2SM_RC_ControlHeader__ric_controlHeader_formats),
46         offsetof(struct E2SM_RC_ControlHeader__ric_controlHeader_formats, _asn_ctx),
47         offsetof(struct E2SM_RC_ControlHeader__ric_controlHeader_formats, present),
48         sizeof(((struct E2SM_RC_ControlHeader__ric_controlHeader_formats *)0)->present),
49         asn_MAP_ric_controlHeader_formats_tag2el_2,
50         2,      /* Count of tags in the map */
51         0, 0,
52         1       /* Extensions start */
53 };
54 static /* Use -fall-defs-global to expose */
55 asn_TYPE_descriptor_t asn_DEF_ric_controlHeader_formats_2 = {
56         "ric-controlHeader-formats",
57         "ric-controlHeader-formats",
58         &asn_OP_CHOICE,
59         0,      /* No effective tags (pointer) */
60         0,      /* No effective tags (count) */
61         0,      /* No tags (pointer) */
62         0,      /* No tags (count) */
63         { &asn_OER_type_ric_controlHeader_formats_constr_2, &asn_PER_type_ric_controlHeader_formats_constr_2, CHOICE_constraint },
64         asn_MBR_ric_controlHeader_formats_2,
65         2,      /* Elements count */
66         &asn_SPC_ric_controlHeader_formats_specs_2      /* Additional specs */
67 };
68
69 static asn_TYPE_member_t asn_MBR_E2SM_RC_ControlHeader_1[] = {
70         { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ControlHeader, ric_controlHeader_formats),
71                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
72                 +1,     /* EXPLICIT tag at current level */
73                 &asn_DEF_ric_controlHeader_formats_2,
74                 0,
75                 { 0, 0, 0 },
76                 0, 0, /* No default value */
77                 "ric-controlHeader-formats"
78                 },
79 };
80 static const ber_tlv_tag_t asn_DEF_E2SM_RC_ControlHeader_tags_1[] = {
81         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
82 };
83 static const asn_TYPE_tag2member_t asn_MAP_E2SM_RC_ControlHeader_tag2el_1[] = {
84     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* ric-controlHeader-formats */
85 };
86 static asn_SEQUENCE_specifics_t asn_SPC_E2SM_RC_ControlHeader_specs_1 = {
87         sizeof(struct E2SM_RC_ControlHeader),
88         offsetof(struct E2SM_RC_ControlHeader, _asn_ctx),
89         asn_MAP_E2SM_RC_ControlHeader_tag2el_1,
90         1,      /* Count of tags in the map */
91         0, 0, 0,        /* Optional elements (not needed) */
92         1,      /* First extension addition */
93 };
94 asn_TYPE_descriptor_t asn_DEF_E2SM_RC_ControlHeader = {
95         "E2SM-RC-ControlHeader",
96         "E2SM-RC-ControlHeader",
97         &asn_OP_SEQUENCE,
98         asn_DEF_E2SM_RC_ControlHeader_tags_1,
99         sizeof(asn_DEF_E2SM_RC_ControlHeader_tags_1)
100                 /sizeof(asn_DEF_E2SM_RC_ControlHeader_tags_1[0]), /* 1 */
101         asn_DEF_E2SM_RC_ControlHeader_tags_1,   /* Same as above */
102         sizeof(asn_DEF_E2SM_RC_ControlHeader_tags_1)
103                 /sizeof(asn_DEF_E2SM_RC_ControlHeader_tags_1[0]), /* 1 */
104         { 0, 0, SEQUENCE_constraint },
105         asn_MBR_E2SM_RC_ControlHeader_1,
106         1,      /* Elements count */
107         &asn_SPC_E2SM_RC_ControlHeader_specs_1  /* Additional specs */
108 };
109