Go to the documentation of this file.
11 #ifndef _CONSTR_TYPE_H_
12 #define _CONSTR_TYPE_H_
37 #if !defined(ASN_DISABLE_BER_SUPPORT)
38 #include <ber_decoder.h>
39 #include <der_encoder.h>
41 typedef void (ber_type_decoder_f)(void);
42 typedef void (der_type_encoder_f)(void);
45 #if !defined(ASN_DISABLE_XER_SUPPORT)
46 #include <xer_decoder.h>
47 #include <xer_encoder.h>
49 typedef void (xer_type_decoder_f)(void);
50 typedef void (xer_type_encoder_f)(void);
53 #if !defined(ASN_DISABLE_JER_SUPPORT)
61 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
71 #if !defined(ASN_DISABLE_RFILL_SUPPORT)
77 #if !defined(ASN_DISABLE_OER_SUPPORT)
78 #include <oer_decoder.h>
79 #include <oer_encoder.h>
81 typedef void (oer_type_decoder_f)(void);
82 typedef void (oer_type_encoder_f)(void);
102 #define ASN_STRUCT_FREE(asn_DEF, ptr) \
103 (asn_DEF).op->free_struct(&(asn_DEF), (ptr), ASFM_FREE_EVERYTHING)
112 #define ASN_STRUCT_RESET(asn_DEF, ptr) \
113 (asn_DEF).op->free_struct(&(asn_DEF), (ptr), ASFM_FREE_UNDERLYING_AND_RESET)
123 #define ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF, ptr) \
124 (asn_DEF).op->free_struct(&(asn_DEF), (ptr), ASFM_FREE_UNDERLYING)
131 const void *struct_ptr,
143 const void *struct_A,
144 const void *struct_B);
178 const void *parent_structure_ptr);
209 #if !defined(ASN_DISABLE_OER_SUPPORT)
212 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
215 #if !defined(ASN_DISABLE_JER_SUPPORT)
306 const void *struct_ptr);
317 const void *struct_src);
asn_outmost_tag_f * outmost_tag
asn_outmost_tag_f asn_TYPE_outmost_tag
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)
struct asn_TYPE_tag2member_s asn_TYPE_tag2member_t
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)
per_type_encoder_f * aper_encoder
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)
int() asn_struct_compare_f(const struct asn_TYPE_descriptor_s *type_descriptor, const void *struct_A, const void *struct_B)
asn_struct_free_f * free_struct
oer_type_decoder_f * oer_decoder
@ ASFM_FREE_UNDERLYING_AND_RESET
der_type_encoder_f * der_encoder
xer_type_decoder_f * xer_decoder
jer_type_encoder_f * jer_encoder
int asn_copy(const asn_TYPE_descriptor_t *td, void **struct_dst, const void *struct_src)
asn_struct_copy_f * copy_struct
struct asn_encoding_constraints_s asn_encoding_constraints_t
xer_type_encoder_f * xer_encoder
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)
asn_TYPE_descriptor_t * type
struct asn_struct_ctx_s asn_struct_ctx_t
struct asn_TYPE_member_s asn_TYPE_member_t
asn_random_fill_f * random_fill
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)
const ber_tlv_tag_t * tags
asn_type_selector_result_t() asn_type_selector_f(const struct asn_TYPE_descriptor_s *parent_type_descriptor, const void *parent_structure_ptr)
asn_TYPE_operation_t * op
per_type_decoder_f * aper_decoder
asn_struct_compare_f * compare_struct
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)
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)
int asn_fprint(FILE *stream, const asn_TYPE_descriptor_t *td, const void *struct_ptr)
asn_struct_print_f * print_struct
const struct asn_jer_constraints_s * jer_constraints
jer_type_decoder_f * jer_decoder
const struct asn_per_constraints_s * per_constraints
const ber_tlv_tag_t * all_tags
int() asn_app_consume_bytes_f(const void *buffer, size_t size, void *application_specific_key)
ber_tlv_tag_t() asn_outmost_tag_f(const struct asn_TYPE_descriptor_s *type_descriptor, const void *struct_ptr, int tag_mode, ber_tlv_tag_t tag)
struct asn_TYPE_member_s * elements
asn_constr_check_f * general_constraints
per_type_encoder_f * uper_encoder
per_type_decoder_f * uper_decoder
struct asn_TYPE_descriptor_s asn_TYPE_descriptor_t
struct asn_type_selector_result_s asn_type_selector_result_t
ber_type_decoder_f * ber_decoder
asn_encoding_constraints_t encoding_constraints
enum asn_TYPE_flags_e flags
int(* default_value_cmp)(const void *sptr)
const struct asn_TYPE_descriptor_s * type_descriptor
int() asn_struct_copy_f(const struct asn_TYPE_descriptor_s *type_descriptor, void **struct_A, const void *struct_B)
struct asn_TYPE_operation_s asn_TYPE_operation_t
void() asn_struct_free_f(const struct asn_TYPE_descriptor_s *type_descriptor, void *struct_ptr, enum asn_struct_free_method)
asn_type_selector_f * type_selector
const struct asn_oer_constraints_s * oer_constraints
asn_encoding_constraints_t encoding_constraints
oer_type_encoder_f * oer_encoder
int(* default_value_set)(void **sptr)
etsi_its_spatem_ts_coding
Author(s): Jean-Pierre Busch
, Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:29:28