SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / Interface-MessageID.c
1 /*
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/`
6  */
7
8 #include "Interface-MessageID.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
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 */
19 };
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 */
26 };
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 */
32 };
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 */
40         0
41 };
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))
45 };
46 static /* Use -fall-defs-global to expose */
47 asn_TYPE_descriptor_t asn_DEF_messageType_3 = {
48         "messageType",
49         "messageType",
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 */
57         {
58 #if !defined(ASN_DISABLE_OER_SUPPORT)
59                 0,
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
65         },
66         0, 0,   /* Defined elsewhere */
67         &asn_SPC_messageType_specs_3    /* Additional specs */
68 };
69
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,
75                 0,
76                 {
77 #if !defined(ASN_DISABLE_OER_SUPPORT)
78                         0,
79 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
80 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
81                         0,
82 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
83                         0
84                 },
85                 0, 0, /* No default value */
86                 "interfaceProcedureID"
87                 },
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,
92                 0,
93                 {
94 #if !defined(ASN_DISABLE_OER_SUPPORT)
95                         0,
96 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
97 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
98                         0,
99 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
100                         0
101                 },
102                 0, 0, /* No default value */
103                 "messageType"
104                 },
105 };
106 static const ber_tlv_tag_t asn_DEF_Interface_MessageID_tags_1[] = {
107         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
108 };
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 */
112 };
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 */
120 };
121 asn_TYPE_descriptor_t asn_DEF_Interface_MessageID = {
122         "Interface-MessageID",
123         "Interface-MessageID",
124         &asn_OP_SEQUENCE,
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 */
131         {
132 #if !defined(ASN_DISABLE_OER_SUPPORT)
133                 0,
134 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
135 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
136                 0,
137 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
138                 SEQUENCE_constraint
139         },
140         asn_MBR_Interface_MessageID_1,
141         2,      /* Elements count */
142         &asn_SPC_Interface_MessageID_specs_1    /* Additional specs */
143 };
144