diff options
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2004-10-21 14:02:19 +0000 |
---|---|---|
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2004-10-21 14:02:19 +0000 |
commit | b848b2a0bf15d23259d31ab07d6ae67ec2785d1e (patch) | |
tree | d06e6bf66aabc4d9345ee7d14e5a03c36c5c3001 /skeletons/asn_codecs_prim.h | |
parent | cce2ddbed4d0a80abb772552cd067e22057b4003 (diff) |
brushing up
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@531 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'skeletons/asn_codecs_prim.h')
-rw-r--r-- | skeletons/asn_codecs_prim.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/skeletons/asn_codecs_prim.h b/skeletons/asn_codecs_prim.h index 69ee1069..c235f35b 100644 --- a/skeletons/asn_codecs_prim.h +++ b/skeletons/asn_codecs_prim.h @@ -17,16 +17,15 @@ ber_type_decoder_f ber_decode_primitive; der_type_encoder_f der_encode_primitive; /* - * Specific function to decode simple primitive values - * (INTEGER, ENUMERATED, REAL, OBJECT IDENTIFIER, etc). + * Specific function to decode simple primitive types. * Also see xer_decode_general() in xer_decoder.h */ asn_dec_rval_t xer_decode_primitive(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *type_descriptor, - ASN__PRIMITIVE_TYPE_t **struct_ptr, + void **struct_ptr, size_t struct_size, const char *opt_mname, void *buf_ptr, size_t size, - ssize_t (*prim_body_decode)(ASN__PRIMITIVE_TYPE_t *struct_ptr, + ssize_t (*prim_body_decode)(void *struct_ptr, void *chunk_buf, size_t chunk_size) ); |