Lev Walkin | 9218bc1 | 2007-06-27 04:09:37 +0000 | [diff] [blame] | 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 | #ifndef _PER_OPENTYPE_H_ |
| 6 | #define _PER_OPENTYPE_H_ |
| 7 | |
| 8 | #ifdef __cplusplus |
| 9 | extern "C" { |
| 10 | #endif |
| 11 | |
Lev Walkin | afbf2a9 | 2017-09-12 23:30:27 -0700 | [diff] [blame] | 12 | asn_dec_rval_t uper_open_type_get(const asn_codec_ctx_t *opt_codec_ctx, |
| 13 | asn_TYPE_descriptor_t *td, |
| 14 | const asn_per_constraints_t *constraints, |
| 15 | void **sptr, asn_per_data_t *pd); |
Lev Walkin | 9218bc1 | 2007-06-27 04:09:37 +0000 | [diff] [blame] | 16 | |
Lev Walkin | afbf2a9 | 2017-09-12 23:30:27 -0700 | [diff] [blame] | 17 | int uper_open_type_skip(const asn_codec_ctx_t *opt_codec_ctx, |
| 18 | asn_per_data_t *pd); |
Lev Walkin | 9218bc1 | 2007-06-27 04:09:37 +0000 | [diff] [blame] | 19 | |
Lev Walkin | a4a8721 | 2017-08-26 23:30:32 -0700 | [diff] [blame] | 20 | /* |
| 21 | * X.691 (2015/08), #11.2 |
| 22 | * Returns -1 if error is encountered. 0 if all OK. |
| 23 | */ |
| 24 | int uper_open_type_put(asn_TYPE_descriptor_t *td, |
Lev Walkin | a5972be | 2017-09-29 23:15:58 -0700 | [diff] [blame] | 25 | const asn_per_constraints_t *constraints, void *sptr, |
Lev Walkin | a4a8721 | 2017-08-26 23:30:32 -0700 | [diff] [blame] | 26 | asn_per_outp_t *po); |
Lev Walkin | 9218bc1 | 2007-06-27 04:09:37 +0000 | [diff] [blame] | 27 | |
| 28 | #ifdef __cplusplus |
| 29 | } |
| 30 | #endif |
| 31 | |
| 32 | #endif /* _PER_OPENTYPE_H_ */ |