SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / TriggeringMessage.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-CommonDataTypes"
4  *      found in "e2ap-common-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 "TriggeringMessage.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 asn_per_constraints_t asn_PER_type_TriggeringMessage_constr_1 CC_NOTUSED = {
16         { APC_CONSTRAINED,       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_TriggeringMessage_value2enum_1[] = {
22         { 0,    18,     "initiating-message" },
23         { 1,    18,     "successful-outcome" },
24         { 2,    21,     "unsuccessfull-outcome" }
25 };
26 static const unsigned int asn_MAP_TriggeringMessage_enum2value_1[] = {
27         0,      /* initiating-message(0) */
28         1,      /* successful-outcome(1) */
29         2       /* unsuccessfull-outcome(2) */
30 };
31 const asn_INTEGER_specifics_t asn_SPC_TriggeringMessage_specs_1 = {
32         asn_MAP_TriggeringMessage_value2enum_1, /* "tag" => N; sorted by tag */
33         asn_MAP_TriggeringMessage_enum2value_1, /* N => "tag"; sorted by N */
34         3,      /* Number of elements in the maps */
35         0,      /* Enumeration is not extensible */
36         1,      /* Strict enumeration */
37         0,      /* Native long size */
38         0
39 };
40 static const ber_tlv_tag_t asn_DEF_TriggeringMessage_tags_1[] = {
41         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
42 };
43 asn_TYPE_descriptor_t asn_DEF_TriggeringMessage = {
44         "TriggeringMessage",
45         "TriggeringMessage",
46         &asn_OP_NativeEnumerated,
47         asn_DEF_TriggeringMessage_tags_1,
48         sizeof(asn_DEF_TriggeringMessage_tags_1)
49                 /sizeof(asn_DEF_TriggeringMessage_tags_1[0]), /* 1 */
50         asn_DEF_TriggeringMessage_tags_1,       /* Same as above */
51         sizeof(asn_DEF_TriggeringMessage_tags_1)
52                 /sizeof(asn_DEF_TriggeringMessage_tags_1[0]), /* 1 */
53         {
54 #if !defined(ASN_DISABLE_OER_SUPPORT)
55                 0,
56 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
57 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
58                 &asn_PER_type_TriggeringMessage_constr_1,
59 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
60                 NativeEnumerated_constraint
61         },
62         0, 0,   /* Defined elsewhere */
63         &asn_SPC_TriggeringMessage_specs_1      /* Additional specs */
64 };
65