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

Go to the source code of this file.

Classes

struct  ASN__PRIMITIVE_TYPE_s
 

Typedefs

typedef struct ASN__PRIMITIVE_TYPE_s ASN__PRIMITIVE_TYPE_t
 

Enumerations

enum  xer_pbd_rval {
  XPBD_SYSTEM_FAILURE, XPBD_DECODER_LIMIT, XPBD_BROKEN_ENCODING, XPBD_NOT_BODY_IGNORE,
  XPBD_BODY_CONSUMED
}
 

Functions

enum xer_pbd_rval() xer_primitive_body_decoder_f (asn_TYPE_descriptor_t *td, void *struct_ptr, const void *chunk_buf, size_t chunk_size)
 
asn_dec_rval_t xer_decode_primitive (asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *type_descriptor, void **struct_ptr, size_t struct_size, const char *opt_mname, const void *buf_ptr, size_t size, xer_primitive_body_decoder_f *prim_body_decoder)
 

Variables

asn_struct_free_f ASN__PRIMITIVE_TYPE_free
 
ber_type_decoder_f ber_decode_primitive
 
der_type_encoder_f der_encode_primitive
 

Typedef Documentation

◆ ASN__PRIMITIVE_TYPE_t

Enumeration Type Documentation

◆ xer_pbd_rval

Enumerator
XPBD_SYSTEM_FAILURE 
XPBD_DECODER_LIMIT 
XPBD_BROKEN_ENCODING 
XPBD_NOT_BODY_IGNORE 
XPBD_BODY_CONSUMED 

Definition at line 26 of file asn_codecs_prim.h.

Function Documentation

◆ xer_decode_primitive()

asn_dec_rval_t xer_decode_primitive ( asn_codec_ctx_t opt_codec_ctx,
asn_TYPE_descriptor_t type_descriptor,
void **  struct_ptr,
size_t  struct_size,
const char *  opt_mname,
const void *  buf_ptr,
size_t  size,
xer_primitive_body_decoder_f prim_body_decoder 
)

Definition at line 243 of file asn_codecs_prim.c.

References _ASN_DECODE_FAILED, ASN_DEBUG(), CALLOC, xdp_arg_s::decoded_something, xdp_arg_s::prim_body_decoder, RC_FAIL, RC_OK, RC_WMORE, xdp_arg_s::struct_key, xdp_arg_s::type_descriptor, xdp_arg_s::want_more, xer_decode__primitive_body(), xer_decode__unexpected_tag(), xer_decode_general(), asn_TYPE_descriptor_s::xml_tag, and XPBD_BODY_CONSUMED.

Referenced by BOOLEAN_decode_xer(), and INTEGER_decode_xer().

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

◆ xer_primitive_body_decoder_f()

enum xer_pbd_rval() xer_primitive_body_decoder_f ( asn_TYPE_descriptor_t td,
void *  struct_ptr,
const void *  chunk_buf,
size_t  chunk_size 
)

Variable Documentation

◆ ASN__PRIMITIVE_TYPE_free

asn_struct_free_f ASN__PRIMITIVE_TYPE_free

Definition at line 19 of file asn_codecs_prim.h.

◆ ber_decode_primitive

ber_type_decoder_f ber_decode_primitive

Definition at line 20 of file asn_codecs_prim.h.

◆ der_encode_primitive

der_type_encoder_f der_encode_primitive

Definition at line 21 of file asn_codecs_prim.h.

Referenced by INTEGER_encode_der().