11d9e4ed548700c707e4a5ed105327edc6873fa7
[sim/e2-interface.git] / e2sim / previous / e2apv1sim / ASN1c / CauseRIC.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "/home/rshacham/e2ap-v01.00.00.asn"
5  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D .`
6  */
7
8 #include "CauseRIC.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 asn_per_constraints_t asn_PER_type_CauseRIC_constr_1 CC_NOTUSED = {
15         { APC_CONSTRAINED | APC_EXTENSIBLE,  4,  4,  0,  10 }   /* (0..10,...) */,
16         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
17         0, 0    /* No PER value map */
18 };
19 static const asn_INTEGER_enum_map_t asn_MAP_CauseRIC_value2enum_1[] = {
20         { 0,    23,     "ran-function-id-Invalid" },
21         { 1,    20,     "action-not-supported" },
22         { 2,    17,     "excessive-actions" },
23         { 3,    16,     "duplicate-action" },
24         { 4,    15,     "duplicate-event" },
25         { 5,    23,     "function-resource-limit" },
26         { 6,    18,     "request-id-unknown" },
27         { 7,    46,     "inconsistent-action-subsequent-action-sequence" },
28         { 8,    23,     "control-message-invalid" },
29         { 9,    23,     "call-process-id-invalid" },
30         { 10,   11,     "unspecified" }
31         /* This list is extensible */
32 };
33 static const unsigned int asn_MAP_CauseRIC_enum2value_1[] = {
34         1,      /* action-not-supported(1) */
35         9,      /* call-process-id-invalid(9) */
36         8,      /* control-message-invalid(8) */
37         3,      /* duplicate-action(3) */
38         4,      /* duplicate-event(4) */
39         2,      /* excessive-actions(2) */
40         5,      /* function-resource-limit(5) */
41         7,      /* inconsistent-action-subsequent-action-sequence(7) */
42         0,      /* ran-function-id-Invalid(0) */
43         6,      /* request-id-unknown(6) */
44         10      /* unspecified(10) */
45         /* This list is extensible */
46 };
47 const asn_INTEGER_specifics_t asn_SPC_CauseRIC_specs_1 = {
48         asn_MAP_CauseRIC_value2enum_1,  /* "tag" => N; sorted by tag */
49         asn_MAP_CauseRIC_enum2value_1,  /* N => "tag"; sorted by N */
50         11,     /* Number of elements in the maps */
51         12,     /* Extensions before this member */
52         1,      /* Strict enumeration */
53         0,      /* Native long size */
54         0
55 };
56 static const ber_tlv_tag_t asn_DEF_CauseRIC_tags_1[] = {
57         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
58 };
59 asn_TYPE_descriptor_t asn_DEF_CauseRIC = {
60         "CauseRIC",
61         "CauseRIC",
62         &asn_OP_NativeEnumerated,
63         asn_DEF_CauseRIC_tags_1,
64         sizeof(asn_DEF_CauseRIC_tags_1)
65                 /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */
66         asn_DEF_CauseRIC_tags_1,        /* Same as above */
67         sizeof(asn_DEF_CauseRIC_tags_1)
68                 /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */
69         { 0, &asn_PER_type_CauseRIC_constr_1, NativeEnumerated_constraint },
70         0, 0,   /* Defined elsewhere */
71         &asn_SPC_CauseRIC_specs_1       /* Additional specs */
72 };
73