2 * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
\r
3 * Redistribution and modifications are permitted subject to BSD license.
\r
5 #ifndef _CONSTR_SEQUENCE_H_
\r
6 #define _CONSTR_SEQUENCE_H_
\r
8 #include <asn_application.h>
\r
14 typedef struct asn_SEQUENCE_specifics_s {
\r
16 * Target structure description.
\r
18 unsigned struct_size; /* Size of the target structure. */
\r
19 unsigned ctx_offset; /* Offset of the asn_struct_ctx_t member */
\r
22 * Tags to members mapping table (sorted).
\r
24 const asn_TYPE_tag2member_t *tag2el;
\r
25 unsigned tag2el_count;
\r
28 * Optional members of the extensions root (roms) or additions (aoms).
\r
29 * Meaningful for PER.
\r
31 const int *oms; /* Optional MemberS */
\r
32 unsigned roms_count; /* Root optional members count */
\r
33 unsigned aoms_count; /* Additions optional members count */
\r
36 * Description of an extensions group.
\r
37 * Root components are clustered at the beginning of the structure,
\r
38 * whereas extensions are clustered at the end. -1 means not extensible.
\r
40 signed first_extension; /* First extension addition */
\r
41 } asn_SEQUENCE_specifics_t;
\r
45 * A set specialized functions dealing with the SEQUENCE type.
\r
47 asn_struct_free_f SEQUENCE_free;
\r
48 asn_struct_print_f SEQUENCE_print;
\r
49 asn_struct_compare_f SEQUENCE_compare;
\r
50 asn_constr_check_f SEQUENCE_constraint;
\r
51 ber_type_decoder_f SEQUENCE_decode_ber;
\r
52 der_type_encoder_f SEQUENCE_encode_der;
\r
53 xer_type_decoder_f SEQUENCE_decode_xer;
\r
54 xer_type_encoder_f SEQUENCE_encode_xer;
\r
55 oer_type_decoder_f SEQUENCE_decode_oer;
\r
56 oer_type_encoder_f SEQUENCE_encode_oer;
\r
57 per_type_decoder_f SEQUENCE_decode_uper;
\r
58 per_type_encoder_f SEQUENCE_encode_uper;
\r
59 per_type_decoder_f SEQUENCE_decode_aper;
\r
60 per_type_encoder_f SEQUENCE_encode_aper;
\r
61 asn_random_fill_f SEQUENCE_random_fill;
\r
62 extern asn_TYPE_operation_t asn_OP_SEQUENCE;
\r
68 #endif /* _CONSTR_SEQUENCE_H_ */
\r