Lev Walkin | 41ba1f2 | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 1 | /*- |
| 2 | * Copyright (c) 2004 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 REAL in that it is modelled using |
| 7 | * the fixed machine type (double), so it can hold only values of |
| 8 | * limited precision. There is no explicit type (i.e., NativeReal_t). |
Lev Walkin | 725883b | 2006-10-09 12:07:58 +0000 | [diff] [blame] | 9 | * Use of this type is normally enabled by -fnative-types. |
Lev Walkin | 41ba1f2 | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 10 | */ |
| 11 | #ifndef ASN_TYPE_NativeReal_H |
| 12 | #define ASN_TYPE_NativeReal_H |
| 13 | |
Lev Walkin | 11c3e17 | 2004-09-24 21:00:50 +0000 | [diff] [blame] | 14 | #include <asn_application.h> |
Lev Walkin | 41ba1f2 | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 15 | |
Lev Walkin | 21b41ac | 2005-07-24 09:03:44 +0000 | [diff] [blame] | 16 | #ifdef __cplusplus |
| 17 | extern "C" { |
| 18 | #endif |
| 19 | |
Lev Walkin | 5e03376 | 2004-09-29 13:26:15 +0000 | [diff] [blame] | 20 | extern asn_TYPE_descriptor_t asn_DEF_NativeReal; |
Lev Walkin | 41ba1f2 | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 21 | |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 22 | asn_struct_free_f NativeReal_free; |
| 23 | asn_struct_print_f NativeReal_print; |
Lev Walkin | 41ba1f2 | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 24 | ber_type_decoder_f NativeReal_decode_ber; |
| 25 | der_type_encoder_f NativeReal_encode_der; |
Lev Walkin | 8471cec | 2004-10-21 14:02:19 +0000 | [diff] [blame] | 26 | xer_type_decoder_f NativeReal_decode_xer; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 27 | xer_type_encoder_f NativeReal_encode_xer; |
Lev Walkin | 725883b | 2006-10-09 12:07:58 +0000 | [diff] [blame] | 28 | per_type_decoder_f NativeReal_decode_uper; |
| 29 | per_type_encoder_f NativeReal_encode_uper; |
Harald Welte | 498c971 | 2015-08-30 16:33:07 +0200 | [diff] [blame^] | 30 | per_type_decoder_f NativeReal_decode_aper; |
| 31 | per_type_encoder_f NativeReal_encode_aper; |
Lev Walkin | 41ba1f2 | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 32 | |
Lev Walkin | 21b41ac | 2005-07-24 09:03:44 +0000 | [diff] [blame] | 33 | #ifdef __cplusplus |
| 34 | } |
| 35 | #endif |
| 36 | |
Lev Walkin | 41ba1f2 | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 37 | #endif /* ASN_TYPE_NativeReal_H */ |