SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / per_decoder.h
1 /*-
2  * Copyright (c) 2005-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
3  * Redistribution and modifications are permitted subject to BSD license.
4  */
5 #ifndef _PER_DECODER_H_
6 #define _PER_DECODER_H_
7
8 #include <asn_application.h>
9 #include <per_support.h>
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 struct asn_TYPE_descriptor_s;   /* Forward declaration */
16
17 /*
18  * Type of the type-specific PER decoder function.
19  */
20 typedef asn_dec_rval_t(per_type_decoder_f)(
21     const asn_codec_ctx_t *opt_codec_ctx,
22     const struct asn_TYPE_descriptor_s *type_descriptor,
23     const asn_per_constraints_t *constraints, void **struct_ptr,
24     asn_per_data_t *per_data);
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #endif  /* _PER_DECODER_H_ */