2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
\r
3 * From ASN.1 module "E2SM-gNB-X2-IEs"
\r
4 * found in "../../asn_defs/asn1/e2sm-gNB-X2-release-1-v041.asn.txt"
\r
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
\r
8 #include "TypeOfMessage.h"
\r
11 * This type is implemented using NativeEnumerated,
\r
12 * so here we adjust the DEF accordingly.
\r
14 asn_per_constraints_t asn_PER_type_TypeOfMessage_constr_1 CC_NOTUSED = {
\r
15 { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
\r
16 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
\r
17 0, 0 /* No PER value map */
\r
19 static const asn_INTEGER_enum_map_t asn_MAP_TypeOfMessage_value2enum_1[] = {
\r
20 { 0, 7, "nothing" },
\r
21 { 1, 18, "initiating-message" },
\r
22 { 2, 18, "successful-outcome" },
\r
23 { 3, 20, "unsuccessful-outcome" }
\r
25 static const unsigned int asn_MAP_TypeOfMessage_enum2value_1[] = {
\r
26 1, /* initiating-message(1) */
\r
28 2, /* successful-outcome(2) */
\r
29 3 /* unsuccessful-outcome(3) */
\r
31 const asn_INTEGER_specifics_t asn_SPC_TypeOfMessage_specs_1 = {
\r
32 asn_MAP_TypeOfMessage_value2enum_1, /* "tag" => N; sorted by tag */
\r
33 asn_MAP_TypeOfMessage_enum2value_1, /* N => "tag"; sorted by N */
\r
34 4, /* Number of elements in the maps */
\r
35 0, /* Enumeration is not extensible */
\r
36 1, /* Strict enumeration */
\r
37 0, /* Native long size */
\r
40 static const ber_tlv_tag_t asn_DEF_TypeOfMessage_tags_1[] = {
\r
41 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
\r
43 asn_TYPE_descriptor_t asn_DEF_TypeOfMessage = {
\r
46 &asn_OP_NativeEnumerated,
\r
47 asn_DEF_TypeOfMessage_tags_1,
\r
48 sizeof(asn_DEF_TypeOfMessage_tags_1)
\r
49 /sizeof(asn_DEF_TypeOfMessage_tags_1[0]), /* 1 */
\r
50 asn_DEF_TypeOfMessage_tags_1, /* Same as above */
\r
51 sizeof(asn_DEF_TypeOfMessage_tags_1)
\r
52 /sizeof(asn_DEF_TypeOfMessage_tags_1[0]), /* 1 */
\r
53 { 0, &asn_PER_type_TypeOfMessage_constr_1, NativeEnumerated_constraint },
\r
54 0, 0, /* Defined elsewhere */
\r
55 &asn_SPC_TypeOfMessage_specs_1 /* Additional specs */
\r