ISSUE ID:- RICAPP-216
[ric-app/bouncer.git] / Bouncer / e2sm_kpm / headers / NativeReal.h
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 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).
9  * Use of this type is normally enabled by -fnative-types.
10  */
11 #ifndef ASN_TYPE_NativeReal_H
12 #define ASN_TYPE_NativeReal_H
13
14 #include <asn_application.h>
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 typedef struct asn_NativeReal_specifics_s {
21     unsigned float_size; /* sizeof(float) or sizeof(double) */
22 } asn_NativeReal_specifics_t;
23
24 extern asn_TYPE_descriptor_t asn_DEF_NativeReal;
25 extern asn_TYPE_operation_t asn_OP_NativeReal;
26
27 asn_struct_free_f  NativeReal_free;
28 asn_struct_print_f NativeReal_print;
29 asn_struct_compare_f NativeReal_compare;
30 ber_type_decoder_f NativeReal_decode_ber;
31 der_type_encoder_f NativeReal_encode_der;
32 per_type_decoder_f NativeReal_decode_uper;
33 per_type_encoder_f NativeReal_encode_uper;
34 per_type_decoder_f NativeReal_decode_aper;
35 per_type_encoder_f NativeReal_encode_aper;
36 oer_type_decoder_f NativeReal_decode_oer;
37 oer_type_encoder_f NativeReal_encode_oer;
38 xer_type_decoder_f NativeReal_decode_xer;
39 xer_type_encoder_f NativeReal_encode_xer;
40 asn_random_fill_f  NativeReal_random_fill;
41
42 #define NativeReal_constraint  asn_generic_no_constraint
43
44 #ifdef __cplusplus
45 }
46 #endif
47
48 #endif  /* ASN_TYPE_NativeReal_H */