ITS
|
#include <asn_application.h>
Go to the source code of this file.
Typedefs | |
typedef 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) |
Functions | |
asn_dec_rval_t | ber_decode (struct asn_codec_ctx_s *opt_codec_ctx, struct asn_TYPE_descriptor_s *type_descriptor, void **struct_ptr, const void *buffer, size_t size) |
asn_dec_rval_t | ber_check_tags (struct asn_codec_ctx_s *opt_codec_ctx, struct asn_TYPE_descriptor_s *type_descriptor, asn_struct_ctx_t *opt_ctx, const void *ptr, size_t size, int tag_mode, int last_tag_form, ber_tlv_len_t *last_length, int *opt_tlv_form) |
typedef 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 at line 32 of file ber_decoder.h.
asn_dec_rval_t ber_check_tags | ( | struct asn_codec_ctx_s * | opt_codec_ctx, |
struct asn_TYPE_descriptor_s * | type_descriptor, | ||
asn_struct_ctx_t * | opt_ctx, | ||
const void * | ptr, | ||
size_t | size, | ||
int | tag_mode, | ||
int | last_tag_form, | ||
ber_tlv_len_t * | last_length, | ||
int * | opt_tlv_form | ||
) |
Definition at line 65 of file ber_decoder.c.
References _ASN_STACK_OVERFLOW_CHECK(), ADVANCE, ASN_DEBUG(), ber_fetch_length(), ber_fetch_tag(), BER_TLV_CONSTRUCTED, ber_tlv_tag_string(), asn_TYPE_descriptor_s::name, RC_FAIL, RC_OK, RC_WMORE, RETURN, asn_struct_ctx_s::step, asn_TYPE_descriptor_s::tags, and asn_TYPE_descriptor_s::tags_count.
Referenced by ber_decode_primitive(), BOOLEAN_decode_ber(), CHOICE_decode_ber(), NativeInteger_decode_ber(), OCTET_STRING_decode_ber(), SEQUENCE_decode_ber(), and SET_OF_decode_ber().
asn_dec_rval_t ber_decode | ( | struct asn_codec_ctx_s * | opt_codec_ctx, |
struct asn_TYPE_descriptor_s * | type_descriptor, | ||
void ** | struct_ptr, | ||
const void * | buffer, | ||
size_t | size | ||
) |
Definition at line 30 of file ber_decoder.c.
References _ASN_DEFAULT_STACK_MAX, asn_TYPE_descriptor_s::ber_decoder, asn_codec_ctx_s::max_stack_size, and xdp_arg_s::type_descriptor.