diff options
author | Bi-Ruei, Chiu <biruei.chiu@gmail.com> | 2017-08-20 01:25:45 +0800 |
---|---|---|
committer | Bi-Ruei, Chiu <biruei.chiu@gmail.com> | 2017-08-24 14:09:28 +0800 |
commit | 1f87ac0058bdf5345cc8dff5d98df09405e3dd2c (patch) | |
tree | 03f0e3f57b698d7b0f0d8dcc9a71e7c1041b305f /skeletons/UTCTime.h | |
parent | fadb26aaf14e07accdee7b656bda36644a91d7ad (diff) |
Move type operations to another structure
Every type has free, print, check_constraints, ber_decoder, der_encoder,
xer_decoder, xer_encoder, uper_decoder, uper_encoder and outmost_tag
operations. We move them out to a separate structure asn_TYPE_operation_t.
Combined with previous logic simplification, these operations are based
on ASN.1 basic types, constructed types and string types. So we can
reduce the space occupied by asn_TYPE_descriptor_t variables.
Diffstat (limited to 'skeletons/UTCTime.h')
-rw-r--r-- | skeletons/UTCTime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/skeletons/UTCTime.h b/skeletons/UTCTime.h index ed3af5a5..55370201 100644 --- a/skeletons/UTCTime.h +++ b/skeletons/UTCTime.h @@ -14,6 +14,7 @@ extern "C" { typedef OCTET_STRING_t UTCTime_t; /* Implemented via OCTET STRING */ extern asn_TYPE_descriptor_t asn_DEF_UTCTime; +extern asn_TYPE_operation_t asn_OP_UTCTime; asn_struct_print_f UTCTime_print; asn_constr_check_f UTCTime_constraint; |