ITS
ber_decoder.h File Reference
#include <asn_application.h>
Include dependency graph for ber_decoder.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

◆ ber_type_decoder_f

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.

Function Documentation

◆ ber_check_tags()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ber_decode()

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 
)