blob: 37ab930e1b2d8b201277b6615240c73963c01e1e [file] [log] [blame]
vlm7c8aa5e2006-03-21 07:25:18 +00001
2/*** <<< INCLUDES [Flag] >>> ***/
3
4#include <INTEGER.h>
5#include <constr_SEQUENCE.h>
6#include <ENUMERATED.h>
7
8/*** <<< DEPS [Flag] >>> ***/
9
10typedef enum field {
11 field_red = 0,
12 field_green = 1,
13 field_blue = 5
14} e_field;
15typedef enum field {
16 field_red = 3,
17 field_green = 4,
18 field_blue = 5
19} e_field;
20
21/*** <<< TYPE-DECLS [Flag] >>> ***/
22
23typedef struct Flag_16P0 {
24 INTEGER_t *field /* DEFAULT 5 */;
25
26 /* Context for parsing across buffer boundaries */
27 asn_struct_ctx_t _asn_ctx;
28} Flag_16P0_t;
29typedef struct Flag_16P1 {
30 ENUMERATED_t *field /* DEFAULT 5 */;
31
32 /* Context for parsing across buffer boundaries */
33 asn_struct_ctx_t _asn_ctx;
34} Flag_16P1_t;
35
36/*** <<< FUNC-DECLS [Flag] >>> ***/
37
38extern asn_TYPE_descriptor_t asn_DEF_Flag_16P0;
39/* extern asn_TYPE_descriptor_t asn_DEF_field_7; // (Use -fall-defs-global to expose) */
40extern asn_TYPE_descriptor_t asn_DEF_Flag_16P1;
41
42/*** <<< CODE [Flag] >>> ***/
43
44static int
45field_7_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
46 asn_app_consume_bytes_f *app_errlog, void *app_key) {
47 /* Replace with underlying type checker */
48 td->check_constraints = asn_DEF_ENUMERATED.check_constraints;
49 return td->check_constraints(td, sptr, app_errlog, app_key);
50}
51
52/*
53 * This type is implemented using ENUMERATED,
54 * so here we adjust the DEF accordingly.
55 */
56static void
57field_7_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
58 td->free_struct = asn_DEF_ENUMERATED.free_struct;
59 td->print_struct = asn_DEF_ENUMERATED.print_struct;
60 td->ber_decoder = asn_DEF_ENUMERATED.ber_decoder;
61 td->der_encoder = asn_DEF_ENUMERATED.der_encoder;
62 td->xer_decoder = asn_DEF_ENUMERATED.xer_decoder;
63 td->xer_encoder = asn_DEF_ENUMERATED.xer_encoder;
64 td->uper_decoder = asn_DEF_ENUMERATED.uper_decoder;
65 if(!td->per_constraints)
66 td->per_constraints = asn_DEF_ENUMERATED.per_constraints;
67 td->elements = asn_DEF_ENUMERATED.elements;
68 td->elements_count = asn_DEF_ENUMERATED.elements_count;
69 /* td->specifics = asn_DEF_ENUMERATED.specifics; // Defined explicitly */
70}
71
72static void
73field_7_free(asn_TYPE_descriptor_t *td,
74 void *struct_ptr, int contents_only) {
75 field_7_inherit_TYPE_descriptor(td);
76 td->free_struct(td, struct_ptr, contents_only);
77}
78
79static int
80field_7_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
81 int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
82 field_7_inherit_TYPE_descriptor(td);
83 return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
84}
85
86static asn_dec_rval_t
87field_7_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
88 void **structure, const void *bufptr, size_t size, int tag_mode) {
89 field_7_inherit_TYPE_descriptor(td);
90 return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
91}
92
93static asn_enc_rval_t
94field_7_encode_der(asn_TYPE_descriptor_t *td,
95 void *structure, int tag_mode, ber_tlv_tag_t tag,
96 asn_app_consume_bytes_f *cb, void *app_key) {
97 field_7_inherit_TYPE_descriptor(td);
98 return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
99}
100
101static asn_dec_rval_t
102field_7_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
103 void **structure, const char *opt_mname, const void *bufptr, size_t size) {
104 field_7_inherit_TYPE_descriptor(td);
105 return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
106}
107
108static asn_enc_rval_t
109field_7_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
110 int ilevel, enum xer_encoder_flags_e flags,
111 asn_app_consume_bytes_f *cb, void *app_key) {
112 field_7_inherit_TYPE_descriptor(td);
113 return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
114}
115
116
117/*** <<< STAT-DEFS [Flag] >>> ***/
118
119static int asn_DFL_2_set_5(void **sptr) {
120 INTEGER_t *st = *sptr;
121
122 if(!st) {
123 st = (*sptr = CALLOC(1, sizeof(*st)));
124 if(!st) return -1;
125 }
126
127 /* Install default value 5 */
128 return asn_long2INTEGER(st, 5);
129}
130static asn_TYPE_member_t asn_MBR_Flag_16P0_1[] = {
131 { ATF_POINTER, 1, offsetof(struct Flag_16P0, field),
132 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
133 .tag_mode = 0,
134 .type = &asn_DEF_INTEGER,
135 .memb_constraints = 0, /* Defer constraints checking to the member type */
136 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
137 .default_value = asn_DFL_2_set_5, /* DEFAULT 5 */
138 .name = "field"
139 },
140};
141static ber_tlv_tag_t asn_DEF_Flag_16P0_tags_1[] = {
142 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
143};
144static asn_TYPE_tag2member_t asn_MAP_Flag_16P0_tag2el_1[] = {
145 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* field at 18 */
146};
147static asn_SEQUENCE_specifics_t asn_SPC_Flag_16P0_specs_1 = {
148 sizeof(struct Flag_16P0),
149 offsetof(struct Flag_16P0, _asn_ctx),
150 asn_MAP_Flag_16P0_tag2el_1,
151 1, /* Count of tags in the map */
152 0, 0, 0, /* Optional elements (not needed) */
153 -1, /* Start extensions */
154 -1 /* Stop extensions */
155};
156asn_TYPE_descriptor_t asn_DEF_Flag_16P0 = {
157 "Flag",
158 "Flag",
159 SEQUENCE_free,
160 SEQUENCE_print,
161 SEQUENCE_constraint,
162 SEQUENCE_decode_ber,
163 SEQUENCE_encode_der,
164 SEQUENCE_decode_xer,
165 SEQUENCE_encode_xer,
166 0, /* No PER decoder, -gen-PER to enable */
167 0, /* Use generic outmost tag fetcher */
168 asn_DEF_Flag_16P0_tags_1,
169 sizeof(asn_DEF_Flag_16P0_tags_1)
170 /sizeof(asn_DEF_Flag_16P0_tags_1[0]), /* 1 */
171 asn_DEF_Flag_16P0_tags_1, /* Same as above */
172 sizeof(asn_DEF_Flag_16P0_tags_1)
173 /sizeof(asn_DEF_Flag_16P0_tags_1[0]), /* 1 */
174 0, /* No PER visible constraints */
175 asn_MBR_Flag_16P0_1,
176 1, /* Elements count */
177 &asn_SPC_Flag_16P0_specs_1 /* Additional specs */
178};
179
180static int asn_DFL_7_set_5(void **sptr) {
181 ENUMERATED_t *st = *sptr;
182
183 if(!st) {
184 st = (*sptr = CALLOC(1, sizeof(*st)));
185 if(!st) return -1;
186 }
187
188 /* Install default value 5 */
189 return asn_long2INTEGER(st, 5);
190}
191static asn_INTEGER_enum_map_t asn_MAP_field_value2enum_7[] = {
192 { 3, 3, "red" },
193 { 4, 5, "green" },
194 { 5, 4, "blue" }
195};
196static unsigned int asn_MAP_field_enum2value_7[] = {
197 2, /* blue(5) */
198 1, /* green(4) */
199 0 /* red(3) */
200};
201static asn_INTEGER_specifics_t asn_SPC_field_specs_7 = {
202 asn_MAP_field_value2enum_7, /* "tag" => N; sorted by tag */
203 asn_MAP_field_enum2value_7, /* N => "tag"; sorted by N */
204 3, /* Number of elements in the maps */
205 0, /* Enumeration is not extensible */
206 1 /* Strict enumeration */
207};
208static ber_tlv_tag_t asn_DEF_field_tags_7[] = {
209 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
210};
211static /* Use -fall-defs-global to expose */
212asn_TYPE_descriptor_t asn_DEF_field_7 = {
213 "field",
214 "field",
215 field_7_free,
216 field_7_print,
217 field_7_constraint,
218 field_7_decode_ber,
219 field_7_encode_der,
220 field_7_decode_xer,
221 field_7_encode_xer,
222 0, /* No PER decoder, -gen-PER to enable */
223 0, /* Use generic outmost tag fetcher */
224 asn_DEF_field_tags_7,
225 sizeof(asn_DEF_field_tags_7)
226 /sizeof(asn_DEF_field_tags_7[0]), /* 1 */
227 asn_DEF_field_tags_7, /* Same as above */
228 sizeof(asn_DEF_field_tags_7)
229 /sizeof(asn_DEF_field_tags_7[0]), /* 1 */
230 0, /* No PER visible constraints */
231 0, 0, /* Defined elsewhere */
232 &asn_SPC_field_specs_7 /* Additional specs */
233};
234
235static asn_TYPE_member_t asn_MBR_Flag_16P1_6[] = {
236 { ATF_POINTER, 1, offsetof(struct Flag_16P1, field),
237 .tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
238 .tag_mode = 0,
239 .type = &asn_DEF_field_7,
240 .memb_constraints = 0, /* Defer constraints checking to the member type */
241 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
242 .default_value = asn_DFL_7_set_5, /* DEFAULT 5 */
243 .name = "field"
244 },
245};
246static ber_tlv_tag_t asn_DEF_Flag_16P1_tags_6[] = {
247 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
248};
249static asn_TYPE_tag2member_t asn_MAP_Flag_16P1_tag2el_6[] = {
250 { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* field at 19 */
251};
252static asn_SEQUENCE_specifics_t asn_SPC_Flag_16P1_specs_6 = {
253 sizeof(struct Flag_16P1),
254 offsetof(struct Flag_16P1, _asn_ctx),
255 asn_MAP_Flag_16P1_tag2el_6,
256 1, /* Count of tags in the map */
257 0, 0, 0, /* Optional elements (not needed) */
258 -1, /* Start extensions */
259 -1 /* Stop extensions */
260};
261asn_TYPE_descriptor_t asn_DEF_Flag_16P1 = {
262 "Flag",
263 "Flag",
264 SEQUENCE_free,
265 SEQUENCE_print,
266 SEQUENCE_constraint,
267 SEQUENCE_decode_ber,
268 SEQUENCE_encode_der,
269 SEQUENCE_decode_xer,
270 SEQUENCE_encode_xer,
271 0, /* No PER decoder, -gen-PER to enable */
272 0, /* Use generic outmost tag fetcher */
273 asn_DEF_Flag_16P1_tags_6,
274 sizeof(asn_DEF_Flag_16P1_tags_6)
275 /sizeof(asn_DEF_Flag_16P1_tags_6[0]), /* 1 */
276 asn_DEF_Flag_16P1_tags_6, /* Same as above */
277 sizeof(asn_DEF_Flag_16P1_tags_6)
278 /sizeof(asn_DEF_Flag_16P1_tags_6[0]), /* 1 */
279 0, /* No PER visible constraints */
280 asn_MBR_Flag_16P1_6,
281 1, /* Elements count */
282 &asn_SPC_Flag_16P1_specs_6 /* Additional specs */
283};
284
285
286/*** <<< INCLUDES [IntegerColorFlag] >>> ***/
287
288#include <Flag.h>
289
290/*** <<< TYPE-DECLS [IntegerColorFlag] >>> ***/
291
292typedef Flag_16P0_t IntegerColorFlag_t;
293
294/*** <<< FUNC-DECLS [IntegerColorFlag] >>> ***/
295
296extern asn_TYPE_descriptor_t asn_DEF_IntegerColorFlag;
297asn_struct_free_f IntegerColorFlag_free;
298asn_struct_print_f IntegerColorFlag_print;
299asn_constr_check_f IntegerColorFlag_constraint;
300ber_type_decoder_f IntegerColorFlag_decode_ber;
301der_type_encoder_f IntegerColorFlag_encode_der;
302xer_type_decoder_f IntegerColorFlag_decode_xer;
303xer_type_encoder_f IntegerColorFlag_encode_xer;
304
305/*** <<< CODE [IntegerColorFlag] >>> ***/
306
307int
308IntegerColorFlag_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
309 asn_app_consume_bytes_f *app_errlog, void *app_key) {
310 /* Replace with underlying type checker */
311 td->check_constraints = asn_DEF_Flag_16P0.check_constraints;
312 return td->check_constraints(td, sptr, app_errlog, app_key);
313}
314
315/*
316 * This type is implemented using Flag_16P0,
317 * so here we adjust the DEF accordingly.
318 */
319static void
320IntegerColorFlag_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
321 td->free_struct = asn_DEF_Flag_16P0.free_struct;
322 td->print_struct = asn_DEF_Flag_16P0.print_struct;
323 td->ber_decoder = asn_DEF_Flag_16P0.ber_decoder;
324 td->der_encoder = asn_DEF_Flag_16P0.der_encoder;
325 td->xer_decoder = asn_DEF_Flag_16P0.xer_decoder;
326 td->xer_encoder = asn_DEF_Flag_16P0.xer_encoder;
327 td->uper_decoder = asn_DEF_Flag_16P0.uper_decoder;
328 if(!td->per_constraints)
329 td->per_constraints = asn_DEF_Flag_16P0.per_constraints;
330 td->elements = asn_DEF_Flag_16P0.elements;
331 td->elements_count = asn_DEF_Flag_16P0.elements_count;
332 td->specifics = asn_DEF_Flag_16P0.specifics;
333}
334
335void
336IntegerColorFlag_free(asn_TYPE_descriptor_t *td,
337 void *struct_ptr, int contents_only) {
338 IntegerColorFlag_1_inherit_TYPE_descriptor(td);
339 td->free_struct(td, struct_ptr, contents_only);
340}
341
342int
343IntegerColorFlag_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
344 int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
345 IntegerColorFlag_1_inherit_TYPE_descriptor(td);
346 return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
347}
348
349asn_dec_rval_t
350IntegerColorFlag_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
351 void **structure, const void *bufptr, size_t size, int tag_mode) {
352 IntegerColorFlag_1_inherit_TYPE_descriptor(td);
353 return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
354}
355
356asn_enc_rval_t
357IntegerColorFlag_encode_der(asn_TYPE_descriptor_t *td,
358 void *structure, int tag_mode, ber_tlv_tag_t tag,
359 asn_app_consume_bytes_f *cb, void *app_key) {
360 IntegerColorFlag_1_inherit_TYPE_descriptor(td);
361 return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
362}
363
364asn_dec_rval_t
365IntegerColorFlag_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
366 void **structure, const char *opt_mname, const void *bufptr, size_t size) {
367 IntegerColorFlag_1_inherit_TYPE_descriptor(td);
368 return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
369}
370
371asn_enc_rval_t
372IntegerColorFlag_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
373 int ilevel, enum xer_encoder_flags_e flags,
374 asn_app_consume_bytes_f *cb, void *app_key) {
375 IntegerColorFlag_1_inherit_TYPE_descriptor(td);
376 return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
377}
378
379
380/*** <<< STAT-DEFS [IntegerColorFlag] >>> ***/
381
382static ber_tlv_tag_t asn_DEF_IntegerColorFlag_tags_1[] = {
383 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
384};
385asn_TYPE_descriptor_t asn_DEF_IntegerColorFlag = {
386 "IntegerColorFlag",
387 "IntegerColorFlag",
388 IntegerColorFlag_free,
389 IntegerColorFlag_print,
390 IntegerColorFlag_constraint,
391 IntegerColorFlag_decode_ber,
392 IntegerColorFlag_encode_der,
393 IntegerColorFlag_decode_xer,
394 IntegerColorFlag_encode_xer,
395 0, /* No PER decoder, -gen-PER to enable */
396 0, /* Use generic outmost tag fetcher */
397 asn_DEF_IntegerColorFlag_tags_1,
398 sizeof(asn_DEF_IntegerColorFlag_tags_1)
399 /sizeof(asn_DEF_IntegerColorFlag_tags_1[0]), /* 1 */
400 asn_DEF_IntegerColorFlag_tags_1, /* Same as above */
401 sizeof(asn_DEF_IntegerColorFlag_tags_1)
402 /sizeof(asn_DEF_IntegerColorFlag_tags_1[0]), /* 1 */
403 0, /* No PER visible constraints */
404 0, 0, /* Defined elsewhere */
405 0 /* No specifics */
406};
407
408
409/*** <<< INCLUDES [EnumeratedColorFlag] >>> ***/
410
411#include <Flag.h>
412
413/*** <<< TYPE-DECLS [EnumeratedColorFlag] >>> ***/
414
415typedef Flag_16P1_t EnumeratedColorFlag_t;
416
417/*** <<< FUNC-DECLS [EnumeratedColorFlag] >>> ***/
418
419extern asn_TYPE_descriptor_t asn_DEF_EnumeratedColorFlag;
420asn_struct_free_f EnumeratedColorFlag_free;
421asn_struct_print_f EnumeratedColorFlag_print;
422asn_constr_check_f EnumeratedColorFlag_constraint;
423ber_type_decoder_f EnumeratedColorFlag_decode_ber;
424der_type_encoder_f EnumeratedColorFlag_encode_der;
425xer_type_decoder_f EnumeratedColorFlag_decode_xer;
426xer_type_encoder_f EnumeratedColorFlag_encode_xer;
427
428/*** <<< CODE [EnumeratedColorFlag] >>> ***/
429
430int
431EnumeratedColorFlag_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
432 asn_app_consume_bytes_f *app_errlog, void *app_key) {
433 /* Replace with underlying type checker */
434 td->check_constraints = asn_DEF_Flag_16P1.check_constraints;
435 return td->check_constraints(td, sptr, app_errlog, app_key);
436}
437
438/*
439 * This type is implemented using Flag_16P1,
440 * so here we adjust the DEF accordingly.
441 */
442static void
443EnumeratedColorFlag_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
444 td->free_struct = asn_DEF_Flag_16P1.free_struct;
445 td->print_struct = asn_DEF_Flag_16P1.print_struct;
446 td->ber_decoder = asn_DEF_Flag_16P1.ber_decoder;
447 td->der_encoder = asn_DEF_Flag_16P1.der_encoder;
448 td->xer_decoder = asn_DEF_Flag_16P1.xer_decoder;
449 td->xer_encoder = asn_DEF_Flag_16P1.xer_encoder;
450 td->uper_decoder = asn_DEF_Flag_16P1.uper_decoder;
451 if(!td->per_constraints)
452 td->per_constraints = asn_DEF_Flag_16P1.per_constraints;
453 td->elements = asn_DEF_Flag_16P1.elements;
454 td->elements_count = asn_DEF_Flag_16P1.elements_count;
455 td->specifics = asn_DEF_Flag_16P1.specifics;
456}
457
458void
459EnumeratedColorFlag_free(asn_TYPE_descriptor_t *td,
460 void *struct_ptr, int contents_only) {
461 EnumeratedColorFlag_1_inherit_TYPE_descriptor(td);
462 td->free_struct(td, struct_ptr, contents_only);
463}
464
465int
466EnumeratedColorFlag_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
467 int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
468 EnumeratedColorFlag_1_inherit_TYPE_descriptor(td);
469 return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
470}
471
472asn_dec_rval_t
473EnumeratedColorFlag_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
474 void **structure, const void *bufptr, size_t size, int tag_mode) {
475 EnumeratedColorFlag_1_inherit_TYPE_descriptor(td);
476 return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
477}
478
479asn_enc_rval_t
480EnumeratedColorFlag_encode_der(asn_TYPE_descriptor_t *td,
481 void *structure, int tag_mode, ber_tlv_tag_t tag,
482 asn_app_consume_bytes_f *cb, void *app_key) {
483 EnumeratedColorFlag_1_inherit_TYPE_descriptor(td);
484 return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
485}
486
487asn_dec_rval_t
488EnumeratedColorFlag_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
489 void **structure, const char *opt_mname, const void *bufptr, size_t size) {
490 EnumeratedColorFlag_1_inherit_TYPE_descriptor(td);
491 return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
492}
493
494asn_enc_rval_t
495EnumeratedColorFlag_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
496 int ilevel, enum xer_encoder_flags_e flags,
497 asn_app_consume_bytes_f *cb, void *app_key) {
498 EnumeratedColorFlag_1_inherit_TYPE_descriptor(td);
499 return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
500}
501
502
503/*** <<< STAT-DEFS [EnumeratedColorFlag] >>> ***/
504
505static ber_tlv_tag_t asn_DEF_EnumeratedColorFlag_tags_1[] = {
506 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
507};
508asn_TYPE_descriptor_t asn_DEF_EnumeratedColorFlag = {
509 "EnumeratedColorFlag",
510 "EnumeratedColorFlag",
511 EnumeratedColorFlag_free,
512 EnumeratedColorFlag_print,
513 EnumeratedColorFlag_constraint,
514 EnumeratedColorFlag_decode_ber,
515 EnumeratedColorFlag_encode_der,
516 EnumeratedColorFlag_decode_xer,
517 EnumeratedColorFlag_encode_xer,
518 0, /* No PER decoder, -gen-PER to enable */
519 0, /* Use generic outmost tag fetcher */
520 asn_DEF_EnumeratedColorFlag_tags_1,
521 sizeof(asn_DEF_EnumeratedColorFlag_tags_1)
522 /sizeof(asn_DEF_EnumeratedColorFlag_tags_1[0]), /* 1 */
523 asn_DEF_EnumeratedColorFlag_tags_1, /* Same as above */
524 sizeof(asn_DEF_EnumeratedColorFlag_tags_1)
525 /sizeof(asn_DEF_EnumeratedColorFlag_tags_1[0]), /* 1 */
526 0, /* No PER visible constraints */
527 0, 0, /* Defined elsewhere */
528 0 /* No specifics */
529};
530