blob: ab8a8ec1d2397f0b00d1224af2d1aa495f45dc8c [file] [log] [blame]
vlmfa67ddc2004-06-03 03:38:44 +00001/*-
2 * Copyright (c) 2003, 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
3 * Redistribution and modifications are permitted subject to BSD license.
4 */
5#ifndef _CONSTR_SEQUENCE_H_
6#define _CONSTR_SEQUENCE_H_
7
vlmd1579582004-09-24 21:00:50 +00008#include <asn_application.h>
vlmfa67ddc2004-06-03 03:38:44 +00009
vlm3a417582005-07-24 09:03:44 +000010#ifdef __cplusplus
11extern "C" {
12#endif
13
vlmef6355b2004-09-29 13:26:15 +000014typedef struct asn_SEQUENCE_specifics_s {
vlmfa67ddc2004-06-03 03:38:44 +000015 /*
16 * Target structure description.
17 */
18 int struct_size; /* Size of the target structure. */
vlmef6355b2004-09-29 13:26:15 +000019 int ctx_offset; /* Offset of the asn_struct_ctx_t member */
vlmfa67ddc2004-06-03 03:38:44 +000020
21 /*
vlm31473082004-06-06 07:20:02 +000022 * Tags to members mapping table (sorted).
23 */
vlmef6355b2004-09-29 13:26:15 +000024 asn_TYPE_tag2member_t *tag2el;
vlm31473082004-06-06 07:20:02 +000025 int tag2el_count;
26
27 /*
vlmfa67ddc2004-06-03 03:38:44 +000028 * Description of an extensions group.
29 */
30 int ext_after; /* Extensions start after this member */
31 int ext_before; /* Extensions stop before this member */
vlmef6355b2004-09-29 13:26:15 +000032} asn_SEQUENCE_specifics_t;
vlmfa67ddc2004-06-03 03:38:44 +000033
34
35/*
36 * A set specialized functions dealing with the SEQUENCE type.
37 */
vlm39ba4c42004-09-22 16:06:28 +000038asn_struct_free_f SEQUENCE_free;
39asn_struct_print_f SEQUENCE_print;
vlmfa67ddc2004-06-03 03:38:44 +000040asn_constr_check_f SEQUENCE_constraint;
41ber_type_decoder_f SEQUENCE_decode_ber;
42der_type_encoder_f SEQUENCE_encode_der;
vlme1adad52004-10-23 13:27:30 +000043xer_type_decoder_f SEQUENCE_decode_xer;
vlm39ba4c42004-09-22 16:06:28 +000044xer_type_encoder_f SEQUENCE_encode_xer;
vlmfa67ddc2004-06-03 03:38:44 +000045
vlm3a417582005-07-24 09:03:44 +000046#ifdef __cplusplus
47}
48#endif
49
vlmfa67ddc2004-06-03 03:38:44 +000050#endif /* _CONSTR_SEQUENCE_H_ */