diff options
Diffstat (limited to 'include/asn1c/constr_CHOICE.h')
-rw-r--r-- | include/asn1c/constr_CHOICE.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asn1c/constr_CHOICE.h b/include/asn1c/constr_CHOICE.h index 83404e6..ddcbb39 100644 --- a/include/asn1c/constr_CHOICE.h +++ b/include/asn1c/constr_CHOICE.h @@ -12,7 +12,7 @@ extern "C" { #endif -typedef struct asn_CHOICE_specifics_s { +typedef const struct asn_CHOICE_specifics_s { /* * Target structure description. */ @@ -24,7 +24,7 @@ typedef struct asn_CHOICE_specifics_s { /* * Tags to members mapping table. */ - asn_TYPE_tag2member_t *tag2el; + const asn_TYPE_tag2member_t *tag2el; int tag2el_count; /* Canonical ordering of CHOICE elements, for PER */ @@ -48,6 +48,8 @@ xer_type_decoder_f CHOICE_decode_xer; xer_type_encoder_f CHOICE_encode_xer; per_type_decoder_f CHOICE_decode_uper; per_type_encoder_f CHOICE_encode_uper; +per_type_decoder_f CHOICE_decode_aper; +per_type_encoder_f CHOICE_encode_aper; asn_outmost_tag_f CHOICE_outmost_tag; #ifdef __cplusplus |