2 * Copyright (c) 2003, 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
3 * Redistribution and modifications are permitted subject to BSD license.
5 #ifndef _CONSTR_SEQUENCE_H_
6 #define _CONSTR_SEQUENCE_H_
8 #include <asn_application.h>
14 typedef struct asn_SEQUENCE_specifics_s {
16 * Target structure description.
18 int struct_size; /* Size of the target structure. */
19 int ctx_offset; /* Offset of the asn_struct_ctx_t member */
22 * Tags to members mapping table (sorted).
24 asn_TYPE_tag2member_t *tag2el;
28 * Optional members of the extensions root (roms) or additions (aoms).
31 int *oms; /* Optional MemberS */
32 int roms_count; /* Root optional members count */
33 int aoms_count; /* Additions optional members count */
36 * Description of an extensions group.
38 int ext_after; /* Extensions start after this member */
39 int ext_before; /* Extensions stop before this member */
40 } asn_SEQUENCE_specifics_t;
44 * A set specialized functions dealing with the SEQUENCE type.
46 asn_struct_free_f SEQUENCE_free;
47 asn_struct_print_f SEQUENCE_print;
48 asn_constr_check_f SEQUENCE_constraint;
49 ber_type_decoder_f SEQUENCE_decode_ber;
50 der_type_encoder_f SEQUENCE_encode_der;
51 xer_type_decoder_f SEQUENCE_decode_xer;
52 xer_type_encoder_f SEQUENCE_encode_xer;
53 per_type_decoder_f SEQUENCE_decode_uper;
54 per_type_encoder_f SEQUENCE_encode_uper;
60 #endif /* _CONSTR_SEQUENCE_H_ */