Peter Szilagyi | fbc56f9 | 2019-07-23 19:29:46 +0000 | [diff] [blame] | 1 | /*- |
| 2 | * Copyright (c) 2004-2017 Lev Walkin <vlm@lionet.info>. All rights reserved. |
| 3 | * Redistribution and modifications are permitted subject to BSD license. |
| 4 | */ |
| 5 | /* |
| 6 | * This type differs from the standard INTEGER in that it is modelled using |
| 7 | * the fixed machine type (long, int, short), so it can hold only values of |
| 8 | * limited length. There is no type (i.e., NativeInteger_t, any integer type |
| 9 | * will do). |
| 10 | * This type may be used when integer range is limited by subtype constraints. |
| 11 | */ |
| 12 | #ifndef _NativeInteger_H_ |
| 13 | #define _NativeInteger_H_ |
| 14 | |
| 15 | #include <asn_application.h> |
| 16 | #include <INTEGER.h> |
| 17 | |
| 18 | #ifdef __cplusplus |
| 19 | extern "C" { |
| 20 | #endif |
| 21 | |
| 22 | extern asn_TYPE_descriptor_t asn_DEF_NativeInteger; |
| 23 | extern asn_TYPE_operation_t asn_OP_NativeInteger; |
| 24 | |
| 25 | asn_struct_free_f NativeInteger_free; |
| 26 | asn_struct_print_f NativeInteger_print; |
| 27 | asn_struct_compare_f NativeInteger_compare; |
| 28 | ber_type_decoder_f NativeInteger_decode_ber; |
| 29 | der_type_encoder_f NativeInteger_encode_der; |
| 30 | xer_type_decoder_f NativeInteger_decode_xer; |
| 31 | xer_type_encoder_f NativeInteger_encode_xer; |
| 32 | oer_type_decoder_f NativeInteger_decode_oer; |
| 33 | oer_type_encoder_f NativeInteger_encode_oer; |
| 34 | per_type_decoder_f NativeInteger_decode_uper; |
| 35 | per_type_encoder_f NativeInteger_encode_uper; |
| 36 | per_type_decoder_f NativeInteger_decode_aper; |
| 37 | per_type_encoder_f NativeInteger_encode_aper; |
| 38 | asn_random_fill_f NativeInteger_random_fill; |
| 39 | |
| 40 | #define NativeInteger_constraint asn_generic_no_constraint |
| 41 | |
| 42 | #ifdef __cplusplus |
| 43 | } |
| 44 | #endif |
| 45 | |
| 46 | #endif /* _NativeInteger_H_ */ |