constr_SEQUENCE.h
Go to the documentation of this file.
1 /*-
2  * Copyright (c) 2003-2017 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 
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 typedef struct asn_SEQUENCE_specifics_s {
15  /*
16  * Target structure description.
17  */
18  unsigned struct_size; /* Size of the target structure. */
19  unsigned ctx_offset; /* Offset of the asn_struct_ctx_t member */
20 
21  /*
22  * Tags to members mapping table (sorted).
23  */
25  unsigned tag2el_count;
26 
27  /*
28  * Optional members of the extensions root (roms) or additions (aoms).
29  * Meaningful for PER.
30  */
31  const int *oms; /* Optional MemberS */
32  unsigned roms_count; /* Root optional members count */
33  unsigned aoms_count; /* Additions optional members count */
34 
35  /*
36  * Description of an extensions group.
37  * Root components are clustered at the beginning of the structure,
38  * whereas extensions are clustered at the end. -1 means not extensible.
39  */
40  signed first_extension; /* First extension addition */
42 
43 
44 /*
45  * A set specialized functions dealing with the SEQUENCE type.
46  */
48 
49 #if !defined(ASN_DISABLE_PRINT_SUPPORT)
51 #endif /* !defined(ASN_DISABLE_PRINT_SUPPORT) */
52 
55 
57 
58 #if !defined(ASN_DISABLE_BER_SUPPORT)
59 ber_type_decoder_f SEQUENCE_decode_ber;
60 der_type_encoder_f SEQUENCE_encode_der;
61 #endif /* !defined(ASN_DISABLE_BER_SUPPORT) */
62 
63 #if !defined(ASN_DISABLE_XER_SUPPORT)
64 xer_type_decoder_f SEQUENCE_decode_xer;
65 xer_type_encoder_f SEQUENCE_encode_xer;
66 #endif /* !defined(ASN_DISABLE_XER_SUPPORT) */
67 
68 #if !defined(ASN_DISABLE_JER_SUPPORT)
71 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
72 
73 #if !defined(ASN_DISABLE_OER_SUPPORT)
74 oer_type_decoder_f SEQUENCE_decode_oer;
75 oer_type_encoder_f SEQUENCE_encode_oer;
76 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
77 
78 #if !defined(ASN_DISABLE_UPER_SUPPORT)
81 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) */
82 #if !defined(ASN_DISABLE_APER_SUPPORT)
85 #endif /* !defined(ASN_DISABLE_APER_SUPPORT) */
86 
87 #if !defined(ASN_DISABLE_RFILL_SUPPORT)
89 #endif /* !defined(ASN_DISABLE_RFILL_SUPPORT) */
90 
92 
93 #ifdef __cplusplus
94 }
95 #endif
96 
97 #endif /* _CONSTR_SEQUENCE_H_ */
asn_OP_SEQUENCE
asn_TYPE_operation_t asn_OP_SEQUENCE
Definition: constr_SEQUENCE.c:9
per_type_decoder_f
asn_dec_rval_t() per_type_decoder_f(const asn_codec_ctx_t *opt_codec_ctx, const struct asn_TYPE_descriptor_s *type_descriptor, const asn_per_constraints_t *constraints, void **struct_ptr, asn_per_data_t *per_data)
Definition: per_decoder.h:20
asn_TYPE_operation_s
Definition: constr_TYPE.h:184
SEQUENCE_decode_uper
per_type_decoder_f SEQUENCE_decode_uper
Definition: constr_SEQUENCE.h:79
SEQUENCE_encode_der
der_type_encoder_f SEQUENCE_encode_der
Definition: constr_SEQUENCE.h:60
asn_struct_print_f
int() asn_struct_print_f(const struct asn_TYPE_descriptor_s *type_descriptor, const void *struct_ptr, int level, asn_app_consume_bytes_f *callback, void *app_key)
Definition: constr_TYPE.h:129
SEQUENCE_random_fill
asn_random_fill_f SEQUENCE_random_fill
Definition: constr_SEQUENCE.h:88
asn_random_fill_f
asn_random_fill_result_t() asn_random_fill_f(const struct asn_TYPE_descriptor_s *td, void **struct_ptr, const struct asn_encoding_constraints_s *memb_constraints, size_t max_length)
Definition: asn_random_fill.h:32
SEQUENCE_compare
asn_struct_compare_f SEQUENCE_compare
Definition: constr_SEQUENCE.h:53
asn_SEQUENCE_specifics_s::struct_size
unsigned struct_size
Definition: constr_SEQUENCE.h:18
asn_struct_compare_f
int() asn_struct_compare_f(const struct asn_TYPE_descriptor_s *type_descriptor, const void *struct_A, const void *struct_B)
Definition: constr_TYPE.h:141
asn_SEQUENCE_specifics_s::roms_count
unsigned roms_count
Definition: constr_SEQUENCE.h:32
SEQUENCE_decode_xer
xer_type_decoder_f SEQUENCE_decode_xer
Definition: constr_SEQUENCE.h:64
SEQUENCE_encode_uper
per_type_encoder_f SEQUENCE_encode_uper
Definition: constr_SEQUENCE.h:80
SEQUENCE_decode_oer
oer_type_decoder_f SEQUENCE_decode_oer
Definition: constr_SEQUENCE.h:74
asn_TYPE_tag2member_s
Definition: constr_TYPE.h:289
SEQUENCE_decode_ber
ber_type_decoder_f SEQUENCE_decode_ber
Definition: constr_SEQUENCE.h:59
SEQUENCE_constraint
asn_constr_check_f SEQUENCE_constraint
Definition: constr_SEQUENCE.h:56
SEQUENCE_encode_aper
per_type_encoder_f SEQUENCE_encode_aper
Definition: constr_SEQUENCE.h:84
asn_SEQUENCE_specifics_s::tag2el
const asn_TYPE_tag2member_t * tag2el
Definition: constr_SEQUENCE.h:24
jer_type_encoder_f
asn_enc_rval_t() jer_type_encoder_f(const struct asn_TYPE_descriptor_s *type_descriptor, const asn_jer_constraints_t *constraints, const void *struct_ptr, int ilevel, enum jer_encoder_flags_e jer_flags, asn_app_consume_bytes_f *consume_bytes_cb, void *app_key)
Definition: jer_encoder.h:73
asn_SEQUENCE_specifics_s::ctx_offset
unsigned ctx_offset
Definition: constr_SEQUENCE.h:19
SEQUENCE_encode_xer
xer_type_encoder_f SEQUENCE_encode_xer
Definition: constr_SEQUENCE.h:65
jer_type_decoder_f
asn_dec_rval_t() jer_type_decoder_f(const asn_codec_ctx_t *opt_codec_ctx, const struct asn_TYPE_descriptor_s *type_descriptor, const asn_jer_constraints_t *constraints, void **struct_ptr, const void *buf_ptr, size_t size)
Definition: jer_decoder.h:32
asn_SEQUENCE_specifics_s::first_extension
signed first_extension
Definition: constr_SEQUENCE.h:40
SEQUENCE_decode_jer
jer_type_decoder_f SEQUENCE_decode_jer
Definition: constr_SEQUENCE.h:69
SEQUENCE_print
asn_struct_print_f SEQUENCE_print
Definition: constr_SEQUENCE.h:50
per_type_encoder_f
asn_enc_rval_t() per_type_encoder_f(const struct asn_TYPE_descriptor_s *type_descriptor, const asn_per_constraints_t *constraints, const void *struct_ptr, asn_per_outp_t *per_output)
Definition: per_encoder.h:20
asn_constr_check_f
int() asn_constr_check_f(const struct asn_TYPE_descriptor_s *type_descriptor, const void *struct_ptr, asn_app_constraint_failed_f *optional_callback, void *optional_app_key)
Definition: constraints.h:41
asn_SEQUENCE_specifics_t
struct asn_SEQUENCE_specifics_s asn_SEQUENCE_specifics_t
asn_SEQUENCE_specifics_s::oms
const int * oms
Definition: constr_SEQUENCE.h:31
asn_SEQUENCE_specifics_s
Definition: constr_SEQUENCE.h:14
SEQUENCE_copy
asn_struct_copy_f SEQUENCE_copy
Definition: constr_SEQUENCE.h:54
SEQUENCE_decode_aper
per_type_decoder_f SEQUENCE_decode_aper
Definition: constr_SEQUENCE.h:83
asn_SEQUENCE_specifics_s::tag2el_count
unsigned tag2el_count
Definition: constr_SEQUENCE.h:25
SEQUENCE_free
asn_struct_free_f SEQUENCE_free
Definition: constr_SEQUENCE.h:47
SEQUENCE_encode_oer
oer_type_encoder_f SEQUENCE_encode_oer
Definition: constr_SEQUENCE.h:75
asn_application.h
asn_SEQUENCE_specifics_s::aoms_count
unsigned aoms_count
Definition: constr_SEQUENCE.h:33
asn_struct_copy_f
int() asn_struct_copy_f(const struct asn_TYPE_descriptor_s *type_descriptor, void **struct_A, const void *struct_B)
Definition: constr_TYPE.h:150
asn_struct_free_f
void() asn_struct_free_f(const struct asn_TYPE_descriptor_s *type_descriptor, void *struct_ptr, enum asn_struct_free_method)
Definition: constr_TYPE.h:95
SEQUENCE_encode_jer
jer_type_encoder_f SEQUENCE_encode_jer
Definition: constr_SEQUENCE.h:70


etsi_its_cam_ts_coding
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:21:23