SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / TimeToWait.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "e2ap-ied-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 "TimeToWait.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_TimeToWait_constr_1 CC_NOTUSED = {
16         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  5 }    /* (0..5,...) */,
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_TimeToWait_value2enum_1[] = {
22         { 0,    3,      "v1s" },
23         { 1,    3,      "v2s" },
24         { 2,    3,      "v5s" },
25         { 3,    4,      "v10s" },
26         { 4,    4,      "v20s" },
27         { 5,    4,      "v60s" }
28         /* This list is extensible */
29 };
30 static const unsigned int asn_MAP_TimeToWait_enum2value_1[] = {
31         3,      /* v10s(3) */
32         0,      /* v1s(0) */
33         4,      /* v20s(4) */
34         1,      /* v2s(1) */
35         2,      /* v5s(2) */
36         5       /* v60s(5) */
37         /* This list is extensible */
38 };
39 const asn_INTEGER_specifics_t asn_SPC_TimeToWait_specs_1 = {
40         asn_MAP_TimeToWait_value2enum_1,        /* "tag" => N; sorted by tag */
41         asn_MAP_TimeToWait_enum2value_1,        /* N => "tag"; sorted by N */
42         6,      /* Number of elements in the maps */
43         7,      /* Extensions before this member */
44         1,      /* Strict enumeration */
45         0,      /* Native long size */
46         0
47 };
48 static const ber_tlv_tag_t asn_DEF_TimeToWait_tags_1[] = {
49         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
50 };
51 asn_TYPE_descriptor_t asn_DEF_TimeToWait = {
52         "TimeToWait",
53         "TimeToWait",
54         &asn_OP_NativeEnumerated,
55         asn_DEF_TimeToWait_tags_1,
56         sizeof(asn_DEF_TimeToWait_tags_1)
57                 /sizeof(asn_DEF_TimeToWait_tags_1[0]), /* 1 */
58         asn_DEF_TimeToWait_tags_1,      /* Same as above */
59         sizeof(asn_DEF_TimeToWait_tags_1)
60                 /sizeof(asn_DEF_TimeToWait_tags_1[0]), /* 1 */
61         {
62 #if !defined(ASN_DISABLE_OER_SUPPORT)
63                 0,
64 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
65 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
66                 &asn_PER_type_TimeToWait_constr_1,
67 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
68                 NativeEnumerated_constraint
69         },
70         0, 0,   /* Defined elsewhere */
71         &asn_SPC_TimeToWait_specs_1     /* Additional specs */
72 };
73