2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2SM-COMMON-IEs"
4 * found in "e2sm-v03.01.asn"
5 * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -no-gen-example -no-gen-OER -D /tmp/workspace/oransim-gerrit/e2sim/asn1c/`
8 #include "Interface-MessageID.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
14 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
15 static asn_per_constraints_t asn_PER_type_messageType_constr_3 CC_NOTUSED = {
16 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */,
17 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
18 0, 0 /* No PER value map */
20 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
21 static const asn_INTEGER_enum_map_t asn_MAP_messageType_value2enum_3[] = {
22 { 0, 17, "initiatingMessage" },
23 { 1, 17, "successfulOutcome" },
24 { 2, 19, "unsuccessfulOutcome" }
25 /* This list is extensible */
27 static const unsigned int asn_MAP_messageType_enum2value_3[] = {
28 0, /* initiatingMessage(0) */
29 1, /* successfulOutcome(1) */
30 2 /* unsuccessfulOutcome(2) */
31 /* This list is extensible */
33 static const asn_INTEGER_specifics_t asn_SPC_messageType_specs_3 = {
34 asn_MAP_messageType_value2enum_3, /* "tag" => N; sorted by tag */
35 asn_MAP_messageType_enum2value_3, /* N => "tag"; sorted by N */
36 3, /* Number of elements in the maps */
37 4, /* Extensions before this member */
38 1, /* Strict enumeration */
39 0, /* Native long size */
42 static const ber_tlv_tag_t asn_DEF_messageType_tags_3[] = {
43 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
44 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
46 static /* Use -fall-defs-global to expose */
47 asn_TYPE_descriptor_t asn_DEF_messageType_3 = {
50 &asn_OP_NativeEnumerated,
51 asn_DEF_messageType_tags_3,
52 sizeof(asn_DEF_messageType_tags_3)
53 /sizeof(asn_DEF_messageType_tags_3[0]) - 1, /* 1 */
54 asn_DEF_messageType_tags_3, /* Same as above */
55 sizeof(asn_DEF_messageType_tags_3)
56 /sizeof(asn_DEF_messageType_tags_3[0]), /* 2 */
58 #if !defined(ASN_DISABLE_OER_SUPPORT)
60 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
61 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
62 &asn_PER_type_messageType_constr_3,
63 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
64 NativeEnumerated_constraint
66 0, 0, /* Defined elsewhere */
67 &asn_SPC_messageType_specs_3 /* Additional specs */
70 static asn_TYPE_member_t asn_MBR_Interface_MessageID_1[] = {
71 { ATF_NOFLAGS, 0, offsetof(struct Interface_MessageID, interfaceProcedureID),
72 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
73 -1, /* IMPLICIT tag at current level */
74 &asn_DEF_NativeInteger,
77 #if !defined(ASN_DISABLE_OER_SUPPORT)
79 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
80 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
82 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
85 0, 0, /* No default value */
86 "interfaceProcedureID"
88 { ATF_NOFLAGS, 0, offsetof(struct Interface_MessageID, messageType),
89 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
90 -1, /* IMPLICIT tag at current level */
91 &asn_DEF_messageType_3,
94 #if !defined(ASN_DISABLE_OER_SUPPORT)
96 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
97 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
99 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
102 0, 0, /* No default value */
106 static const ber_tlv_tag_t asn_DEF_Interface_MessageID_tags_1[] = {
107 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
109 static const asn_TYPE_tag2member_t asn_MAP_Interface_MessageID_tag2el_1[] = {
110 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* interfaceProcedureID */
111 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageType */
113 static asn_SEQUENCE_specifics_t asn_SPC_Interface_MessageID_specs_1 = {
114 sizeof(struct Interface_MessageID),
115 offsetof(struct Interface_MessageID, _asn_ctx),
116 asn_MAP_Interface_MessageID_tag2el_1,
117 2, /* Count of tags in the map */
118 0, 0, 0, /* Optional elements (not needed) */
119 2, /* First extension addition */
121 asn_TYPE_descriptor_t asn_DEF_Interface_MessageID = {
122 "Interface-MessageID",
123 "Interface-MessageID",
125 asn_DEF_Interface_MessageID_tags_1,
126 sizeof(asn_DEF_Interface_MessageID_tags_1)
127 /sizeof(asn_DEF_Interface_MessageID_tags_1[0]), /* 1 */
128 asn_DEF_Interface_MessageID_tags_1, /* Same as above */
129 sizeof(asn_DEF_Interface_MessageID_tags_1)
130 /sizeof(asn_DEF_Interface_MessageID_tags_1[0]), /* 1 */
132 #if !defined(ASN_DISABLE_OER_SUPPORT)
134 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
135 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
137 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
140 asn_MBR_Interface_MessageID_1,
141 2, /* Elements count */
142 &asn_SPC_Interface_MessageID_specs_1 /* Additional specs */