Generated C files for E2AP v2.0
[sim/e2-interface.git] / e2sim / e2sm_examples / kpm_e2sm / src / ASN1c / E2nodeComponentConfigurationAck.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "e2ap-v2.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-example`
6  */
7
8 #include "E2nodeComponentConfigurationAck.h"
9
10 #include "Cause.h"
11 /*
12  * This type is implemented using NativeEnumerated,
13  * so here we adjust the DEF accordingly.
14  */
15 static asn_oer_constraints_t asn_OER_type_updateOutcome_constr_2 CC_NOTUSED = {
16         { 0, 0 },
17         -1};
18 static asn_per_constraints_t asn_PER_type_updateOutcome_constr_2 CC_NOTUSED = {
19         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
20         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
21         0, 0    /* No PER value map */
22 };
23 static const asn_INTEGER_enum_map_t asn_MAP_updateOutcome_value2enum_2[] = {
24         { 0,    7,      "success" },
25         { 1,    7,      "failure" }
26         /* This list is extensible */
27 };
28 static const unsigned int asn_MAP_updateOutcome_enum2value_2[] = {
29         1,      /* failure(1) */
30         0       /* success(0) */
31         /* This list is extensible */
32 };
33 static const asn_INTEGER_specifics_t asn_SPC_updateOutcome_specs_2 = {
34         asn_MAP_updateOutcome_value2enum_2,     /* "tag" => N; sorted by tag */
35         asn_MAP_updateOutcome_enum2value_2,     /* N => "tag"; sorted by N */
36         2,      /* Number of elements in the maps */
37         3,      /* Extensions before this member */
38         1,      /* Strict enumeration */
39         0,      /* Native long size */
40         0
41 };
42 static const ber_tlv_tag_t asn_DEF_updateOutcome_tags_2[] = {
43         (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
44         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
45 };
46 static /* Use -fall-defs-global to expose */
47 asn_TYPE_descriptor_t asn_DEF_updateOutcome_2 = {
48         "updateOutcome",
49         "updateOutcome",
50         &asn_OP_NativeEnumerated,
51         asn_DEF_updateOutcome_tags_2,
52         sizeof(asn_DEF_updateOutcome_tags_2)
53                 /sizeof(asn_DEF_updateOutcome_tags_2[0]) - 1, /* 1 */
54         asn_DEF_updateOutcome_tags_2,   /* Same as above */
55         sizeof(asn_DEF_updateOutcome_tags_2)
56                 /sizeof(asn_DEF_updateOutcome_tags_2[0]), /* 2 */
57         { &asn_OER_type_updateOutcome_constr_2, &asn_PER_type_updateOutcome_constr_2, NativeEnumerated_constraint },
58         0, 0,   /* Defined elsewhere */
59         &asn_SPC_updateOutcome_specs_2  /* Additional specs */
60 };
61
62 asn_TYPE_member_t asn_MBR_E2nodeComponentConfigurationAck_1[] = {
63         { ATF_NOFLAGS, 0, offsetof(struct E2nodeComponentConfigurationAck, updateOutcome),
64                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
65                 -1,     /* IMPLICIT tag at current level */
66                 &asn_DEF_updateOutcome_2,
67                 0,
68                 { 0, 0, 0 },
69                 0, 0, /* No default value */
70                 "updateOutcome"
71                 },
72         { ATF_POINTER, 1, offsetof(struct E2nodeComponentConfigurationAck, failureCause),
73                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
74                 +1,     /* EXPLICIT tag at current level */
75                 &asn_DEF_Cause,
76                 0,
77                 { 0, 0, 0 },
78                 0, 0, /* No default value */
79                 "failureCause"
80                 },
81 };
82 static const int asn_MAP_E2nodeComponentConfigurationAck_oms_1[] = { 1 };
83 static const ber_tlv_tag_t asn_DEF_E2nodeComponentConfigurationAck_tags_1[] = {
84         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
85 };
86 static const asn_TYPE_tag2member_t asn_MAP_E2nodeComponentConfigurationAck_tag2el_1[] = {
87     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* updateOutcome */
88     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* failureCause */
89 };
90 asn_SEQUENCE_specifics_t asn_SPC_E2nodeComponentConfigurationAck_specs_1 = {
91         sizeof(struct E2nodeComponentConfigurationAck),
92         offsetof(struct E2nodeComponentConfigurationAck, _asn_ctx),
93         asn_MAP_E2nodeComponentConfigurationAck_tag2el_1,
94         2,      /* Count of tags in the map */
95         asn_MAP_E2nodeComponentConfigurationAck_oms_1,  /* Optional members */
96         1, 0,   /* Root/Additions */
97         2,      /* First extension addition */
98 };
99 asn_TYPE_descriptor_t asn_DEF_E2nodeComponentConfigurationAck = {
100         "E2nodeComponentConfigurationAck",
101         "E2nodeComponentConfigurationAck",
102         &asn_OP_SEQUENCE,
103         asn_DEF_E2nodeComponentConfigurationAck_tags_1,
104         sizeof(asn_DEF_E2nodeComponentConfigurationAck_tags_1)
105                 /sizeof(asn_DEF_E2nodeComponentConfigurationAck_tags_1[0]), /* 1 */
106         asn_DEF_E2nodeComponentConfigurationAck_tags_1, /* Same as above */
107         sizeof(asn_DEF_E2nodeComponentConfigurationAck_tags_1)
108                 /sizeof(asn_DEF_E2nodeComponentConfigurationAck_tags_1[0]), /* 1 */
109         { 0, 0, SEQUENCE_constraint },
110         asn_MBR_E2nodeComponentConfigurationAck_1,
111         2,      /* Elements count */
112         &asn_SPC_E2nodeComponentConfigurationAck_specs_1        /* Additional specs */
113 };
114