3 * Copyright (c) 2004-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
4 * Redistribution and modifications are permitted subject to BSD license.
7 * This type differs from the standard ENUMERATED in that it is modelled using
8 * the fixed machine type (long, int, short), so it can hold only values of
9 * limited length. There is no type (i.e., NativeEnumerated_t, any integer type
11 * This type may be used when integer range is limited by subtype constraints.
13 #ifndef _NativeEnumerated_H_
14 #define _NativeEnumerated_H_
16 #include <NativeInteger.h>
22 extern asn_TYPE_descriptor_t asn_DEF_NativeEnumerated;
23 extern asn_TYPE_operation_t asn_OP_NativeEnumerated;
25 xer_type_encoder_f NativeEnumerated_encode_xer;
26 oer_type_decoder_f NativeEnumerated_decode_oer;
27 oer_type_encoder_f NativeEnumerated_encode_oer;
28 per_type_decoder_f NativeEnumerated_decode_uper;
29 per_type_encoder_f NativeEnumerated_encode_uper;
30 per_type_decoder_f NativeEnumerated_decode_aper;
31 per_type_encoder_f NativeEnumerated_encode_aper;
33 #define NativeEnumerated_free NativeInteger_free
34 #define NativeEnumerated_print NativeInteger_print
35 #define NativeEnumerated_compare NativeInteger_compare
36 #define NativeEnumerated_random_fill NativeInteger_random_fill
37 #define NativeEnumerated_constraint asn_generic_no_constraint
38 #define NativeEnumerated_decode_ber NativeInteger_decode_ber
39 #define NativeEnumerated_encode_der NativeInteger_encode_der
40 #define NativeEnumerated_decode_xer NativeInteger_decode_xer
46 #endif /* _NativeEnumerated_H_ */