SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / NULL_jer.c
1 /*
2  * Copyright (c) 2017 Lev Walkin <vlm@lionet.info>.
3  * All rights reserved.
4  * Redistribution and modifications are permitted subject to BSD license.
5  */
6 #include <asn_internal.h>
7 #include <asn_codecs_prim.h>
8 #include <NULL.h>
9
10 asn_enc_rval_t
11 NULL_encode_jer(const asn_TYPE_descriptor_t *td, const void *sptr, int ilevel,
12                 enum jer_encoder_flags_e flags, asn_app_consume_bytes_f *cb,
13                 void *app_key) {
14     asn_enc_rval_t er = {0,0,0};
15
16     (void)td;
17     (void)sptr;
18     (void)ilevel;
19     (void)flags;
20     (void)cb;
21     (void)app_key;
22
23     /* XMLNullValue is empty */
24     er.encoded = 0;
25     ASN__ENCODED_OK(er);
26 }