rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "E2SM-RC-IEs" |
sandeepindia | c588f66 | 2022-12-01 22:00:11 +0530 | [diff] [blame^] | 4 | * found in "e2sm_rc.asn" |
| 5 | * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example` |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include "E2SM-RC-ActionDefinition.h" |
| 9 | |
| 10 | #include "E2SM-RC-ActionDefinition-Format1.h" |
| 11 | #include "E2SM-RC-ActionDefinition-Format2.h" |
| 12 | #include "E2SM-RC-ActionDefinition-Format3.h" |
sandeepindia | c588f66 | 2022-12-01 22:00:11 +0530 | [diff] [blame^] | 13 | #include "E2SM-RC-ActionDefinition-Format4.h" |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 14 | static asn_oer_constraints_t asn_OER_type_ric_actionDefinition_formats_constr_3 CC_NOTUSED = { |
| 15 | { 0, 0 }, |
| 16 | -1}; |
| 17 | static asn_per_constraints_t asn_PER_type_ric_actionDefinition_formats_constr_3 CC_NOTUSED = { |
| 18 | { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */, |
| 19 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 20 | 0, 0 /* No PER value map */ |
| 21 | }; |
| 22 | static asn_TYPE_member_t asn_MBR_ric_actionDefinition_formats_3[] = { |
| 23 | { ATF_POINTER, 0, offsetof(struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats, choice.actionDefinition_Format1), |
| 24 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 25 | -1, /* IMPLICIT tag at current level */ |
| 26 | &asn_DEF_E2SM_RC_ActionDefinition_Format1, |
| 27 | 0, |
| 28 | { 0, 0, 0 }, |
| 29 | 0, 0, /* No default value */ |
| 30 | "actionDefinition-Format1" |
| 31 | }, |
| 32 | { ATF_POINTER, 0, offsetof(struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats, choice.actionDefinition_Format2), |
| 33 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 34 | -1, /* IMPLICIT tag at current level */ |
| 35 | &asn_DEF_E2SM_RC_ActionDefinition_Format2, |
| 36 | 0, |
| 37 | { 0, 0, 0 }, |
| 38 | 0, 0, /* No default value */ |
| 39 | "actionDefinition-Format2" |
| 40 | }, |
| 41 | { ATF_POINTER, 0, offsetof(struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats, choice.actionDefinition_Format3), |
| 42 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 43 | -1, /* IMPLICIT tag at current level */ |
| 44 | &asn_DEF_E2SM_RC_ActionDefinition_Format3, |
| 45 | 0, |
| 46 | { 0, 0, 0 }, |
| 47 | 0, 0, /* No default value */ |
| 48 | "actionDefinition-Format3" |
| 49 | }, |
sandeepindia | c588f66 | 2022-12-01 22:00:11 +0530 | [diff] [blame^] | 50 | { ATF_POINTER, 0, offsetof(struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats, choice.actionDefinition_Format4), |
| 51 | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 52 | -1, /* IMPLICIT tag at current level */ |
| 53 | &asn_DEF_E2SM_RC_ActionDefinition_Format4, |
| 54 | 0, |
| 55 | { 0, 0, 0 }, |
| 56 | 0, 0, /* No default value */ |
| 57 | "actionDefinition-Format4" |
| 58 | }, |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 59 | }; |
| 60 | static const asn_TYPE_tag2member_t asn_MAP_ric_actionDefinition_formats_tag2el_3[] = { |
| 61 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* actionDefinition-Format1 */ |
| 62 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* actionDefinition-Format2 */ |
sandeepindia | c588f66 | 2022-12-01 22:00:11 +0530 | [diff] [blame^] | 63 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* actionDefinition-Format3 */ |
| 64 | { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* actionDefinition-Format4 */ |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 65 | }; |
| 66 | static asn_CHOICE_specifics_t asn_SPC_ric_actionDefinition_formats_specs_3 = { |
| 67 | sizeof(struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats), |
| 68 | offsetof(struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats, _asn_ctx), |
| 69 | offsetof(struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats, present), |
| 70 | sizeof(((struct E2SM_RC_ActionDefinition__ric_actionDefinition_formats *)0)->present), |
| 71 | asn_MAP_ric_actionDefinition_formats_tag2el_3, |
sandeepindia | c588f66 | 2022-12-01 22:00:11 +0530 | [diff] [blame^] | 72 | 4, /* Count of tags in the map */ |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 73 | 0, 0, |
| 74 | 3 /* Extensions start */ |
| 75 | }; |
| 76 | static /* Use -fall-defs-global to expose */ |
| 77 | asn_TYPE_descriptor_t asn_DEF_ric_actionDefinition_formats_3 = { |
| 78 | "ric-actionDefinition-formats", |
| 79 | "ric-actionDefinition-formats", |
| 80 | &asn_OP_CHOICE, |
| 81 | 0, /* No effective tags (pointer) */ |
| 82 | 0, /* No effective tags (count) */ |
| 83 | 0, /* No tags (pointer) */ |
| 84 | 0, /* No tags (count) */ |
| 85 | { &asn_OER_type_ric_actionDefinition_formats_constr_3, &asn_PER_type_ric_actionDefinition_formats_constr_3, CHOICE_constraint }, |
| 86 | asn_MBR_ric_actionDefinition_formats_3, |
sandeepindia | c588f66 | 2022-12-01 22:00:11 +0530 | [diff] [blame^] | 87 | 4, /* Elements count */ |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 88 | &asn_SPC_ric_actionDefinition_formats_specs_3 /* Additional specs */ |
| 89 | }; |
| 90 | |
| 91 | static asn_TYPE_member_t asn_MBR_E2SM_RC_ActionDefinition_1[] = { |
| 92 | { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ActionDefinition, ric_Style_Type), |
| 93 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 94 | -1, /* IMPLICIT tag at current level */ |
| 95 | &asn_DEF_RIC_Style_Type, |
| 96 | 0, |
| 97 | { 0, 0, 0 }, |
| 98 | 0, 0, /* No default value */ |
| 99 | "ric-Style-Type" |
| 100 | }, |
| 101 | { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ActionDefinition, ric_actionDefinition_formats), |
| 102 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 103 | +1, /* EXPLICIT tag at current level */ |
| 104 | &asn_DEF_ric_actionDefinition_formats_3, |
| 105 | 0, |
| 106 | { 0, 0, 0 }, |
| 107 | 0, 0, /* No default value */ |
| 108 | "ric-actionDefinition-formats" |
| 109 | }, |
| 110 | }; |
| 111 | static const ber_tlv_tag_t asn_DEF_E2SM_RC_ActionDefinition_tags_1[] = { |
| 112 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 113 | }; |
| 114 | static const asn_TYPE_tag2member_t asn_MAP_E2SM_RC_ActionDefinition_tag2el_1[] = { |
| 115 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ric-Style-Type */ |
| 116 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ric-actionDefinition-formats */ |
| 117 | }; |
| 118 | static asn_SEQUENCE_specifics_t asn_SPC_E2SM_RC_ActionDefinition_specs_1 = { |
| 119 | sizeof(struct E2SM_RC_ActionDefinition), |
| 120 | offsetof(struct E2SM_RC_ActionDefinition, _asn_ctx), |
| 121 | asn_MAP_E2SM_RC_ActionDefinition_tag2el_1, |
| 122 | 2, /* Count of tags in the map */ |
| 123 | 0, 0, 0, /* Optional elements (not needed) */ |
| 124 | 2, /* First extension addition */ |
| 125 | }; |
| 126 | asn_TYPE_descriptor_t asn_DEF_E2SM_RC_ActionDefinition = { |
| 127 | "E2SM-RC-ActionDefinition", |
| 128 | "E2SM-RC-ActionDefinition", |
| 129 | &asn_OP_SEQUENCE, |
| 130 | asn_DEF_E2SM_RC_ActionDefinition_tags_1, |
| 131 | sizeof(asn_DEF_E2SM_RC_ActionDefinition_tags_1) |
| 132 | /sizeof(asn_DEF_E2SM_RC_ActionDefinition_tags_1[0]), /* 1 */ |
| 133 | asn_DEF_E2SM_RC_ActionDefinition_tags_1, /* Same as above */ |
| 134 | sizeof(asn_DEF_E2SM_RC_ActionDefinition_tags_1) |
| 135 | /sizeof(asn_DEF_E2SM_RC_ActionDefinition_tags_1[0]), /* 1 */ |
| 136 | { 0, 0, SEQUENCE_constraint }, |
| 137 | asn_MBR_E2SM_RC_ActionDefinition_1, |
| 138 | 2, /* Elements count */ |
| 139 | &asn_SPC_E2SM_RC_ActionDefinition_specs_1 /* Additional specs */ |
| 140 | }; |
| 141 | |