5ff0728dd2547e2de0685dc8263591ff4e741801
[ric-plt/submgr.git] / 3rdparty / libe2ap / CauseRIC.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "Spec/e2_and_x2-combined-and-minimized.asn1"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
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,  12 }   /* (0..12,...) */,
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,    19,     "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,   21,     "function-not-required" },
31         { 11,   19,     "excessive-functions" },
32         { 12,   18,     "ric-resource-limit" }
33         /* This list is extensible */
34 };
35 static const unsigned int asn_MAP_CauseRIC_enum2value_1[] = {
36         1,      /* action-not-supported(1) */
37         9,      /* call-process-id-invalid(9) */
38         8,      /* control-message-invalid(8) */
39         3,      /* duplicate-action(3) */
40         4,      /* duplicate-event(4) */
41         2,      /* excessive-actions(2) */
42         11,     /* excessive-functions(11) */
43         0,      /* function-id-Invalid(0) */
44         10,     /* function-not-required(10) */
45         5,      /* function-resource-limit(5) */
46         7,      /* inconsistent-action-subsequent-action-sequence(7) */
47         6,      /* request-id-unknown(6) */
48         12      /* ric-resource-limit(12) */
49         /* This list is extensible */
50 };
51 const asn_INTEGER_specifics_t asn_SPC_CauseRIC_specs_1 = {
52         asn_MAP_CauseRIC_value2enum_1,  /* "tag" => N; sorted by tag */
53         asn_MAP_CauseRIC_enum2value_1,  /* N => "tag"; sorted by N */
54         13,     /* Number of elements in the maps */
55         14,     /* Extensions before this member */
56         1,      /* Strict enumeration */
57         0,      /* Native long size */
58         0
59 };
60 static const ber_tlv_tag_t asn_DEF_CauseRIC_tags_1[] = {
61         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
62 };
63 asn_TYPE_descriptor_t asn_DEF_CauseRIC = {
64         "CauseRIC",
65         "CauseRIC",
66         &asn_OP_NativeEnumerated,
67         asn_DEF_CauseRIC_tags_1,
68         sizeof(asn_DEF_CauseRIC_tags_1)
69                 /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */
70         asn_DEF_CauseRIC_tags_1,        /* Same as above */
71         sizeof(asn_DEF_CauseRIC_tags_1)
72                 /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */
73         { 0, &asn_PER_type_CauseRIC_constr_1, NativeEnumerated_constraint },
74         0, 0,   /* Defined elsewhere */
75         &asn_SPC_CauseRIC_specs_1       /* Additional specs */
76 };
77