ITS
asn_codecs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  asn_codec_ctx_s
 
struct  asn_enc_rval_s
 
struct  asn_dec_rval_s
 

Macros

#define _ASN_ENCODE_FAILED
 
#define _ASN_ENCODED_OK(rval)
 
#define _ASN_DECODE_FAILED
 
#define _ASN_DECODE_STARVED
 

Typedefs

typedef struct asn_codec_ctx_s asn_codec_ctx_t
 
typedef struct asn_enc_rval_s asn_enc_rval_t
 
typedef struct asn_dec_rval_s asn_dec_rval_t
 

Enumerations

enum  asn_dec_rval_code_e { RC_OK, RC_WMORE, RC_FAIL }
 

Macro Definition Documentation

◆ _ASN_DECODE_FAILED

#define _ASN_DECODE_FAILED
Value:
do { \
asn_dec_rval_t tmp_error; \
tmp_error.code = RC_FAIL; \
tmp_error.consumed = 0; \
ASN_DEBUG("Failed to decode element %s", td ? td->name : ""); \
return tmp_error; \
} while(0)

Definition at line 91 of file asn_codecs.h.

Referenced by ber_decode_primitive(), BOOLEAN_decode_uper(), CHOICE_decode_uper(), NativeInteger_decode_uper(), NativeInteger_decode_xer(), SEQUENCE_decode_uper(), SET_OF_decode_uper(), uper_decode(), uper_open_type_get_complex(), uper_open_type_get_simple(), and xer_decode_primitive().

◆ _ASN_DECODE_STARVED

#define _ASN_DECODE_STARVED
Value:
do { \
asn_dec_rval_t tmp_error; \
tmp_error.code = RC_WMORE; \
tmp_error.consumed = 0; \
return tmp_error; \
} while(0)

Definition at line 98 of file asn_codecs.h.

Referenced by BOOLEAN_decode_uper(), CHOICE_decode_uper(), SEQUENCE_decode_uper(), SET_OF_decode_uper(), uper_open_type_get_complex(), and uper_open_type_get_simple().

◆ _ASN_ENCODE_FAILED

◆ _ASN_ENCODED_OK

Typedef Documentation

◆ asn_codec_ctx_t

◆ asn_dec_rval_t

◆ asn_enc_rval_t

Enumeration Type Documentation

◆ asn_dec_rval_code_e

Enumerator
RC_OK 
RC_WMORE 
RC_FAIL 

Definition at line 82 of file asn_codecs.h.