Classes | Macros | Typedefs | Enumerations
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_dec_rval_s
 
struct  asn_enc_rval_s
 

Macros

#define ASN__DECODE_FAILED
 
#define ASN__DECODE_STARVED
 
#define ASN__ENCODE_FAILED
 
#define ASN__ENCODED_OK(rval)
 

Typedefs

typedef struct asn_codec_ctx_s asn_codec_ctx_t
 
typedef struct asn_dec_rval_s asn_dec_rval_t
 
typedef struct asn_enc_rval_s asn_enc_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 90 of file asn_codecs.h.

◆ 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 97 of file asn_codecs.h.

◆ ASN__ENCODE_FAILED

#define ASN__ENCODE_FAILED
Value:
do { \
asn_enc_rval_t tmp_error; \
tmp_error.encoded = -1; \
tmp_error.failed_type = td; \
tmp_error.structure_ptr = sptr; \
ASN_DEBUG("Failed to encode element %s", td ? td->name : ""); \
return tmp_error; \
} while(0)

Definition at line 59 of file asn_codecs.h.

◆ ASN__ENCODED_OK

#define ASN__ENCODED_OK (   rval)
Value:
do { \
rval.structure_ptr = 0; \
rval.failed_type = 0; \
return rval; \
} while(0)

Definition at line 67 of file asn_codecs.h.

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 81 of file asn_codecs.h.

RC_WMORE
@ RC_WMORE
Definition: asn_codecs.h:83
RC_FAIL
@ RC_FAIL
Definition: asn_codecs.h:84


etsi_its_spatem_ts_coding
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:29:29