SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / InterfaceType.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 "InterfaceType.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_InterfaceType_constr_1 CC_NOTUSED = {
16         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  6 }    /* (0..6,...) */,
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_InterfaceType_value2enum_1[] = {
22         { 0,    2,      "nG" },
23         { 1,    2,      "xn" },
24         { 2,    2,      "f1" },
25         { 3,    2,      "e1" },
26         { 4,    2,      "s1" },
27         { 5,    2,      "x2" },
28         { 6,    2,      "w1" }
29         /* This list is extensible */
30 };
31 static const unsigned int asn_MAP_InterfaceType_enum2value_1[] = {
32         3,      /* e1(3) */
33         2,      /* f1(2) */
34         0,      /* nG(0) */
35         4,      /* s1(4) */
36         6,      /* w1(6) */
37         5,      /* x2(5) */
38         1       /* xn(1) */
39         /* This list is extensible */
40 };
41 static const asn_INTEGER_specifics_t asn_SPC_InterfaceType_specs_1 = {
42         asn_MAP_InterfaceType_value2enum_1,     /* "tag" => N; sorted by tag */
43         asn_MAP_InterfaceType_enum2value_1,     /* N => "tag"; sorted by N */
44         7,      /* Number of elements in the maps */
45         8,      /* Extensions before this member */
46         1,      /* Strict enumeration */
47         0,      /* Native long size */
48         0
49 };
50 static const ber_tlv_tag_t asn_DEF_InterfaceType_tags_1[] = {
51         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
52 };
53 asn_TYPE_descriptor_t asn_DEF_InterfaceType = {
54         "InterfaceType",
55         "InterfaceType",
56         &asn_OP_NativeEnumerated,
57         asn_DEF_InterfaceType_tags_1,
58         sizeof(asn_DEF_InterfaceType_tags_1)
59                 /sizeof(asn_DEF_InterfaceType_tags_1[0]), /* 1 */
60         asn_DEF_InterfaceType_tags_1,   /* Same as above */
61         sizeof(asn_DEF_InterfaceType_tags_1)
62                 /sizeof(asn_DEF_InterfaceType_tags_1[0]), /* 1 */
63         {
64 #if !defined(ASN_DISABLE_OER_SUPPORT)
65                 0,
66 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
67 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
68                 &asn_PER_type_InterfaceType_constr_1,
69 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
70                 NativeEnumerated_constraint
71         },
72         0, 0,   /* Defined elsewhere */
73         &asn_SPC_InterfaceType_specs_1  /* Additional specs */
74 };
75