Go to the documentation of this file.
16 long *native = (
long *)*sptr;
18 void *tmpintptr = &tmpint;
21 ASN_DEBUG(
"Decoding NativeInteger %s (APER)", td->
name);
24 native = (
long *)(*sptr =
CALLOC(1,
sizeof(*native)));
28 memset(&tmpint, 0,
sizeof tmpint);
31 if(rval.code ==
RC_OK) {
37 ASN_DEBUG(
"NativeInteger %s got value %ld",
57 native = *(
const long *)sptr;
59 ASN_DEBUG(
"Encoding NativeInteger %s %ld (APER)", td->name, native);
61 memset(&tmpint, 0,
sizeof(tmpint));
62 if((specs&&specs->field_unsigned)
#define CALLOC(nmemb, size)
asn_TYPE_descriptor_t asn_DEF_INTEGER
#define ASN__ENCODE_FAILED
asn_enc_rval_t NativeInteger_encode_aper(const asn_TYPE_descriptor_t *td, const asn_per_constraints_t *constraints, const void *sptr, asn_per_outp_t *po)
asn_dec_rval_t NativeInteger_decode_aper(const asn_codec_ctx_t *opt_codec_ctx, const asn_TYPE_descriptor_t *td, const asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd)
per_type_decoder_f INTEGER_decode_aper
per_type_encoder_f INTEGER_encode_aper
#define ASN__DECODE_FAILED
int asn_ulong2INTEGER(INTEGER_t *i, unsigned long l)
int asn_INTEGER2ulong(const INTEGER_t *i, unsigned long *l)
int asn_long2INTEGER(INTEGER_t *i, long l)
#define ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF, ptr)
int asn_INTEGER2long(const INTEGER_t *i, long *l)
etsi_its_denm_coding
Author(s): Jean-Pierre Busch
, Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:23:48