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_uper(const asn_codec_ctx_t *opt_codec_ctx,
11 const asn_TYPE_descriptor_t *td,
12 const asn_per_constraints_t *constraints, void **sptr,
22 *sptr = MALLOC(sizeof(NULL_t));
31 * NULL type does not have content octets.
40 NULL_encode_uper(const asn_TYPE_descriptor_t *td,
41 const asn_per_constraints_t *constraints, const void *sptr,
43 asn_enc_rval_t er = {0,0,0};