blob: 537910879c751a679fadfd59891c8ae8d3930893 [file] [log] [blame]
Lev Walkin8aed40c2017-07-26 18:50:04 -07001
2/*** <<< INCLUDES [A-noc] >>> ***/
3
4#include <NativeInteger.h>
5
6/*** <<< TYPE-DECLS [A-noc] >>> ***/
7
8typedef long A_noc_t;
9
10/*** <<< FUNC-DECLS [A-noc] >>> ***/
11
12extern asn_TYPE_descriptor_t asn_DEF_A_noc;
13asn_struct_free_f A_noc_free;
14asn_struct_print_f A_noc_print;
15asn_constr_check_f A_noc_constraint;
16ber_type_decoder_f A_noc_decode_ber;
17der_type_encoder_f A_noc_encode_der;
18xer_type_decoder_f A_noc_decode_xer;
19xer_type_encoder_f A_noc_encode_xer;
20oer_type_decoder_f A_noc_decode_oer;
21oer_type_encoder_f A_noc_encode_oer;
22
23/*** <<< CODE [A-noc] >>> ***/
24
Lev Walkin8aed40c2017-07-26 18:50:04 -070025/*
26 * This type is implemented using NativeInteger,
27 * so here we adjust the DEF accordingly.
28 */
Lev Walkin8aed40c2017-07-26 18:50:04 -070029
30/*** <<< STAT-DEFS [A-noc] >>> ***/
31
32static const ber_tlv_tag_t asn_DEF_A_noc_tags_1[] = {
33 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
34};
35asn_TYPE_descriptor_t asn_DEF_A_noc = {
36 "A-noc",
37 "A-noc",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +080038 &asn_OP_NativeInteger,
Lev Walkin8aed40c2017-07-26 18:50:04 -070039 asn_DEF_A_noc_tags_1,
40 sizeof(asn_DEF_A_noc_tags_1)
41 /sizeof(asn_DEF_A_noc_tags_1[0]), /* 1 */
42 asn_DEF_A_noc_tags_1, /* Same as above */
43 sizeof(asn_DEF_A_noc_tags_1)
44 /sizeof(asn_DEF_A_noc_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -070045 { 0, 0, NativeInteger_constraint },
Lev Walkin8aed40c2017-07-26 18:50:04 -070046 0, 0, /* No members */
47 0 /* No specifics */
48};
49
50
Lev Walkin5861e8a2017-07-31 20:27:05 -070051/*** <<< INCLUDES [B-0-0] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -070052
53#include <NativeInteger.h>
54
Lev Walkin5861e8a2017-07-31 20:27:05 -070055/*** <<< TYPE-DECLS [B-0-0] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -070056
Lev Walkin5861e8a2017-07-31 20:27:05 -070057typedef long B_0_0_t;
Lev Walkin8aed40c2017-07-26 18:50:04 -070058
Lev Walkin5861e8a2017-07-31 20:27:05 -070059/*** <<< FUNC-DECLS [B-0-0] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -070060
Lev Walkin5861e8a2017-07-31 20:27:05 -070061extern asn_TYPE_descriptor_t asn_DEF_B_0_0;
62asn_struct_free_f B_0_0_free;
63asn_struct_print_f B_0_0_print;
64asn_constr_check_f B_0_0_constraint;
65ber_type_decoder_f B_0_0_decode_ber;
66der_type_encoder_f B_0_0_encode_der;
67xer_type_decoder_f B_0_0_decode_xer;
68xer_type_encoder_f B_0_0_encode_xer;
69oer_type_decoder_f B_0_0_decode_oer;
70oer_type_encoder_f B_0_0_encode_oer;
Lev Walkin8aed40c2017-07-26 18:50:04 -070071
Lev Walkin5861e8a2017-07-31 20:27:05 -070072/*** <<< CODE [B-0-0] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -070073
74int
Lev Walkin20696a42017-10-17 21:27:33 -070075B_0_0_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin8aed40c2017-07-26 18:50:04 -070076 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
77 long value;
78
79 if(!sptr) {
80 ASN__CTFAIL(app_key, td, sptr,
81 "%s: value not given (%s:%d)",
82 td->name, __FILE__, __LINE__);
83 return -1;
84 }
85
86 value = *(const long *)sptr;
87
88 if((value == 0)) {
89 /* Constraint check succeeded */
90 return 0;
91 } else {
92 ASN__CTFAIL(app_key, td, sptr,
93 "%s: constraint failed (%s:%d)",
94 td->name, __FILE__, __LINE__);
95 return -1;
96 }
97}
98
99/*
100 * This type is implemented using NativeInteger,
101 * so here we adjust the DEF accordingly.
102 */
Lev Walkin8aed40c2017-07-26 18:50:04 -0700103
Lev Walkin5861e8a2017-07-31 20:27:05 -0700104/*** <<< CTDEFS [B-0-0] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700105
Lev Walkin0479e042017-09-26 18:39:58 -0700106static asn_oer_constraints_t asn_OER_type_B_0_0_constr_1 CC_NOTUSED = {
Lev Walkin8041fe82017-08-02 10:39:01 -0700107 { 1, 1 } /* (0..0) */,
108 -1};
Lev Walkin8aed40c2017-07-26 18:50:04 -0700109
Lev Walkin5861e8a2017-07-31 20:27:05 -0700110/*** <<< STAT-DEFS [B-0-0] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700111
Lev Walkin5861e8a2017-07-31 20:27:05 -0700112static const ber_tlv_tag_t asn_DEF_B_0_0_tags_1[] = {
Lev Walkin8aed40c2017-07-26 18:50:04 -0700113 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
114};
Lev Walkin5861e8a2017-07-31 20:27:05 -0700115asn_TYPE_descriptor_t asn_DEF_B_0_0 = {
116 "B-0-0",
117 "B-0-0",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800118 &asn_OP_NativeInteger,
Lev Walkin5861e8a2017-07-31 20:27:05 -0700119 asn_DEF_B_0_0_tags_1,
120 sizeof(asn_DEF_B_0_0_tags_1)
121 /sizeof(asn_DEF_B_0_0_tags_1[0]), /* 1 */
122 asn_DEF_B_0_0_tags_1, /* Same as above */
123 sizeof(asn_DEF_B_0_0_tags_1)
124 /sizeof(asn_DEF_B_0_0_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700125 { &asn_OER_type_B_0_0_constr_1, 0, B_0_0_constraint },
Lev Walkin8aed40c2017-07-26 18:50:04 -0700126 0, 0, /* No members */
127 0 /* No specifics */
128};
129
130
Lev Walkin5861e8a2017-07-31 20:27:05 -0700131/*** <<< INCLUDES [C-1-2] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700132
133#include <NativeInteger.h>
134
Lev Walkin5861e8a2017-07-31 20:27:05 -0700135/*** <<< TYPE-DECLS [C-1-2] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700136
Lev Walkin5861e8a2017-07-31 20:27:05 -0700137typedef long C_1_2_t;
Lev Walkin8aed40c2017-07-26 18:50:04 -0700138
Lev Walkin5861e8a2017-07-31 20:27:05 -0700139/*** <<< FUNC-DECLS [C-1-2] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700140
Lev Walkin5861e8a2017-07-31 20:27:05 -0700141extern asn_TYPE_descriptor_t asn_DEF_C_1_2;
142asn_struct_free_f C_1_2_free;
143asn_struct_print_f C_1_2_print;
144asn_constr_check_f C_1_2_constraint;
145ber_type_decoder_f C_1_2_decode_ber;
146der_type_encoder_f C_1_2_encode_der;
147xer_type_decoder_f C_1_2_decode_xer;
148xer_type_encoder_f C_1_2_encode_xer;
149oer_type_decoder_f C_1_2_decode_oer;
150oer_type_encoder_f C_1_2_encode_oer;
Lev Walkin8aed40c2017-07-26 18:50:04 -0700151
Lev Walkin5861e8a2017-07-31 20:27:05 -0700152/*** <<< CODE [C-1-2] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700153
154int
Lev Walkin20696a42017-10-17 21:27:33 -0700155C_1_2_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin8aed40c2017-07-26 18:50:04 -0700156 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
157 long value;
158
159 if(!sptr) {
160 ASN__CTFAIL(app_key, td, sptr,
161 "%s: value not given (%s:%d)",
162 td->name, __FILE__, __LINE__);
163 return -1;
164 }
165
166 value = *(const long *)sptr;
167
Lev Walkin5861e8a2017-07-31 20:27:05 -0700168 if((value >= 1 && value <= 2)) {
Lev Walkin8aed40c2017-07-26 18:50:04 -0700169 /* Constraint check succeeded */
170 return 0;
171 } else {
172 ASN__CTFAIL(app_key, td, sptr,
173 "%s: constraint failed (%s:%d)",
174 td->name, __FILE__, __LINE__);
175 return -1;
176 }
177}
178
179/*
180 * This type is implemented using NativeInteger,
181 * so here we adjust the DEF accordingly.
182 */
Lev Walkin8aed40c2017-07-26 18:50:04 -0700183
Lev Walkin5861e8a2017-07-31 20:27:05 -0700184/*** <<< CTDEFS [C-1-2] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700185
Lev Walkin0479e042017-09-26 18:39:58 -0700186static asn_oer_constraints_t asn_OER_type_C_1_2_constr_1 CC_NOTUSED = {
Lev Walkin8041fe82017-08-02 10:39:01 -0700187 { 1, 1 } /* (1..2) */,
188 -1};
Lev Walkin8aed40c2017-07-26 18:50:04 -0700189
Lev Walkin5861e8a2017-07-31 20:27:05 -0700190/*** <<< STAT-DEFS [C-1-2] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700191
Lev Walkin5861e8a2017-07-31 20:27:05 -0700192static const ber_tlv_tag_t asn_DEF_C_1_2_tags_1[] = {
Lev Walkin8aed40c2017-07-26 18:50:04 -0700193 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
194};
Lev Walkin5861e8a2017-07-31 20:27:05 -0700195asn_TYPE_descriptor_t asn_DEF_C_1_2 = {
196 "C-1-2",
197 "C-1-2",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800198 &asn_OP_NativeInteger,
Lev Walkin5861e8a2017-07-31 20:27:05 -0700199 asn_DEF_C_1_2_tags_1,
200 sizeof(asn_DEF_C_1_2_tags_1)
201 /sizeof(asn_DEF_C_1_2_tags_1[0]), /* 1 */
202 asn_DEF_C_1_2_tags_1, /* Same as above */
203 sizeof(asn_DEF_C_1_2_tags_1)
204 /sizeof(asn_DEF_C_1_2_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700205 { &asn_OER_type_C_1_2_constr_1, 0, C_1_2_constraint },
Lev Walkin8aed40c2017-07-26 18:50:04 -0700206 0, 0, /* No members */
207 0 /* No specifics */
208};
209
210
211/*** <<< INCLUDES [D-inv] >>> ***/
212
213#include <NativeInteger.h>
214
215/*** <<< TYPE-DECLS [D-inv] >>> ***/
216
217typedef long D_inv_t;
218
219/*** <<< FUNC-DECLS [D-inv] >>> ***/
220
221extern asn_TYPE_descriptor_t asn_DEF_D_inv;
222asn_struct_free_f D_inv_free;
223asn_struct_print_f D_inv_print;
224asn_constr_check_f D_inv_constraint;
225ber_type_decoder_f D_inv_decode_ber;
226der_type_encoder_f D_inv_encode_der;
227xer_type_decoder_f D_inv_decode_xer;
228xer_type_encoder_f D_inv_encode_xer;
229oer_type_decoder_f D_inv_decode_oer;
230oer_type_encoder_f D_inv_encode_oer;
231
232/*** <<< CODE [D-inv] >>> ***/
233
234int
Lev Walkin20696a42017-10-17 21:27:33 -0700235D_inv_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin8aed40c2017-07-26 18:50:04 -0700236 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
237 long value;
238
239 if(!sptr) {
240 ASN__CTFAIL(app_key, td, sptr,
241 "%s: value not given (%s:%d)",
242 td->name, __FILE__, __LINE__);
243 return -1;
244 }
245
246 value = *(const long *)sptr;
247
248 if((value >= 0 && value <= 10)) {
249 /* Constraint check succeeded */
250 return 0;
251 } else {
252 ASN__CTFAIL(app_key, td, sptr,
253 "%s: constraint failed (%s:%d)",
254 td->name, __FILE__, __LINE__);
255 return -1;
256 }
257}
258
259/*
260 * This type is implemented using NativeInteger,
261 * so here we adjust the DEF accordingly.
262 */
Lev Walkin8aed40c2017-07-26 18:50:04 -0700263
264/*** <<< CTDEFS [D-inv] >>> ***/
265
Lev Walkin0479e042017-09-26 18:39:58 -0700266static asn_oer_constraints_t asn_OER_type_D_inv_constr_1 CC_NOTUSED = {
Lev Walkin8041fe82017-08-02 10:39:01 -0700267 { 0, 0 },
268 -1};
Lev Walkin8aed40c2017-07-26 18:50:04 -0700269
270/*** <<< STAT-DEFS [D-inv] >>> ***/
271
272static const ber_tlv_tag_t asn_DEF_D_inv_tags_1[] = {
273 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
274};
275asn_TYPE_descriptor_t asn_DEF_D_inv = {
276 "D-inv",
277 "D-inv",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800278 &asn_OP_NativeInteger,
Lev Walkin8aed40c2017-07-26 18:50:04 -0700279 asn_DEF_D_inv_tags_1,
280 sizeof(asn_DEF_D_inv_tags_1)
281 /sizeof(asn_DEF_D_inv_tags_1[0]), /* 1 */
282 asn_DEF_D_inv_tags_1, /* Same as above */
283 sizeof(asn_DEF_D_inv_tags_1)
284 /sizeof(asn_DEF_D_inv_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700285 { &asn_OER_type_D_inv_constr_1, 0, D_inv_constraint },
Lev Walkin8aed40c2017-07-26 18:50:04 -0700286 0, 0, /* No members */
287 0 /* No specifics */
288};
289
290
Lev Walkin5861e8a2017-07-31 20:27:05 -0700291/*** <<< INCLUDES [E-2-5] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700292
293#include <NativeInteger.h>
294
Lev Walkin5861e8a2017-07-31 20:27:05 -0700295/*** <<< TYPE-DECLS [E-2-5] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700296
Lev Walkin5861e8a2017-07-31 20:27:05 -0700297typedef long E_2_5_t;
Lev Walkin8aed40c2017-07-26 18:50:04 -0700298
Lev Walkin5861e8a2017-07-31 20:27:05 -0700299/*** <<< FUNC-DECLS [E-2-5] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700300
Lev Walkin5861e8a2017-07-31 20:27:05 -0700301extern asn_TYPE_descriptor_t asn_DEF_E_2_5;
302asn_struct_free_f E_2_5_free;
303asn_struct_print_f E_2_5_print;
304asn_constr_check_f E_2_5_constraint;
305ber_type_decoder_f E_2_5_decode_ber;
306der_type_encoder_f E_2_5_encode_der;
307xer_type_decoder_f E_2_5_decode_xer;
308xer_type_encoder_f E_2_5_encode_xer;
309oer_type_decoder_f E_2_5_decode_oer;
310oer_type_encoder_f E_2_5_encode_oer;
Lev Walkin8aed40c2017-07-26 18:50:04 -0700311
Lev Walkin5861e8a2017-07-31 20:27:05 -0700312/*** <<< CODE [E-2-5] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700313
314int
Lev Walkin20696a42017-10-17 21:27:33 -0700315E_2_5_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin8aed40c2017-07-26 18:50:04 -0700316 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
317 long value;
318
319 if(!sptr) {
320 ASN__CTFAIL(app_key, td, sptr,
321 "%s: value not given (%s:%d)",
322 td->name, __FILE__, __LINE__);
323 return -1;
324 }
325
326 value = *(const long *)sptr;
327
328 if((value >= 2 && value <= 5)) {
329 /* Constraint check succeeded */
330 return 0;
331 } else {
332 ASN__CTFAIL(app_key, td, sptr,
333 "%s: constraint failed (%s:%d)",
334 td->name, __FILE__, __LINE__);
335 return -1;
336 }
337}
338
339/*
340 * This type is implemented using NativeInteger,
341 * so here we adjust the DEF accordingly.
342 */
Lev Walkin8aed40c2017-07-26 18:50:04 -0700343
Lev Walkin5861e8a2017-07-31 20:27:05 -0700344/*** <<< CTDEFS [E-2-5] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700345
Lev Walkin0479e042017-09-26 18:39:58 -0700346static asn_oer_constraints_t asn_OER_type_E_2_5_constr_1 CC_NOTUSED = {
Lev Walkin8041fe82017-08-02 10:39:01 -0700347 { 1, 1 } /* (2..5) */,
348 -1};
Lev Walkin8aed40c2017-07-26 18:50:04 -0700349
Lev Walkin5861e8a2017-07-31 20:27:05 -0700350/*** <<< STAT-DEFS [E-2-5] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700351
Lev Walkin5861e8a2017-07-31 20:27:05 -0700352static const ber_tlv_tag_t asn_DEF_E_2_5_tags_1[] = {
Lev Walkin8aed40c2017-07-26 18:50:04 -0700353 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
354};
Lev Walkin5861e8a2017-07-31 20:27:05 -0700355asn_TYPE_descriptor_t asn_DEF_E_2_5 = {
356 "E-2-5",
357 "E-2-5",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800358 &asn_OP_NativeInteger,
Lev Walkin5861e8a2017-07-31 20:27:05 -0700359 asn_DEF_E_2_5_tags_1,
360 sizeof(asn_DEF_E_2_5_tags_1)
361 /sizeof(asn_DEF_E_2_5_tags_1[0]), /* 1 */
362 asn_DEF_E_2_5_tags_1, /* Same as above */
363 sizeof(asn_DEF_E_2_5_tags_1)
364 /sizeof(asn_DEF_E_2_5_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700365 { &asn_OER_type_E_2_5_constr_1, 0, E_2_5_constraint },
Lev Walkin8aed40c2017-07-26 18:50:04 -0700366 0, 0, /* No members */
367 0 /* No specifics */
368};
369
370
371/*** <<< INCLUDES [F-inv] >>> ***/
372
373#include <NativeInteger.h>
374
375/*** <<< TYPE-DECLS [F-inv] >>> ***/
376
377typedef long F_inv_t;
378
379/*** <<< FUNC-DECLS [F-inv] >>> ***/
380
381extern asn_TYPE_descriptor_t asn_DEF_F_inv;
382asn_struct_free_f F_inv_free;
383asn_struct_print_f F_inv_print;
384asn_constr_check_f F_inv_constraint;
385ber_type_decoder_f F_inv_decode_ber;
386der_type_encoder_f F_inv_encode_der;
387xer_type_decoder_f F_inv_decode_xer;
388xer_type_encoder_f F_inv_encode_xer;
389oer_type_decoder_f F_inv_decode_oer;
390oer_type_encoder_f F_inv_encode_oer;
391
392/*** <<< CODE [F-inv] >>> ***/
393
394int
Lev Walkin20696a42017-10-17 21:27:33 -0700395F_inv_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin8aed40c2017-07-26 18:50:04 -0700396 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
397 long value;
398
399 if(!sptr) {
400 ASN__CTFAIL(app_key, td, sptr,
401 "%s: value not given (%s:%d)",
402 td->name, __FILE__, __LINE__);
403 return -1;
404 }
405
406 value = *(const long *)sptr;
407
408 if((value >= 2 && value <= 5)) {
409 /* Constraint check succeeded */
410 return 0;
411 } else {
412 ASN__CTFAIL(app_key, td, sptr,
413 "%s: constraint failed (%s:%d)",
414 td->name, __FILE__, __LINE__);
415 return -1;
416 }
417}
418
419/*
420 * This type is implemented using NativeInteger,
421 * so here we adjust the DEF accordingly.
422 */
Lev Walkin8aed40c2017-07-26 18:50:04 -0700423
424/*** <<< CTDEFS [F-inv] >>> ***/
425
Lev Walkin0479e042017-09-26 18:39:58 -0700426static asn_oer_constraints_t asn_OER_type_F_inv_constr_1 CC_NOTUSED = {
Lev Walkin8041fe82017-08-02 10:39:01 -0700427 { 1, 1 } /* (0..10) */,
428 -1};
Lev Walkin8aed40c2017-07-26 18:50:04 -0700429
430/*** <<< STAT-DEFS [F-inv] >>> ***/
431
432static const ber_tlv_tag_t asn_DEF_F_inv_tags_1[] = {
433 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
434};
435asn_TYPE_descriptor_t asn_DEF_F_inv = {
436 "F-inv",
437 "F-inv",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800438 &asn_OP_NativeInteger,
Lev Walkin8aed40c2017-07-26 18:50:04 -0700439 asn_DEF_F_inv_tags_1,
440 sizeof(asn_DEF_F_inv_tags_1)
441 /sizeof(asn_DEF_F_inv_tags_1[0]), /* 1 */
442 asn_DEF_F_inv_tags_1, /* Same as above */
443 sizeof(asn_DEF_F_inv_tags_1)
444 /sizeof(asn_DEF_F_inv_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700445 { &asn_OER_type_F_inv_constr_1, 0, F_inv_constraint },
Lev Walkin8aed40c2017-07-26 18:50:04 -0700446 0, 0, /* No members */
447 0 /* No specifics */
448};
449
450
Lev Walkin5861e8a2017-07-31 20:27:05 -0700451/*** <<< INCLUDES [G-3-3] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700452
453#include <NativeInteger.h>
454
Lev Walkin5861e8a2017-07-31 20:27:05 -0700455/*** <<< TYPE-DECLS [G-3-3] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700456
Lev Walkin5861e8a2017-07-31 20:27:05 -0700457typedef long G_3_3_t;
Lev Walkin8aed40c2017-07-26 18:50:04 -0700458
Lev Walkin5861e8a2017-07-31 20:27:05 -0700459/*** <<< FUNC-DECLS [G-3-3] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700460
Lev Walkin5861e8a2017-07-31 20:27:05 -0700461extern asn_TYPE_descriptor_t asn_DEF_G_3_3;
462asn_struct_free_f G_3_3_free;
463asn_struct_print_f G_3_3_print;
464asn_constr_check_f G_3_3_constraint;
465ber_type_decoder_f G_3_3_decode_ber;
466der_type_encoder_f G_3_3_encode_der;
467xer_type_decoder_f G_3_3_decode_xer;
468xer_type_encoder_f G_3_3_encode_xer;
469oer_type_decoder_f G_3_3_decode_oer;
470oer_type_encoder_f G_3_3_encode_oer;
Lev Walkin8aed40c2017-07-26 18:50:04 -0700471
Lev Walkin5861e8a2017-07-31 20:27:05 -0700472/*** <<< CODE [G-3-3] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700473
474int
Lev Walkin20696a42017-10-17 21:27:33 -0700475G_3_3_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin8aed40c2017-07-26 18:50:04 -0700476 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
477 long value;
478
479 if(!sptr) {
480 ASN__CTFAIL(app_key, td, sptr,
481 "%s: value not given (%s:%d)",
482 td->name, __FILE__, __LINE__);
483 return -1;
484 }
485
486 value = *(const long *)sptr;
487
488 if((value == 3)) {
489 /* Constraint check succeeded */
490 return 0;
491 } else {
492 ASN__CTFAIL(app_key, td, sptr,
493 "%s: constraint failed (%s:%d)",
494 td->name, __FILE__, __LINE__);
495 return -1;
496 }
497}
498
499/*
500 * This type is implemented using NativeInteger,
501 * so here we adjust the DEF accordingly.
502 */
Lev Walkin8aed40c2017-07-26 18:50:04 -0700503
Lev Walkin5861e8a2017-07-31 20:27:05 -0700504/*** <<< CTDEFS [G-3-3] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700505
Lev Walkin0479e042017-09-26 18:39:58 -0700506static asn_oer_constraints_t asn_OER_type_G_3_3_constr_1 CC_NOTUSED = {
Lev Walkin8041fe82017-08-02 10:39:01 -0700507 { 1, 1 } /* (3..3) */,
508 -1};
Lev Walkin8aed40c2017-07-26 18:50:04 -0700509
Lev Walkin5861e8a2017-07-31 20:27:05 -0700510/*** <<< STAT-DEFS [G-3-3] >>> ***/
Lev Walkin8aed40c2017-07-26 18:50:04 -0700511
Lev Walkin5861e8a2017-07-31 20:27:05 -0700512static const ber_tlv_tag_t asn_DEF_G_3_3_tags_1[] = {
Lev Walkin8aed40c2017-07-26 18:50:04 -0700513 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
514};
Lev Walkin5861e8a2017-07-31 20:27:05 -0700515asn_TYPE_descriptor_t asn_DEF_G_3_3 = {
516 "G-3-3",
517 "G-3-3",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800518 &asn_OP_NativeInteger,
Lev Walkin5861e8a2017-07-31 20:27:05 -0700519 asn_DEF_G_3_3_tags_1,
520 sizeof(asn_DEF_G_3_3_tags_1)
521 /sizeof(asn_DEF_G_3_3_tags_1[0]), /* 1 */
522 asn_DEF_G_3_3_tags_1, /* Same as above */
523 sizeof(asn_DEF_G_3_3_tags_1)
524 /sizeof(asn_DEF_G_3_3_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700525 { &asn_OER_type_G_3_3_constr_1, 0, G_3_3_constraint },
Lev Walkin5861e8a2017-07-31 20:27:05 -0700526 0, 0, /* No members */
527 0 /* No specifics */
528};
529
530
531/*** <<< INCLUDES [H-4-5] >>> ***/
532
533#include <NativeInteger.h>
534
535/*** <<< TYPE-DECLS [H-4-5] >>> ***/
536
537typedef long H_4_5_t;
538
539/*** <<< FUNC-DECLS [H-4-5] >>> ***/
540
541extern asn_TYPE_descriptor_t asn_DEF_H_4_5;
542asn_struct_free_f H_4_5_free;
543asn_struct_print_f H_4_5_print;
544asn_constr_check_f H_4_5_constraint;
545ber_type_decoder_f H_4_5_decode_ber;
546der_type_encoder_f H_4_5_encode_der;
547xer_type_decoder_f H_4_5_decode_xer;
548xer_type_encoder_f H_4_5_encode_xer;
549oer_type_decoder_f H_4_5_decode_oer;
550oer_type_encoder_f H_4_5_encode_oer;
551
552/*** <<< CODE [H-4-5] >>> ***/
553
554int
Lev Walkin20696a42017-10-17 21:27:33 -0700555H_4_5_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin5861e8a2017-07-31 20:27:05 -0700556 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
557 long value;
558
559 if(!sptr) {
560 ASN__CTFAIL(app_key, td, sptr,
561 "%s: value not given (%s:%d)",
562 td->name, __FILE__, __LINE__);
563 return -1;
564 }
565
566 value = *(const long *)sptr;
567
568 if((value >= 4 && value <= 5)) {
569 /* Constraint check succeeded */
570 return 0;
571 } else {
572 ASN__CTFAIL(app_key, td, sptr,
573 "%s: constraint failed (%s:%d)",
574 td->name, __FILE__, __LINE__);
575 return -1;
576 }
577}
578
579/*
580 * This type is implemented using NativeInteger,
581 * so here we adjust the DEF accordingly.
582 */
Lev Walkin5861e8a2017-07-31 20:27:05 -0700583
584/*** <<< CTDEFS [H-4-5] >>> ***/
585
Lev Walkin0479e042017-09-26 18:39:58 -0700586static asn_oer_constraints_t asn_OER_type_H_4_5_constr_1 CC_NOTUSED = {
Lev Walkin8041fe82017-08-02 10:39:01 -0700587 { 1, 1 } /* (4..5) */,
588 -1};
Lev Walkin5861e8a2017-07-31 20:27:05 -0700589
590/*** <<< STAT-DEFS [H-4-5] >>> ***/
591
592static const ber_tlv_tag_t asn_DEF_H_4_5_tags_1[] = {
593 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
594};
595asn_TYPE_descriptor_t asn_DEF_H_4_5 = {
596 "H-4-5",
597 "H-4-5",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800598 &asn_OP_NativeInteger,
Lev Walkin5861e8a2017-07-31 20:27:05 -0700599 asn_DEF_H_4_5_tags_1,
600 sizeof(asn_DEF_H_4_5_tags_1)
601 /sizeof(asn_DEF_H_4_5_tags_1[0]), /* 1 */
602 asn_DEF_H_4_5_tags_1, /* Same as above */
603 sizeof(asn_DEF_H_4_5_tags_1)
604 /sizeof(asn_DEF_H_4_5_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700605 { &asn_OER_type_H_4_5_constr_1, 0, H_4_5_constraint },
Lev Walkin5861e8a2017-07-31 20:27:05 -0700606 0, 0, /* No members */
607 0 /* No specifics */
608};
609
610
Lev Walkin0c686452017-09-07 22:59:36 -0700611/*** <<< INCLUDES [I-1-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700612
613#include <NativeInteger.h>
614
Lev Walkin0c686452017-09-07 22:59:36 -0700615/*** <<< TYPE-DECLS [I-1-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700616
Lev Walkin0c686452017-09-07 22:59:36 -0700617typedef long I_1_5_t;
Lev Walkin5861e8a2017-07-31 20:27:05 -0700618
Lev Walkin0c686452017-09-07 22:59:36 -0700619/*** <<< FUNC-DECLS [I-1-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700620
Lev Walkin0c686452017-09-07 22:59:36 -0700621extern asn_TYPE_descriptor_t asn_DEF_I_1_5;
622asn_struct_free_f I_1_5_free;
623asn_struct_print_f I_1_5_print;
624asn_constr_check_f I_1_5_constraint;
625ber_type_decoder_f I_1_5_decode_ber;
626der_type_encoder_f I_1_5_encode_der;
627xer_type_decoder_f I_1_5_decode_xer;
628xer_type_encoder_f I_1_5_encode_xer;
629oer_type_decoder_f I_1_5_decode_oer;
630oer_type_encoder_f I_1_5_encode_oer;
Lev Walkin5861e8a2017-07-31 20:27:05 -0700631
Lev Walkin0c686452017-09-07 22:59:36 -0700632/*** <<< CODE [I-1-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700633
634int
Lev Walkin20696a42017-10-17 21:27:33 -0700635I_1_5_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin5861e8a2017-07-31 20:27:05 -0700636 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
637 long value;
638
639 if(!sptr) {
640 ASN__CTFAIL(app_key, td, sptr,
641 "%s: value not given (%s:%d)",
642 td->name, __FILE__, __LINE__);
643 return -1;
644 }
645
646 value = *(const long *)sptr;
647
Lev Walkin0c686452017-09-07 22:59:36 -0700648 if((value >= 1 && value <= 5)) {
Lev Walkin5861e8a2017-07-31 20:27:05 -0700649 /* Constraint check succeeded */
650 return 0;
651 } else {
652 ASN__CTFAIL(app_key, td, sptr,
653 "%s: constraint failed (%s:%d)",
654 td->name, __FILE__, __LINE__);
655 return -1;
656 }
657}
658
659/*
660 * This type is implemented using NativeInteger,
661 * so here we adjust the DEF accordingly.
662 */
Lev Walkin5861e8a2017-07-31 20:27:05 -0700663
Lev Walkin0c686452017-09-07 22:59:36 -0700664/*** <<< CTDEFS [I-1-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700665
Lev Walkin0479e042017-09-26 18:39:58 -0700666static asn_oer_constraints_t asn_OER_type_I_1_5_constr_1 CC_NOTUSED = {
Lev Walkin0c686452017-09-07 22:59:36 -0700667 { 1, 1 } /* (1..5) */,
Lev Walkin8041fe82017-08-02 10:39:01 -0700668 -1};
Lev Walkin5861e8a2017-07-31 20:27:05 -0700669
Lev Walkin0c686452017-09-07 22:59:36 -0700670/*** <<< STAT-DEFS [I-1-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700671
Lev Walkin0c686452017-09-07 22:59:36 -0700672static const ber_tlv_tag_t asn_DEF_I_1_5_tags_1[] = {
Lev Walkin5861e8a2017-07-31 20:27:05 -0700673 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
674};
Lev Walkin0c686452017-09-07 22:59:36 -0700675asn_TYPE_descriptor_t asn_DEF_I_1_5 = {
676 "I-1-5",
677 "I-1-5",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800678 &asn_OP_NativeInteger,
Lev Walkin0c686452017-09-07 22:59:36 -0700679 asn_DEF_I_1_5_tags_1,
680 sizeof(asn_DEF_I_1_5_tags_1)
681 /sizeof(asn_DEF_I_1_5_tags_1[0]), /* 1 */
682 asn_DEF_I_1_5_tags_1, /* Same as above */
683 sizeof(asn_DEF_I_1_5_tags_1)
684 /sizeof(asn_DEF_I_1_5_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700685 { &asn_OER_type_I_1_5_constr_1, 0, I_1_5_constraint },
Lev Walkin5861e8a2017-07-31 20:27:05 -0700686 0, 0, /* No members */
687 0 /* No specifics */
688};
689
690
Lev Walkin0c686452017-09-07 22:59:36 -0700691/*** <<< INCLUDES [J-4-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700692
693#include <NativeInteger.h>
694
Lev Walkin0c686452017-09-07 22:59:36 -0700695/*** <<< TYPE-DECLS [J-4-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700696
Lev Walkin0c686452017-09-07 22:59:36 -0700697typedef long J_4_5_t;
Lev Walkin5861e8a2017-07-31 20:27:05 -0700698
Lev Walkin0c686452017-09-07 22:59:36 -0700699/*** <<< FUNC-DECLS [J-4-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700700
Lev Walkin0c686452017-09-07 22:59:36 -0700701extern asn_TYPE_descriptor_t asn_DEF_J_4_5;
702asn_struct_free_f J_4_5_free;
703asn_struct_print_f J_4_5_print;
704asn_constr_check_f J_4_5_constraint;
705ber_type_decoder_f J_4_5_decode_ber;
706der_type_encoder_f J_4_5_encode_der;
707xer_type_decoder_f J_4_5_decode_xer;
708xer_type_encoder_f J_4_5_encode_xer;
709oer_type_decoder_f J_4_5_decode_oer;
710oer_type_encoder_f J_4_5_encode_oer;
Lev Walkin5861e8a2017-07-31 20:27:05 -0700711
Lev Walkin0c686452017-09-07 22:59:36 -0700712/*** <<< CODE [J-4-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700713
714int
Lev Walkin20696a42017-10-17 21:27:33 -0700715J_4_5_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin5861e8a2017-07-31 20:27:05 -0700716 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
717 long value;
718
719 if(!sptr) {
720 ASN__CTFAIL(app_key, td, sptr,
721 "%s: value not given (%s:%d)",
722 td->name, __FILE__, __LINE__);
723 return -1;
724 }
725
726 value = *(const long *)sptr;
727
728 if((value >= 4 && value <= 5)) {
729 /* Constraint check succeeded */
730 return 0;
731 } else {
732 ASN__CTFAIL(app_key, td, sptr,
733 "%s: constraint failed (%s:%d)",
734 td->name, __FILE__, __LINE__);
735 return -1;
736 }
737}
738
739/*
740 * This type is implemented using NativeInteger,
741 * so here we adjust the DEF accordingly.
742 */
Lev Walkin5861e8a2017-07-31 20:27:05 -0700743
Lev Walkin0c686452017-09-07 22:59:36 -0700744/*** <<< CTDEFS [J-4-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700745
Lev Walkin0479e042017-09-26 18:39:58 -0700746static asn_oer_constraints_t asn_OER_type_J_4_5_constr_1 CC_NOTUSED = {
Lev Walkin0c686452017-09-07 22:59:36 -0700747 { 1, 1 } /* (4..5) */,
Lev Walkin8041fe82017-08-02 10:39:01 -0700748 -1};
Lev Walkin5861e8a2017-07-31 20:27:05 -0700749
Lev Walkin0c686452017-09-07 22:59:36 -0700750/*** <<< STAT-DEFS [J-4-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700751
Lev Walkin0c686452017-09-07 22:59:36 -0700752static const ber_tlv_tag_t asn_DEF_J_4_5_tags_1[] = {
Lev Walkin5861e8a2017-07-31 20:27:05 -0700753 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
754};
Lev Walkin0c686452017-09-07 22:59:36 -0700755asn_TYPE_descriptor_t asn_DEF_J_4_5 = {
756 "J-4-5",
757 "J-4-5",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800758 &asn_OP_NativeInteger,
Lev Walkin0c686452017-09-07 22:59:36 -0700759 asn_DEF_J_4_5_tags_1,
760 sizeof(asn_DEF_J_4_5_tags_1)
761 /sizeof(asn_DEF_J_4_5_tags_1[0]), /* 1 */
762 asn_DEF_J_4_5_tags_1, /* Same as above */
763 sizeof(asn_DEF_J_4_5_tags_1)
764 /sizeof(asn_DEF_J_4_5_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700765 { &asn_OER_type_J_4_5_constr_1, 0, J_4_5_constraint },
Lev Walkin5861e8a2017-07-31 20:27:05 -0700766 0, 0, /* No members */
767 0 /* No specifics */
768};
769
770
Lev Walkin0c686452017-09-07 22:59:36 -0700771/*** <<< INCLUDES [K-1-4] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700772
773#include <NativeInteger.h>
774
Lev Walkin0c686452017-09-07 22:59:36 -0700775/*** <<< TYPE-DECLS [K-1-4] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700776
Lev Walkin0c686452017-09-07 22:59:36 -0700777typedef long K_1_4_t;
Lev Walkin5861e8a2017-07-31 20:27:05 -0700778
Lev Walkin0c686452017-09-07 22:59:36 -0700779/*** <<< FUNC-DECLS [K-1-4] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700780
Lev Walkin0c686452017-09-07 22:59:36 -0700781extern asn_TYPE_descriptor_t asn_DEF_K_1_4;
782asn_struct_free_f K_1_4_free;
783asn_struct_print_f K_1_4_print;
784asn_constr_check_f K_1_4_constraint;
785ber_type_decoder_f K_1_4_decode_ber;
786der_type_encoder_f K_1_4_encode_der;
787xer_type_decoder_f K_1_4_decode_xer;
788xer_type_encoder_f K_1_4_encode_xer;
789oer_type_decoder_f K_1_4_decode_oer;
790oer_type_encoder_f K_1_4_encode_oer;
Lev Walkin5861e8a2017-07-31 20:27:05 -0700791
Lev Walkin0c686452017-09-07 22:59:36 -0700792/*** <<< CODE [K-1-4] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700793
794int
Lev Walkin20696a42017-10-17 21:27:33 -0700795K_1_4_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin5861e8a2017-07-31 20:27:05 -0700796 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
797 long value;
798
799 if(!sptr) {
800 ASN__CTFAIL(app_key, td, sptr,
801 "%s: value not given (%s:%d)",
802 td->name, __FILE__, __LINE__);
803 return -1;
804 }
805
806 value = *(const long *)sptr;
807
Lev Walkin0c686452017-09-07 22:59:36 -0700808 if((value >= 1 && value <= 4)) {
Lev Walkin5861e8a2017-07-31 20:27:05 -0700809 /* Constraint check succeeded */
810 return 0;
811 } else {
812 ASN__CTFAIL(app_key, td, sptr,
813 "%s: constraint failed (%s:%d)",
814 td->name, __FILE__, __LINE__);
815 return -1;
816 }
817}
818
819/*
820 * This type is implemented using NativeInteger,
821 * so here we adjust the DEF accordingly.
822 */
Lev Walkin5861e8a2017-07-31 20:27:05 -0700823
Lev Walkin0c686452017-09-07 22:59:36 -0700824/*** <<< CTDEFS [K-1-4] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700825
Lev Walkin0479e042017-09-26 18:39:58 -0700826static asn_oer_constraints_t asn_OER_type_K_1_4_constr_1 CC_NOTUSED = {
Lev Walkin0c686452017-09-07 22:59:36 -0700827 { 1, 1 } /* (1..4) */,
Lev Walkin8041fe82017-08-02 10:39:01 -0700828 -1};
Lev Walkin5861e8a2017-07-31 20:27:05 -0700829
Lev Walkin0c686452017-09-07 22:59:36 -0700830/*** <<< STAT-DEFS [K-1-4] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -0700831
Lev Walkin0c686452017-09-07 22:59:36 -0700832static const ber_tlv_tag_t asn_DEF_K_1_4_tags_1[] = {
Lev Walkin5861e8a2017-07-31 20:27:05 -0700833 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
834};
Lev Walkin0c686452017-09-07 22:59:36 -0700835asn_TYPE_descriptor_t asn_DEF_K_1_4 = {
836 "K-1-4",
837 "K-1-4",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800838 &asn_OP_NativeInteger,
Lev Walkin0c686452017-09-07 22:59:36 -0700839 asn_DEF_K_1_4_tags_1,
840 sizeof(asn_DEF_K_1_4_tags_1)
841 /sizeof(asn_DEF_K_1_4_tags_1[0]), /* 1 */
842 asn_DEF_K_1_4_tags_1, /* Same as above */
843 sizeof(asn_DEF_K_1_4_tags_1)
844 /sizeof(asn_DEF_K_1_4_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700845 { &asn_OER_type_K_1_4_constr_1, 0, K_1_4_constraint },
Lev Walkin5861e8a2017-07-31 20:27:05 -0700846 0, 0, /* No members */
847 0 /* No specifics */
848};
849
850
851/*** <<< INCLUDES [L-0-5] >>> ***/
852
853#include <NativeInteger.h>
854
855/*** <<< TYPE-DECLS [L-0-5] >>> ***/
856
857typedef long L_0_5_t;
858
859/*** <<< FUNC-DECLS [L-0-5] >>> ***/
860
861extern asn_TYPE_descriptor_t asn_DEF_L_0_5;
862asn_struct_free_f L_0_5_free;
863asn_struct_print_f L_0_5_print;
864asn_constr_check_f L_0_5_constraint;
865ber_type_decoder_f L_0_5_decode_ber;
866der_type_encoder_f L_0_5_encode_der;
867xer_type_decoder_f L_0_5_decode_xer;
868xer_type_encoder_f L_0_5_encode_xer;
869oer_type_decoder_f L_0_5_decode_oer;
870oer_type_encoder_f L_0_5_encode_oer;
871
872/*** <<< CODE [L-0-5] >>> ***/
873
874int
Lev Walkin20696a42017-10-17 21:27:33 -0700875L_0_5_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin5861e8a2017-07-31 20:27:05 -0700876 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
877 long value;
878
879 if(!sptr) {
880 ASN__CTFAIL(app_key, td, sptr,
881 "%s: value not given (%s:%d)",
882 td->name, __FILE__, __LINE__);
883 return -1;
884 }
885
886 value = *(const long *)sptr;
887
888 if(((value == 0) || (value == 5))) {
889 /* Constraint check succeeded */
890 return 0;
891 } else {
892 ASN__CTFAIL(app_key, td, sptr,
893 "%s: constraint failed (%s:%d)",
894 td->name, __FILE__, __LINE__);
895 return -1;
896 }
897}
898
899/*
900 * This type is implemented using NativeInteger,
901 * so here we adjust the DEF accordingly.
902 */
Lev Walkin5861e8a2017-07-31 20:27:05 -0700903
904/*** <<< CTDEFS [L-0-5] >>> ***/
905
Lev Walkin0479e042017-09-26 18:39:58 -0700906static asn_oer_constraints_t asn_OER_type_L_0_5_constr_1 CC_NOTUSED = {
Lev Walkin8041fe82017-08-02 10:39:01 -0700907 { 1, 1 } /* (0..5) */,
908 -1};
Lev Walkin5861e8a2017-07-31 20:27:05 -0700909
910/*** <<< STAT-DEFS [L-0-5] >>> ***/
911
912static const ber_tlv_tag_t asn_DEF_L_0_5_tags_1[] = {
913 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
914};
915asn_TYPE_descriptor_t asn_DEF_L_0_5 = {
916 "L-0-5",
917 "L-0-5",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800918 &asn_OP_NativeInteger,
Lev Walkin5861e8a2017-07-31 20:27:05 -0700919 asn_DEF_L_0_5_tags_1,
920 sizeof(asn_DEF_L_0_5_tags_1)
921 /sizeof(asn_DEF_L_0_5_tags_1[0]), /* 1 */
922 asn_DEF_L_0_5_tags_1, /* Same as above */
923 sizeof(asn_DEF_L_0_5_tags_1)
924 /sizeof(asn_DEF_L_0_5_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700925 { &asn_OER_type_L_0_5_constr_1, 0, L_0_5_constraint },
Lev Walkin5861e8a2017-07-31 20:27:05 -0700926 0, 0, /* No members */
927 0 /* No specifics */
928};
929
930
931/*** <<< INCLUDES [M-inv] >>> ***/
932
933#include <NativeInteger.h>
934
935/*** <<< TYPE-DECLS [M-inv] >>> ***/
936
937typedef long M_inv_t;
938
939/*** <<< FUNC-DECLS [M-inv] >>> ***/
940
941extern asn_TYPE_descriptor_t asn_DEF_M_inv;
942asn_struct_free_f M_inv_free;
943asn_struct_print_f M_inv_print;
944asn_constr_check_f M_inv_constraint;
945ber_type_decoder_f M_inv_decode_ber;
946der_type_encoder_f M_inv_encode_der;
947xer_type_decoder_f M_inv_decode_xer;
948xer_type_encoder_f M_inv_encode_xer;
949oer_type_decoder_f M_inv_decode_oer;
950oer_type_encoder_f M_inv_encode_oer;
951
952/*** <<< CODE [M-inv] >>> ***/
953
954int
Lev Walkin20696a42017-10-17 21:27:33 -0700955M_inv_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin5861e8a2017-07-31 20:27:05 -0700956 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
957 long value;
958
959 if(!sptr) {
960 ASN__CTFAIL(app_key, td, sptr,
961 "%s: value not given (%s:%d)",
962 td->name, __FILE__, __LINE__);
963 return -1;
964 }
965
966 value = *(const long *)sptr;
967
Lev Walkin0c686452017-09-07 22:59:36 -0700968 if((value >= 0 && value <= 5)) {
Lev Walkin5861e8a2017-07-31 20:27:05 -0700969 /* Constraint check succeeded */
970 return 0;
971 } else {
972 ASN__CTFAIL(app_key, td, sptr,
973 "%s: constraint failed (%s:%d)",
974 td->name, __FILE__, __LINE__);
975 return -1;
976 }
977}
978
979/*
980 * This type is implemented using NativeInteger,
981 * so here we adjust the DEF accordingly.
982 */
Lev Walkin5861e8a2017-07-31 20:27:05 -0700983
984/*** <<< CTDEFS [M-inv] >>> ***/
985
Lev Walkin0479e042017-09-26 18:39:58 -0700986static asn_oer_constraints_t asn_OER_type_M_inv_constr_1 CC_NOTUSED = {
Lev Walkin8041fe82017-08-02 10:39:01 -0700987 { 0, 0 },
988 -1};
Lev Walkin5861e8a2017-07-31 20:27:05 -0700989
990/*** <<< STAT-DEFS [M-inv] >>> ***/
991
992static const ber_tlv_tag_t asn_DEF_M_inv_tags_1[] = {
993 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
994};
995asn_TYPE_descriptor_t asn_DEF_M_inv = {
996 "M-inv",
997 "M-inv",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800998 &asn_OP_NativeInteger,
Lev Walkin5861e8a2017-07-31 20:27:05 -0700999 asn_DEF_M_inv_tags_1,
1000 sizeof(asn_DEF_M_inv_tags_1)
1001 /sizeof(asn_DEF_M_inv_tags_1[0]), /* 1 */
1002 asn_DEF_M_inv_tags_1, /* Same as above */
1003 sizeof(asn_DEF_M_inv_tags_1)
1004 /sizeof(asn_DEF_M_inv_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001005 { &asn_OER_type_M_inv_constr_1, 0, M_inv_constraint },
Lev Walkin5861e8a2017-07-31 20:27:05 -07001006 0, 0, /* No members */
1007 0 /* No specifics */
1008};
1009
1010
Lev Walkin0c686452017-09-07 22:59:36 -07001011/*** <<< INCLUDES [N-0-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -07001012
1013#include <NativeInteger.h>
1014
Lev Walkin0c686452017-09-07 22:59:36 -07001015/*** <<< TYPE-DECLS [N-0-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -07001016
Lev Walkin0c686452017-09-07 22:59:36 -07001017typedef long N_0_5_t;
Lev Walkin5861e8a2017-07-31 20:27:05 -07001018
Lev Walkin0c686452017-09-07 22:59:36 -07001019/*** <<< FUNC-DECLS [N-0-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -07001020
Lev Walkin0c686452017-09-07 22:59:36 -07001021extern asn_TYPE_descriptor_t asn_DEF_N_0_5;
1022asn_struct_free_f N_0_5_free;
1023asn_struct_print_f N_0_5_print;
1024asn_constr_check_f N_0_5_constraint;
1025ber_type_decoder_f N_0_5_decode_ber;
1026der_type_encoder_f N_0_5_encode_der;
1027xer_type_decoder_f N_0_5_decode_xer;
1028xer_type_encoder_f N_0_5_encode_xer;
1029oer_type_decoder_f N_0_5_decode_oer;
1030oer_type_encoder_f N_0_5_encode_oer;
Lev Walkin5861e8a2017-07-31 20:27:05 -07001031
Lev Walkin0c686452017-09-07 22:59:36 -07001032/*** <<< CODE [N-0-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -07001033
1034int
Lev Walkin20696a42017-10-17 21:27:33 -07001035N_0_5_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin5861e8a2017-07-31 20:27:05 -07001036 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
1037 long value;
1038
1039 if(!sptr) {
1040 ASN__CTFAIL(app_key, td, sptr,
1041 "%s: value not given (%s:%d)",
1042 td->name, __FILE__, __LINE__);
1043 return -1;
1044 }
1045
1046 value = *(const long *)sptr;
1047
1048 if((value >= 0 && value <= 5)) {
1049 /* Constraint check succeeded */
1050 return 0;
1051 } else {
1052 ASN__CTFAIL(app_key, td, sptr,
1053 "%s: constraint failed (%s:%d)",
1054 td->name, __FILE__, __LINE__);
1055 return -1;
1056 }
1057}
1058
1059/*
1060 * This type is implemented using NativeInteger,
1061 * so here we adjust the DEF accordingly.
1062 */
Lev Walkin5861e8a2017-07-31 20:27:05 -07001063
Lev Walkin0c686452017-09-07 22:59:36 -07001064/*** <<< CTDEFS [N-0-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -07001065
Lev Walkin0479e042017-09-26 18:39:58 -07001066static asn_oer_constraints_t asn_OER_type_N_0_5_constr_1 CC_NOTUSED = {
Lev Walkin0c686452017-09-07 22:59:36 -07001067 { 1, 1 } /* (0..5) */,
Lev Walkin8041fe82017-08-02 10:39:01 -07001068 -1};
Lev Walkin5861e8a2017-07-31 20:27:05 -07001069
Lev Walkin0c686452017-09-07 22:59:36 -07001070/*** <<< STAT-DEFS [N-0-5] >>> ***/
Lev Walkin5861e8a2017-07-31 20:27:05 -07001071
Lev Walkin0c686452017-09-07 22:59:36 -07001072static const ber_tlv_tag_t asn_DEF_N_0_5_tags_1[] = {
Lev Walkin5861e8a2017-07-31 20:27:05 -07001073 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
1074};
Lev Walkin0c686452017-09-07 22:59:36 -07001075asn_TYPE_descriptor_t asn_DEF_N_0_5 = {
1076 "N-0-5",
1077 "N-0-5",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +08001078 &asn_OP_NativeInteger,
Lev Walkin0c686452017-09-07 22:59:36 -07001079 asn_DEF_N_0_5_tags_1,
1080 sizeof(asn_DEF_N_0_5_tags_1)
1081 /sizeof(asn_DEF_N_0_5_tags_1[0]), /* 1 */
1082 asn_DEF_N_0_5_tags_1, /* Same as above */
1083 sizeof(asn_DEF_N_0_5_tags_1)
1084 /sizeof(asn_DEF_N_0_5_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001085 { &asn_OER_type_N_0_5_constr_1, 0, N_0_5_constraint },
Lev Walkin5861e8a2017-07-31 20:27:05 -07001086 0, 0, /* No members */
1087 0 /* No specifics */
1088};
1089
1090
1091/*** <<< INCLUDES [O-inv] >>> ***/
1092
1093#include <NativeInteger.h>
1094
1095/*** <<< TYPE-DECLS [O-inv] >>> ***/
1096
1097typedef long O_inv_t;
1098
1099/*** <<< FUNC-DECLS [O-inv] >>> ***/
1100
1101extern asn_TYPE_descriptor_t asn_DEF_O_inv;
1102asn_struct_free_f O_inv_free;
1103asn_struct_print_f O_inv_print;
1104asn_constr_check_f O_inv_constraint;
1105ber_type_decoder_f O_inv_decode_ber;
1106der_type_encoder_f O_inv_encode_der;
1107xer_type_decoder_f O_inv_decode_xer;
1108xer_type_encoder_f O_inv_encode_xer;
1109oer_type_decoder_f O_inv_decode_oer;
1110oer_type_encoder_f O_inv_encode_oer;
1111
1112/*** <<< CODE [O-inv] >>> ***/
1113
1114int
Lev Walkin20696a42017-10-17 21:27:33 -07001115O_inv_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin5861e8a2017-07-31 20:27:05 -07001116 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
1117 long value;
1118
1119 if(!sptr) {
1120 ASN__CTFAIL(app_key, td, sptr,
1121 "%s: value not given (%s:%d)",
1122 td->name, __FILE__, __LINE__);
1123 return -1;
1124 }
1125
1126 value = *(const long *)sptr;
1127
1128 if((value >= 0 && value <= 5)) {
1129 /* Constraint check succeeded */
1130 return 0;
1131 } else {
1132 ASN__CTFAIL(app_key, td, sptr,
1133 "%s: constraint failed (%s:%d)",
1134 td->name, __FILE__, __LINE__);
1135 return -1;
1136 }
1137}
1138
1139/*
1140 * This type is implemented using NativeInteger,
1141 * so here we adjust the DEF accordingly.
1142 */
Lev Walkin5861e8a2017-07-31 20:27:05 -07001143
1144/*** <<< CTDEFS [O-inv] >>> ***/
1145
Lev Walkin0479e042017-09-26 18:39:58 -07001146static asn_oer_constraints_t asn_OER_type_O_inv_constr_1 CC_NOTUSED = {
Lev Walkin8041fe82017-08-02 10:39:01 -07001147 { 0, 0 },
1148 -1};
Lev Walkin5861e8a2017-07-31 20:27:05 -07001149
1150/*** <<< STAT-DEFS [O-inv] >>> ***/
1151
1152static const ber_tlv_tag_t asn_DEF_O_inv_tags_1[] = {
1153 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
1154};
1155asn_TYPE_descriptor_t asn_DEF_O_inv = {
1156 "O-inv",
1157 "O-inv",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +08001158 &asn_OP_NativeInteger,
Lev Walkin5861e8a2017-07-31 20:27:05 -07001159 asn_DEF_O_inv_tags_1,
1160 sizeof(asn_DEF_O_inv_tags_1)
1161 /sizeof(asn_DEF_O_inv_tags_1[0]), /* 1 */
1162 asn_DEF_O_inv_tags_1, /* Same as above */
1163 sizeof(asn_DEF_O_inv_tags_1)
1164 /sizeof(asn_DEF_O_inv_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001165 { &asn_OER_type_O_inv_constr_1, 0, O_inv_constraint },
Lev Walkin8aed40c2017-07-26 18:50:04 -07001166 0, 0, /* No members */
1167 0 /* No specifics */
1168};
1169
Lev Walkin0c686452017-09-07 22:59:36 -07001170
1171/*** <<< INCLUDES [EConstr] >>> ***/
1172
1173#include <NativeInteger.h>
1174
1175/*** <<< TYPE-DECLS [EConstr] >>> ***/
1176
1177typedef long EConstr_t;
1178
1179/*** <<< FUNC-DECLS [EConstr] >>> ***/
1180
1181extern asn_TYPE_descriptor_t asn_DEF_EConstr;
1182asn_struct_free_f EConstr_free;
1183asn_struct_print_f EConstr_print;
1184asn_constr_check_f EConstr_constraint;
1185ber_type_decoder_f EConstr_decode_ber;
1186der_type_encoder_f EConstr_encode_der;
1187xer_type_decoder_f EConstr_decode_xer;
1188xer_type_encoder_f EConstr_encode_xer;
1189oer_type_decoder_f EConstr_decode_oer;
1190oer_type_encoder_f EConstr_encode_oer;
1191
1192/*** <<< CODE [EConstr] >>> ***/
1193
1194int
Lev Walkin20696a42017-10-17 21:27:33 -07001195EConstr_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin0c686452017-09-07 22:59:36 -07001196 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
1197 long value;
1198
1199 if(!sptr) {
1200 ASN__CTFAIL(app_key, td, sptr,
1201 "%s: value not given (%s:%d)",
1202 td->name, __FILE__, __LINE__);
1203 return -1;
1204 }
1205
1206 value = *(const long *)sptr;
1207
1208 if((value >= 1 && value <= 5)) {
1209 /* Constraint check succeeded */
1210 return 0;
1211 } else {
1212 ASN__CTFAIL(app_key, td, sptr,
1213 "%s: constraint failed (%s:%d)",
1214 td->name, __FILE__, __LINE__);
1215 return -1;
1216 }
1217}
1218
1219/*
1220 * This type is implemented using NativeInteger,
1221 * so here we adjust the DEF accordingly.
1222 */
1223
1224/*** <<< CTDEFS [EConstr] >>> ***/
1225
Lev Walkin0479e042017-09-26 18:39:58 -07001226static asn_oer_constraints_t asn_OER_type_EConstr_constr_1 CC_NOTUSED = {
Lev Walkin0c686452017-09-07 22:59:36 -07001227 { 0, 0 },
1228 -1};
1229
1230/*** <<< STAT-DEFS [EConstr] >>> ***/
1231
1232static const ber_tlv_tag_t asn_DEF_EConstr_tags_1[] = {
1233 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
1234};
1235asn_TYPE_descriptor_t asn_DEF_EConstr = {
1236 "EConstr",
1237 "EConstr",
1238 &asn_OP_NativeInteger,
Lev Walkin0c686452017-09-07 22:59:36 -07001239 asn_DEF_EConstr_tags_1,
1240 sizeof(asn_DEF_EConstr_tags_1)
1241 /sizeof(asn_DEF_EConstr_tags_1[0]), /* 1 */
1242 asn_DEF_EConstr_tags_1, /* Same as above */
1243 sizeof(asn_DEF_EConstr_tags_1)
1244 /sizeof(asn_DEF_EConstr_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001245 { &asn_OER_type_EConstr_constr_1, 0, EConstr_constraint },
Lev Walkin0c686452017-09-07 22:59:36 -07001246 0, 0, /* No members */
1247 0 /* No specifics */
1248};
1249
1250
1251/*** <<< INCLUDES [FConstr] >>> ***/
1252
1253#include <NativeInteger.h>
1254
1255/*** <<< TYPE-DECLS [FConstr] >>> ***/
1256
1257typedef long FConstr_t;
1258
1259/*** <<< FUNC-DECLS [FConstr] >>> ***/
1260
1261extern asn_TYPE_descriptor_t asn_DEF_FConstr;
1262asn_struct_free_f FConstr_free;
1263asn_struct_print_f FConstr_print;
1264asn_constr_check_f FConstr_constraint;
1265ber_type_decoder_f FConstr_decode_ber;
1266der_type_encoder_f FConstr_encode_der;
1267xer_type_decoder_f FConstr_decode_xer;
1268xer_type_encoder_f FConstr_encode_xer;
1269oer_type_decoder_f FConstr_decode_oer;
1270oer_type_encoder_f FConstr_encode_oer;
1271
1272/*** <<< CODE [FConstr] >>> ***/
1273
1274int
Lev Walkin20696a42017-10-17 21:27:33 -07001275FConstr_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin0c686452017-09-07 22:59:36 -07001276 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
1277 long value;
1278
1279 if(!sptr) {
1280 ASN__CTFAIL(app_key, td, sptr,
1281 "%s: value not given (%s:%d)",
1282 td->name, __FILE__, __LINE__);
1283 return -1;
1284 }
1285
1286 value = *(const long *)sptr;
1287
1288 if((value >= 0 && value <= 4)) {
1289 /* Constraint check succeeded */
1290 return 0;
1291 } else {
1292 ASN__CTFAIL(app_key, td, sptr,
1293 "%s: constraint failed (%s:%d)",
1294 td->name, __FILE__, __LINE__);
1295 return -1;
1296 }
1297}
1298
1299/*
1300 * This type is implemented using NativeInteger,
1301 * so here we adjust the DEF accordingly.
1302 */
1303
1304/*** <<< CTDEFS [FConstr] >>> ***/
1305
Lev Walkin0479e042017-09-26 18:39:58 -07001306static asn_oer_constraints_t asn_OER_type_FConstr_constr_1 CC_NOTUSED = {
Lev Walkin0c686452017-09-07 22:59:36 -07001307 { 1, 1 } /* (0..4) */,
1308 -1};
1309
1310/*** <<< STAT-DEFS [FConstr] >>> ***/
1311
1312static const ber_tlv_tag_t asn_DEF_FConstr_tags_1[] = {
1313 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
1314};
1315asn_TYPE_descriptor_t asn_DEF_FConstr = {
1316 "FConstr",
1317 "FConstr",
1318 &asn_OP_NativeInteger,
Lev Walkin0c686452017-09-07 22:59:36 -07001319 asn_DEF_FConstr_tags_1,
1320 sizeof(asn_DEF_FConstr_tags_1)
1321 /sizeof(asn_DEF_FConstr_tags_1[0]), /* 1 */
1322 asn_DEF_FConstr_tags_1, /* Same as above */
1323 sizeof(asn_DEF_FConstr_tags_1)
1324 /sizeof(asn_DEF_FConstr_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001325 { &asn_OER_type_FConstr_constr_1, 0, FConstr_constraint },
Lev Walkin0c686452017-09-07 22:59:36 -07001326 0, 0, /* No members */
1327 0 /* No specifics */
1328};
1329