Upstreaming version 0.10.7
[ric-plt/submgr.git] / e2ap / lib / CauseRIC.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "e2ap-v031.asn1"
5  *      `asn1c -D ./asn1_n1 -pdu=auto -fno-include-deps -fcompound-names -findirect-choice -gen-PER -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 static asn_oer_constraints_t asn_OER_type_CauseRIC_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_CauseRIC_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  4,  4,  0,  12 }   /* (0..12,...) */,
19         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
20         0, 0    /* No PER value map */
21 };
22 static const asn_INTEGER_enum_map_t asn_MAP_CauseRIC_value2enum_1[] = {
23         { 0,    19,     "function-id-Invalid" },
24         { 1,    20,     "action-not-supported" },
25         { 2,    17,     "excessive-actions" },
26         { 3,    16,     "duplicate-action" },
27         { 4,    15,     "duplicate-event" },
28         { 5,    23,     "function-resource-limit" },
29         { 6,    18,     "request-id-unknown" },
30         { 7,    46,     "inconsistent-action-subsequent-action-sequence" },
31         { 8,    23,     "control-message-invalid" },
32         { 9,    23,     "call-process-id-invalid" },
33         { 10,   21,     "function-not-required" },
34         { 11,   19,     "excessive-functions" },
35         { 12,   18,     "ric-resource-limit" }
36         /* This list is extensible */
37 };
38 static const unsigned int asn_MAP_CauseRIC_enum2value_1[] = {
39         1,      /* action-not-supported(1) */
40         9,      /* call-process-id-invalid(9) */
41         8,      /* control-message-invalid(8) */
42         3,      /* duplicate-action(3) */
43         4,      /* duplicate-event(4) */
44         2,      /* excessive-actions(2) */
45         11,     /* excessive-functions(11) */
46         0,      /* function-id-Invalid(0) */
47         10,     /* function-not-required(10) */
48         5,      /* function-resource-limit(5) */
49         7,      /* inconsistent-action-subsequent-action-sequence(7) */
50         6,      /* request-id-unknown(6) */
51         12      /* ric-resource-limit(12) */
52         /* This list is extensible */
53 };
54 const asn_INTEGER_specifics_t asn_SPC_CauseRIC_specs_1 = {
55         asn_MAP_CauseRIC_value2enum_1,  /* "tag" => N; sorted by tag */
56         asn_MAP_CauseRIC_enum2value_1,  /* N => "tag"; sorted by N */
57         13,     /* Number of elements in the maps */
58         14,     /* Extensions before this member */
59         1,      /* Strict enumeration */
60         0,      /* Native long size */
61         0
62 };
63 static const ber_tlv_tag_t asn_DEF_CauseRIC_tags_1[] = {
64         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
65 };
66 asn_TYPE_descriptor_t asn_DEF_CauseRIC = {
67         "CauseRIC",
68         "CauseRIC",
69         &asn_OP_NativeEnumerated,
70         asn_DEF_CauseRIC_tags_1,
71         sizeof(asn_DEF_CauseRIC_tags_1)
72                 /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */
73         asn_DEF_CauseRIC_tags_1,        /* Same as above */
74         sizeof(asn_DEF_CauseRIC_tags_1)
75                 /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */
76         { &asn_OER_type_CauseRIC_constr_1, &asn_PER_type_CauseRIC_constr_1, NativeEnumerated_constraint },
77         0, 0,   /* Defined elsewhere */
78         &asn_SPC_CauseRIC_specs_1       /* Additional specs */
79 };
80