diff options
author | Lev Walkin <vlm@lionet.info> | 2017-08-10 02:14:59 -0700 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2017-08-10 02:52:25 -0700 |
commit | cd2f48eb5a20f315faca51220bad8cc3219937e0 (patch) | |
tree | c49727f5157fddb9bb322741d3b78d1121818557 /skeletons/NULL.c | |
parent | 086ee9a35570996b0903ea47c8937d094868eed1 (diff) |
structure comparison functions
Diffstat (limited to 'skeletons/NULL.c')
-rw-r--r-- | skeletons/NULL.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/skeletons/NULL.c b/skeletons/NULL.c index 2a88e7e0..b5991b8e 100644 --- a/skeletons/NULL.c +++ b/skeletons/NULL.c @@ -18,6 +18,7 @@ asn_TYPE_descriptor_t asn_DEF_NULL = { "NULL", BOOLEAN_free, NULL_print, + NULL_compare, asn_generic_no_constraint, BOOLEAN_decode_ber, /* Implemented in terms of BOOLEAN */ NULL_encode_der, /* Special handling of DER encoding */ @@ -108,6 +109,14 @@ NULL_decode_xer(asn_codec_ctx_t *opt_codec_ctx, } int +NULL_compare(const asn_TYPE_descriptor_t *td, const void *a, const void *b) { + (void)td; + (void)a; + (void)b; + return 0; +} + +int NULL_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { |