5cfa89750e286980446f1c547492ae47443cd333
[ric-app/kpimon.git] / asn1c_defs / all-defs / ServiceType.c
1 /*\r
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)\r
3  * From ASN.1 module "X2AP-IEs"\r
4  *      found in "../../asn_defs/asn1/x2ap-modified-15-05.asn"\r
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`\r
6  */\r
7 \r
8 #include "ServiceType.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 static asn_per_constraints_t asn_PER_type_ServiceType_constr_1 CC_NOTUSED = {\r
15         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,\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_ServiceType_value2enum_1[] = {\r
20         { 0,    25,     "qMC-for-streaming-service" },\r
21         { 1,    20,     "qMC-for-MTSI-service" }\r
22         /* This list is extensible */\r
23 };\r
24 static const unsigned int asn_MAP_ServiceType_enum2value_1[] = {\r
25         1,      /* qMC-for-MTSI-service(1) */\r
26         0       /* qMC-for-streaming-service(0) */\r
27         /* This list is extensible */\r
28 };\r
29 static const asn_INTEGER_specifics_t asn_SPC_ServiceType_specs_1 = {\r
30         asn_MAP_ServiceType_value2enum_1,       /* "tag" => N; sorted by tag */\r
31         asn_MAP_ServiceType_enum2value_1,       /* N => "tag"; sorted by N */\r
32         2,      /* Number of elements in the maps */\r
33         3,      /* Extensions before this member */\r
34         1,      /* Strict enumeration */\r
35         0,      /* Native long size */\r
36         0\r
37 };\r
38 static const ber_tlv_tag_t asn_DEF_ServiceType_tags_1[] = {\r
39         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))\r
40 };\r
41 asn_TYPE_descriptor_t asn_DEF_ServiceType = {\r
42         "ServiceType",\r
43         "ServiceType",\r
44         &asn_OP_NativeEnumerated,\r
45         asn_DEF_ServiceType_tags_1,\r
46         sizeof(asn_DEF_ServiceType_tags_1)\r
47                 /sizeof(asn_DEF_ServiceType_tags_1[0]), /* 1 */\r
48         asn_DEF_ServiceType_tags_1,     /* Same as above */\r
49         sizeof(asn_DEF_ServiceType_tags_1)\r
50                 /sizeof(asn_DEF_ServiceType_tags_1[0]), /* 1 */\r
51         { 0, &asn_PER_type_ServiceType_constr_1, NativeEnumerated_constraint },\r
52         0, 0,   /* Defined elsewhere */\r
53         &asn_SPC_ServiceType_specs_1    /* Additional specs */\r
54 };\r
55 \r