SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / uper_opentype.h
1 /*
2  * Copyright (c) 2007-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
3  * Redistribution and modifications are permitted subject to BSD license.
4  */
5 #ifndef _UPER_OPENTYPE_H_
6 #define _UPER_OPENTYPE_H_
7
8 #include <per_opentype.h>
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 asn_dec_rval_t uper_open_type_get(const asn_codec_ctx_t *opt_codec_ctx,
15                                   const asn_TYPE_descriptor_t *td,
16                                   const asn_per_constraints_t *constraints,
17                                   void **sptr, asn_per_data_t *pd);
18
19 int uper_open_type_skip(const asn_codec_ctx_t *opt_codec_ctx,
20                         asn_per_data_t *pd);
21
22 /*
23  * X.691 (2015/08), #11.2
24  * Returns -1 if error is encountered. 0 if all OK.
25  */
26 int uper_open_type_put(const asn_TYPE_descriptor_t *td,
27                        const asn_per_constraints_t *constraints,
28                        const void *sptr, asn_per_outp_t *po);
29
30 #ifdef __cplusplus
31 }
32 #endif
33
34 #endif  /* _UPER_OPENTYPE_H_ */