blob: 886623966bdd0bdd6e4701ea5bd321d61856b722 [file] [log] [blame]
Lev Walkin9218bc12007-06-27 04:09:37 +00001/*
2 * Copyright (c) 2007 Lev Walkin <vlm@lionet.info>. All rights reserved.
3 * Redistribution and modifications are permitted subject to BSD license.
4 */
5#ifndef _PER_OPENTYPE_H_
6#define _PER_OPENTYPE_H_
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
Lev Walkin494fb702017-08-07 20:07:00 -070012asn_dec_rval_t uper_open_type_get(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, const asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd);
Lev Walkin9218bc12007-06-27 04:09:37 +000013
14int uper_open_type_skip(asn_codec_ctx_t *opt_codec_ctx, asn_per_data_t *pd);
15
Lev Walkina4a87212017-08-26 23:30:32 -070016/*
17 * X.691 (2015/08), #11.2
18 * Returns -1 if error is encountered. 0 if all OK.
19 */
20int uper_open_type_put(asn_TYPE_descriptor_t *td,
21 asn_per_constraints_t *constraints, void *sptr,
22 asn_per_outp_t *po);
Lev Walkin9218bc12007-06-27 04:09:37 +000023
24#ifdef __cplusplus
25}
26#endif
27
28#endif /* _PER_OPENTYPE_H_ */