2ff54a22f12ff6658fe2c56df8823dca6da97945
[ric-app/kpimon.git] / asn1c_defs / all-defs / InterfaceProtocolIE-Test.c
1 /*\r
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
6  */\r
7 \r
8 #include "InterfaceProtocolIE-Test.h"\r
9 \r
10 /*\r
11  * This type is implemented using NativeEnumerated,\r
12  * so here we adjust the DEF accordingly.\r
13  */\r
14 asn_per_constraints_t asn_PER_type_InterfaceProtocolIE_Test_constr_1 CC_NOTUSED = {\r
15         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  4 }    /* (0..4,...) */,\r
16         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },\r
17         0, 0    /* No PER value map */\r
18 };\r
19 static const asn_INTEGER_enum_map_t asn_MAP_InterfaceProtocolIE_Test_value2enum_1[] = {\r
20         { 0,    5,      "equal" },\r
21         { 1,    11,     "greaterthan" },\r
22         { 2,    8,      "lessthan" },\r
23         { 3,    8,      "contains" },\r
24         { 4,    7,      "present" }\r
25         /* This list is extensible */\r
26 };\r
27 static const unsigned int asn_MAP_InterfaceProtocolIE_Test_enum2value_1[] = {\r
28         3,      /* contains(3) */\r
29         0,      /* equal(0) */\r
30         1,      /* greaterthan(1) */\r
31         2,      /* lessthan(2) */\r
32         4       /* present(4) */\r
33         /* This list is extensible */\r
34 };\r
35 const asn_INTEGER_specifics_t asn_SPC_InterfaceProtocolIE_Test_specs_1 = {\r
36         asn_MAP_InterfaceProtocolIE_Test_value2enum_1,  /* "tag" => N; sorted by tag */\r
37         asn_MAP_InterfaceProtocolIE_Test_enum2value_1,  /* N => "tag"; sorted by N */\r
38         5,      /* Number of elements in the maps */\r
39         6,      /* Extensions before this member */\r
40         1,      /* Strict enumeration */\r
41         0,      /* Native long size */\r
42         0\r
43 };\r
44 static const ber_tlv_tag_t asn_DEF_InterfaceProtocolIE_Test_tags_1[] = {\r
45         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))\r
46 };\r
47 asn_TYPE_descriptor_t asn_DEF_InterfaceProtocolIE_Test = {\r
48         "InterfaceProtocolIE-Test",\r
49         "InterfaceProtocolIE-Test",\r
50         &asn_OP_NativeEnumerated,\r
51         asn_DEF_InterfaceProtocolIE_Test_tags_1,\r
52         sizeof(asn_DEF_InterfaceProtocolIE_Test_tags_1)\r
53                 /sizeof(asn_DEF_InterfaceProtocolIE_Test_tags_1[0]), /* 1 */\r
54         asn_DEF_InterfaceProtocolIE_Test_tags_1,        /* Same as above */\r
55         sizeof(asn_DEF_InterfaceProtocolIE_Test_tags_1)\r
56                 /sizeof(asn_DEF_InterfaceProtocolIE_Test_tags_1[0]), /* 1 */\r
57         { 0, &asn_PER_type_InterfaceProtocolIE_Test_constr_1, NativeEnumerated_constraint },\r
58         0, 0,   /* Defined elsewhere */\r
59         &asn_SPC_InterfaceProtocolIE_Test_specs_1       /* Additional specs */\r
60 };\r
61 \r