2 * Copyright (c) 2017 Lev Walkin <vlm@lionet.info>.
4 * Redistribution and modifications are permitted subject to BSD license.
6 #include <asn_internal.h>
10 NULL_decode_aper(const asn_codec_ctx_t *opt_codec_ctx,
11 const asn_TYPE_descriptor_t *td,
12 const asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) {
13 asn_dec_rval_t rv = {RC_OK, 0};
21 *sptr = MALLOC(sizeof(NULL_t));
30 * NULL type does not have content octets.
40 NULL_encode_aper(const asn_TYPE_descriptor_t *td,
41 const asn_per_constraints_t *constraints,
42 const void *sptr, asn_per_outp_t *po) {
43 asn_enc_rval_t er = {0,0,0};