2 * Copyright (c) 2007-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
3 * Redistribution and modifications are permitted subject to BSD license.
5 #ifndef _PER_OPENTYPE_H_
6 #define _PER_OPENTYPE_H_
12 asn_dec_rval_t uper_open_type_get(const asn_codec_ctx_t *opt_codec_ctx,
13 const asn_TYPE_descriptor_t *td,
14 const asn_per_constraints_t *constraints,
15 void **sptr, asn_per_data_t *pd);
17 int uper_open_type_skip(const asn_codec_ctx_t *opt_codec_ctx,
21 * X.691 (2015/08), #11.2
22 * Returns -1 if error is encountered. 0 if all OK.
24 int uper_open_type_put(const asn_TYPE_descriptor_t *td,
25 const asn_per_constraints_t *constraints,
26 const void *sptr, asn_per_outp_t *po);
28 asn_dec_rval_t aper_open_type_get(const asn_codec_ctx_t *opt_codec_ctx,
29 const asn_TYPE_descriptor_t *td,
30 const asn_per_constraints_t *constraints,
31 void **sptr, asn_per_data_t *pd);
34 int aper_open_type_skip(const asn_codec_ctx_t *opt_codec_ctx, asn_per_data_t *pd);
36 int aper_open_type_put(const asn_TYPE_descriptor_t *td,
37 const asn_per_constraints_t *constraints,
38 const void *sptr, asn_per_outp_t *po);
44 #endif /* _PER_OPENTYPE_H_ */