SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / per_opentype.c
1 /*
2  * Copyright (c) 2007 Lev Walkin <vlm@lionet.info>. All rights reserved.
3  * Redistribution and modifications are permitted subject to BSD license.
4  */
5 #include <per_opentype.h>
6
7 /*
8  * Internal functions.
9  */
10
11 asn_dec_rval_t
12 uper_sot_suck(const asn_codec_ctx_t *ctx, const asn_TYPE_descriptor_t *td,
13               const asn_per_constraints_t *constraints, void **sptr,
14               asn_per_data_t *pd) {
15     asn_dec_rval_t rv;
16
17         (void)ctx;
18         (void)td;
19         (void)constraints;
20         (void)sptr;
21
22         while(per_get_few_bits(pd, 1) >= 0);
23
24         rv.code = RC_OK;
25         rv.consumed = pd->moved;
26
27         return rv;
28 }