| 1 |
|
| 2 |
|
| 3 |
|
| 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; |
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
asn_dec_rval_t uper_decode_complete(struct asn_codec_ctx_s *opt_codec_ctx, |
| 22 |
struct asn_TYPE_descriptor_s *type_descriptor, |
| 23 |
void **struct_ptr, |
| 24 |
const void *buffer, |
| 25 |
size_t size |
| 26 |
); |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
asn_dec_rval_t uper_decode(struct asn_codec_ctx_s *opt_codec_ctx, |
| 33 |
struct asn_TYPE_descriptor_s *type_descriptor, |
| 34 |
void **struct_ptr, |
| 35 |
const void *buffer, |
| 36 |
size_t size, |
| 37 |
int skip_bits, |
| 38 |
int unused_bits |
| 39 |
); |
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
typedef asn_dec_rval_t (per_type_decoder_f)(asn_codec_ctx_t *opt_codec_ctx, |
| 46 |
struct asn_TYPE_descriptor_s *type_descriptor, |
| 47 |
asn_per_constraints_t *constraints, |
| 48 |
void **struct_ptr, |
| 49 |
asn_per_data_t *per_data |
| 50 |
); |
| 51 |
|
| 52 |
#ifdef __cplusplus |
| 53 |
} |
| 54 |
#endif |
| 55 |
|
| 56 |
#endif |