2 * Copyright (c) 2004-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
3 * Redistribution and modifications are permitted subject to BSD license.
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
10 * This type may be used when integer range is limited by subtype constraints.
12 #ifndef _NativeInteger_H_
13 #define _NativeInteger_H_
15 #include <asn_application.h>
22 extern asn_TYPE_descriptor_t asn_DEF_NativeInteger;
23 extern asn_TYPE_operation_t asn_OP_NativeInteger;
25 asn_struct_free_f NativeInteger_free;
27 #if !defined(ASN_DISABLE_PRINT_SUPPORT)
28 asn_struct_print_f NativeInteger_print;
29 #endif /* !defined(ASN_DISABLE_PRINT_SUPPORT) */
31 asn_struct_compare_f NativeInteger_compare;
33 #define NativeInteger_constraint asn_generic_no_constraint
35 #if !defined(ASN_DISABLE_BER_SUPPORT)
36 ber_type_decoder_f NativeInteger_decode_ber;
37 der_type_encoder_f NativeInteger_encode_der;
38 #endif /* !defined(ASN_DISABLE_BER_SUPPORT) */
40 #if !defined(ASN_DISABLE_XER_SUPPORT)
41 xer_type_decoder_f NativeInteger_decode_xer;
42 xer_type_encoder_f NativeInteger_encode_xer;
43 #endif /* !defined(ASN_DISABLE_XER_SUPPORT) */
45 #if !defined(ASN_DISABLE_JER_SUPPORT)
46 jer_type_encoder_f NativeInteger_encode_jer;
47 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
49 #if !defined(ASN_DISABLE_OER_SUPPORT)
50 oer_type_decoder_f NativeInteger_decode_oer;
51 oer_type_encoder_f NativeInteger_encode_oer;
52 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
54 #if !defined(ASN_DISABLE_UPER_SUPPORT)
55 per_type_decoder_f NativeInteger_decode_uper;
56 per_type_encoder_f NativeInteger_encode_uper;
57 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) */
58 #if !defined(ASN_DISABLE_APER_SUPPORT)
59 per_type_decoder_f NativeInteger_decode_aper;
60 per_type_encoder_f NativeInteger_encode_aper;
61 #endif /* !defined(ASN_DISABLE_APER_SUPPORT) */
63 #if !defined(ASN_DISABLE_RFILL_SUPPORT)
64 asn_random_fill_f NativeInteger_random_fill;
65 #endif /* !defined(ASN_DISABLE_RFILL_SUPPORT) */
71 #endif /* _NativeInteger_H_ */