blob: 68a81d9b03727c83400ac869241fe2e0a54d74ce [file] [log] [blame]
Lev Walkin41ba1f22004-09-14 12:46:35 +00001/*-
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 Walkin725883b2006-10-09 12:07:58 +00009 * Use of this type is normally enabled by -fnative-types.
Lev Walkin41ba1f22004-09-14 12:46:35 +000010 */
11#ifndef ASN_TYPE_NativeReal_H
12#define ASN_TYPE_NativeReal_H
13
Lev Walkin11c3e172004-09-24 21:00:50 +000014#include <asn_application.h>
Lev Walkin41ba1f22004-09-14 12:46:35 +000015
Lev Walkin21b41ac2005-07-24 09:03:44 +000016#ifdef __cplusplus
17extern "C" {
18#endif
19
Lev Walkin5e033762004-09-29 13:26:15 +000020extern asn_TYPE_descriptor_t asn_DEF_NativeReal;
Lev Walkin41ba1f22004-09-14 12:46:35 +000021
Lev Walkina9cc46e2004-09-22 16:06:28 +000022asn_struct_free_f NativeReal_free;
23asn_struct_print_f NativeReal_print;
Lev Walkin41ba1f22004-09-14 12:46:35 +000024ber_type_decoder_f NativeReal_decode_ber;
25der_type_encoder_f NativeReal_encode_der;
Lev Walkin8471cec2004-10-21 14:02:19 +000026xer_type_decoder_f NativeReal_decode_xer;
Lev Walkina9cc46e2004-09-22 16:06:28 +000027xer_type_encoder_f NativeReal_encode_xer;
Lev Walkin725883b2006-10-09 12:07:58 +000028per_type_decoder_f NativeReal_decode_uper;
29per_type_encoder_f NativeReal_encode_uper;
Lev Walkin41ba1f22004-09-14 12:46:35 +000030
Lev Walkin21b41ac2005-07-24 09:03:44 +000031#ifdef __cplusplus
32}
33#endif
34
Lev Walkin41ba1f22004-09-14 12:46:35 +000035#endif /* ASN_TYPE_NativeReal_H */