d1de01bce10f0a970853e09918d94c428707a66d
[ric-app/kpimon.git] / asn1c_defs / all-defs / NativeEnumerated.h
1 /*\r
2  * Copyright (c) 2004-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.\r
3  * Redistribution and modifications are permitted subject to BSD license.\r
4  */\r
5 /*\r
6  * This type differs from the standard ENUMERATED in that it is modelled using\r
7  * the fixed machine type (long, int, short), so it can hold only values of\r
8  * limited length. There is no type (i.e., NativeEnumerated_t, any integer type\r
9  * will do).\r
10  * This type may be used when integer range is limited by subtype constraints.\r
11  */\r
12 #ifndef _NativeEnumerated_H_\r
13 #define _NativeEnumerated_H_\r
14 \r
15 #include <NativeInteger.h>\r
16 \r
17 #ifdef __cplusplus\r
18 extern "C" {\r
19 #endif\r
20 \r
21 extern asn_TYPE_descriptor_t asn_DEF_NativeEnumerated;\r
22 extern asn_TYPE_operation_t asn_OP_NativeEnumerated;\r
23 \r
24 xer_type_encoder_f NativeEnumerated_encode_xer;\r
25 oer_type_decoder_f NativeEnumerated_decode_oer;\r
26 oer_type_encoder_f NativeEnumerated_encode_oer;\r
27 per_type_decoder_f NativeEnumerated_decode_uper;\r
28 per_type_encoder_f NativeEnumerated_encode_uper;\r
29 per_type_decoder_f NativeEnumerated_decode_aper;\r
30 per_type_encoder_f NativeEnumerated_encode_aper;\r
31 \r
32 #define NativeEnumerated_free       NativeInteger_free\r
33 #define NativeEnumerated_print      NativeInteger_print\r
34 #define NativeEnumerated_compare    NativeInteger_compare\r
35 #define NativeEnumerated_random_fill NativeInteger_random_fill\r
36 #define NativeEnumerated_constraint asn_generic_no_constraint\r
37 #define NativeEnumerated_decode_ber NativeInteger_decode_ber\r
38 #define NativeEnumerated_encode_der NativeInteger_encode_der\r
39 #define NativeEnumerated_decode_xer NativeInteger_decode_xer\r
40 \r
41 #ifdef __cplusplus\r
42 }\r
43 #endif\r
44 \r
45 #endif  /* _NativeEnumerated_H_ */\r