SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / CriticalityDiagnostics.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 "CriticalityDiagnostics.h"
9
10 #include "RICrequestID.h"
11 #include "CriticalityDiagnostics-IE-List.h"
12 asn_TYPE_member_t asn_MBR_CriticalityDiagnostics_1[] = {
13         { ATF_POINTER, 5, offsetof(struct CriticalityDiagnostics, procedureCode),
14                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
15                 -1,     /* IMPLICIT tag at current level */
16                 &asn_DEF_ProcedureCode,
17                 0,
18                 {
19 #if !defined(ASN_DISABLE_OER_SUPPORT)
20                         0,
21 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
22 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
23                         0,
24 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
25                         0
26                 },
27                 0, 0, /* No default value */
28                 "procedureCode"
29                 },
30         { ATF_POINTER, 4, offsetof(struct CriticalityDiagnostics, triggeringMessage),
31                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_TriggeringMessage,
34                 0,
35                 {
36 #if !defined(ASN_DISABLE_OER_SUPPORT)
37                         0,
38 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
39 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
40                         0,
41 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
42                         0
43                 },
44                 0, 0, /* No default value */
45                 "triggeringMessage"
46                 },
47         { ATF_POINTER, 3, offsetof(struct CriticalityDiagnostics, procedureCriticality),
48                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
49                 -1,     /* IMPLICIT tag at current level */
50                 &asn_DEF_Criticality,
51                 0,
52                 {
53 #if !defined(ASN_DISABLE_OER_SUPPORT)
54                         0,
55 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
56 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
57                         0,
58 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
59                         0
60                 },
61                 0, 0, /* No default value */
62                 "procedureCriticality"
63                 },
64         { ATF_POINTER, 2, offsetof(struct CriticalityDiagnostics, ricRequestorID),
65                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
66                 -1,     /* IMPLICIT tag at current level */
67                 &asn_DEF_RICrequestID,
68                 0,
69                 {
70 #if !defined(ASN_DISABLE_OER_SUPPORT)
71                         0,
72 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
73 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
74                         0,
75 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
76                         0
77                 },
78                 0, 0, /* No default value */
79                 "ricRequestorID"
80                 },
81         { ATF_POINTER, 1, offsetof(struct CriticalityDiagnostics, iEsCriticalityDiagnostics),
82                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
83                 -1,     /* IMPLICIT tag at current level */
84                 &asn_DEF_CriticalityDiagnostics_IE_List,
85                 0,
86                 {
87 #if !defined(ASN_DISABLE_OER_SUPPORT)
88                         0,
89 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
90 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
91                         0,
92 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
93                         0
94                 },
95                 0, 0, /* No default value */
96                 "iEsCriticalityDiagnostics"
97                 },
98 };
99 static const int asn_MAP_CriticalityDiagnostics_oms_1[] = { 0, 1, 2, 3, 4 };
100 static const ber_tlv_tag_t asn_DEF_CriticalityDiagnostics_tags_1[] = {
101         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
102 };
103 static const asn_TYPE_tag2member_t asn_MAP_CriticalityDiagnostics_tag2el_1[] = {
104     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
105     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* triggeringMessage */
106     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* procedureCriticality */
107     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* ricRequestorID */
108     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iEsCriticalityDiagnostics */
109 };
110 asn_SEQUENCE_specifics_t asn_SPC_CriticalityDiagnostics_specs_1 = {
111         sizeof(struct CriticalityDiagnostics),
112         offsetof(struct CriticalityDiagnostics, _asn_ctx),
113         asn_MAP_CriticalityDiagnostics_tag2el_1,
114         5,      /* Count of tags in the map */
115         asn_MAP_CriticalityDiagnostics_oms_1,   /* Optional members */
116         5, 0,   /* Root/Additions */
117         5,      /* First extension addition */
118 };
119 asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics = {
120         "CriticalityDiagnostics",
121         "CriticalityDiagnostics",
122         &asn_OP_SEQUENCE,
123         asn_DEF_CriticalityDiagnostics_tags_1,
124         sizeof(asn_DEF_CriticalityDiagnostics_tags_1)
125                 /sizeof(asn_DEF_CriticalityDiagnostics_tags_1[0]), /* 1 */
126         asn_DEF_CriticalityDiagnostics_tags_1,  /* Same as above */
127         sizeof(asn_DEF_CriticalityDiagnostics_tags_1)
128                 /sizeof(asn_DEF_CriticalityDiagnostics_tags_1[0]), /* 1 */
129         {
130 #if !defined(ASN_DISABLE_OER_SUPPORT)
131                 0,
132 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
133 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
134                 0,
135 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
136                 SEQUENCE_constraint
137         },
138         asn_MBR_CriticalityDiagnostics_1,
139         5,      /* Elements count */
140         &asn_SPC_CriticalityDiagnostics_specs_1 /* Additional specs */
141 };
142