2 * Copyright (c) 2005-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
3 * Redistribution and modifications are permitted subject to BSD license.
5 #ifndef _PER_DECODER_H_
6 #define _PER_DECODER_H_
8 #include <asn_application.h>
9 #include <per_support.h>
15 struct asn_TYPE_descriptor_s; /* Forward declaration */
18 * Type of the type-specific PER decoder function.
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);
30 #endif /* _PER_DECODER_H_ */