ITS
constr_SET_OF.h
Go to the documentation of this file.
1 /*-
2  * Copyright (c) 2003 Lev Walkin <vlm@lionet.info>. All rights reserved.
3  * Redistribution and modifications are permitted subject to BSD license.
4  */
5 #ifndef _CONSTR_SET_OF_H_
6 #define _CONSTR_SET_OF_H_
7 
8 #include <asn_application.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 typedef struct asn_SET_OF_specifics_s {
15  /*
16  * Target structure description.
17  */
18  int struct_size; /* Size of the target structure. */
19  int ctx_offset; /* Offset of the asn_struct_ctx_t member */
20 
21  /* XER-specific stuff */
22  int as_XMLValueList; /* The member type must be encoded like this */
24 
25 /*
26  * A set specialized functions dealing with the SET OF type.
27  */
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
42 #endif /* _CONSTR_SET_OF_H_ */
xer_type_encoder_f SET_OF_encode_xer
Definition: constr_SET_OF.h:34
asn_struct_free_f SET_OF_free
Definition: constr_SET_OF.h:28
asn_struct_print_f SET_OF_print
Definition: constr_SET_OF.h:29
asn_dec_rval_t() ber_type_decoder_f(struct asn_codec_ctx_s *opt_codec_ctx, struct asn_TYPE_descriptor_s *type_descriptor, void **struct_ptr, const void *buf_ptr, size_t size, int tag_mode)
Definition: ber_decoder.h:32
asn_enc_rval_t() per_type_encoder_f(struct asn_TYPE_descriptor_s *type_descriptor, asn_per_constraints_t *constraints, void *struct_ptr, asn_per_outp_t *per_output)
Definition: per_encoder.h:58
asn_enc_rval_t() xer_type_encoder_f(struct asn_TYPE_descriptor_s *type_descriptor, void *struct_ptr, int ilevel, enum xer_encoder_flags_e xer_flags, asn_app_consume_bytes_f *consume_bytes_cb, void *app_key)
Definition: xer_encoder.h:46
void() asn_struct_free_f(struct asn_TYPE_descriptor_s *type_descriptor, void *struct_ptr, int free_contents_only)
Definition: constr_TYPE.h:53
der_type_encoder_f SET_OF_encode_der
Definition: constr_SET_OF.h:32
per_type_encoder_f SET_OF_encode_uper
Definition: constr_SET_OF.h:36
int() asn_constr_check_f(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:40
asn_enc_rval_t() der_type_encoder_f(struct asn_TYPE_descriptor_s *type_descriptor, void *struct_ptr, int tag_mode, ber_tlv_tag_t tag, asn_app_consume_bytes_f *consume_bytes_cb, void *app_key)
Definition: der_encoder.h:37
asn_constr_check_f SET_OF_constraint
Definition: constr_SET_OF.h:30
per_type_decoder_f SET_OF_decode_uper
Definition: constr_SET_OF.h:35
asn_dec_rval_t() xer_type_decoder_f(asn_codec_ctx_t *opt_codec_ctx, struct asn_TYPE_descriptor_s *type_descriptor, void **struct_ptr, const char *opt_mname, const void *buf_ptr, size_t size)
Definition: xer_decoder.h:29
asn_dec_rval_t() per_type_decoder_f(asn_codec_ctx_t *opt_codec_ctx, struct asn_TYPE_descriptor_s *type_descriptor, asn_per_constraints_t *constraints, void **struct_ptr, asn_per_data_t *per_data)
Definition: per_decoder.h:45
int() asn_struct_print_f(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:63
ber_type_decoder_f SET_OF_decode_ber
Definition: constr_SET_OF.h:31
xer_type_decoder_f SET_OF_decode_xer
Definition: constr_SET_OF.h:33
struct asn_SET_OF_specifics_s asn_SET_OF_specifics_t