SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / 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-ied-v03.01.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -no-gen-example -no-gen-OER -D /tmp/workspace/oransim-gerrit/e2sim/asn1c/`
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 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
16 static asn_per_constraints_t asn_PER_type_updateOutcome_constr_2 CC_NOTUSED = {
17         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
18         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
19         0, 0    /* No PER value map */
20 };
21 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
22 static const asn_INTEGER_enum_map_t asn_MAP_updateOutcome_value2enum_2[] = {
23         { 0,    7,      "success" },
24         { 1,    7,      "failure" }
25         /* This list is extensible */
26 };
27 static const unsigned int asn_MAP_updateOutcome_enum2value_2[] = {
28         1,      /* failure(1) */
29         0       /* success(0) */
30         /* This list is extensible */
31 };
32 static const asn_INTEGER_specifics_t asn_SPC_updateOutcome_specs_2 = {
33         asn_MAP_updateOutcome_value2enum_2,     /* "tag" => N; sorted by tag */
34         asn_MAP_updateOutcome_enum2value_2,     /* N => "tag"; sorted by N */
35         2,      /* Number of elements in the maps */
36         3,      /* Extensions before this member */
37         1,      /* Strict enumeration */
38         0,      /* Native long size */
39         0
40 };
41 static const ber_tlv_tag_t asn_DEF_updateOutcome_tags_2[] = {
42         (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
43         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
44 };
45 static /* Use -fall-defs-global to expose */
46 asn_TYPE_descriptor_t asn_DEF_updateOutcome_2 = {
47         "updateOutcome",
48         "updateOutcome",
49         &asn_OP_NativeEnumerated,
50         asn_DEF_updateOutcome_tags_2,
51         sizeof(asn_DEF_updateOutcome_tags_2)
52                 /sizeof(asn_DEF_updateOutcome_tags_2[0]) - 1, /* 1 */
53         asn_DEF_updateOutcome_tags_2,   /* Same as above */
54         sizeof(asn_DEF_updateOutcome_tags_2)
55                 /sizeof(asn_DEF_updateOutcome_tags_2[0]), /* 2 */
56         {
57 #if !defined(ASN_DISABLE_OER_SUPPORT)
58                 0,
59 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
60 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
61                 &asn_PER_type_updateOutcome_constr_2,
62 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
63                 NativeEnumerated_constraint
64         },
65         0, 0,   /* Defined elsewhere */
66         &asn_SPC_updateOutcome_specs_2  /* Additional specs */
67 };
68
69 asn_TYPE_member_t asn_MBR_E2nodeComponentConfigurationAck_1[] = {
70         { ATF_NOFLAGS, 0, offsetof(struct E2nodeComponentConfigurationAck, updateOutcome),
71                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
72                 -1,     /* IMPLICIT tag at current level */
73                 &asn_DEF_updateOutcome_2,
74                 0,
75                 {
76 #if !defined(ASN_DISABLE_OER_SUPPORT)
77                         0,
78 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
79 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
80                         0,
81 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
82                         0
83                 },
84                 0, 0, /* No default value */
85                 "updateOutcome"
86                 },
87         { ATF_POINTER, 1, offsetof(struct E2nodeComponentConfigurationAck, failureCause),
88                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
89                 +1,     /* EXPLICIT tag at current level */
90                 &asn_DEF_Cause,
91                 0,
92                 {
93 #if !defined(ASN_DISABLE_OER_SUPPORT)
94                         0,
95 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
96 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
97                         0,
98 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
99                         0
100                 },
101                 0, 0, /* No default value */
102                 "failureCause"
103                 },
104 };
105 static const int asn_MAP_E2nodeComponentConfigurationAck_oms_1[] = { 1 };
106 static const ber_tlv_tag_t asn_DEF_E2nodeComponentConfigurationAck_tags_1[] = {
107         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
108 };
109 static const asn_TYPE_tag2member_t asn_MAP_E2nodeComponentConfigurationAck_tag2el_1[] = {
110     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* updateOutcome */
111     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* failureCause */
112 };
113 asn_SEQUENCE_specifics_t asn_SPC_E2nodeComponentConfigurationAck_specs_1 = {
114         sizeof(struct E2nodeComponentConfigurationAck),
115         offsetof(struct E2nodeComponentConfigurationAck, _asn_ctx),
116         asn_MAP_E2nodeComponentConfigurationAck_tag2el_1,
117         2,      /* Count of tags in the map */
118         asn_MAP_E2nodeComponentConfigurationAck_oms_1,  /* Optional members */
119         1, 0,   /* Root/Additions */
120         2,      /* First extension addition */
121 };
122 asn_TYPE_descriptor_t asn_DEF_E2nodeComponentConfigurationAck = {
123         "E2nodeComponentConfigurationAck",
124         "E2nodeComponentConfigurationAck",
125         &asn_OP_SEQUENCE,
126         asn_DEF_E2nodeComponentConfigurationAck_tags_1,
127         sizeof(asn_DEF_E2nodeComponentConfigurationAck_tags_1)
128                 /sizeof(asn_DEF_E2nodeComponentConfigurationAck_tags_1[0]), /* 1 */
129         asn_DEF_E2nodeComponentConfigurationAck_tags_1, /* Same as above */
130         sizeof(asn_DEF_E2nodeComponentConfigurationAck_tags_1)
131                 /sizeof(asn_DEF_E2nodeComponentConfigurationAck_tags_1[0]), /* 1 */
132         {
133 #if !defined(ASN_DISABLE_OER_SUPPORT)
134                 0,
135 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
136 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
137                 0,
138 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
139                 SEQUENCE_constraint
140         },
141         asn_MBR_E2nodeComponentConfigurationAck_1,
142         2,      /* Elements count */
143         &asn_SPC_E2nodeComponentConfigurationAck_specs_1        /* Additional specs */
144 };
145