SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / NativeEnumerated.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 ENUMERATED 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., NativeEnumerated_t, any integer type
9  * will do).
10  * This type may be used when integer range is limited by subtype constraints.
11  */
12 #ifndef _NativeEnumerated_H_
13 #define _NativeEnumerated_H_
14
15 #include <NativeInteger.h>
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 extern asn_TYPE_descriptor_t asn_DEF_NativeEnumerated;
22 extern asn_TYPE_operation_t asn_OP_NativeEnumerated;
23
24 #define NativeEnumerated_free NativeInteger_free
25
26 #if !defined(ASN_DISABLE_PRINT_SUPPORT)
27 #define NativeEnumerated_print NativeInteger_print
28 #endif  /* !defined(ASN_DISABLE_PRINT_SUPPORT) */
29
30 #define NativeEnumerated_compare NativeInteger_compare
31
32 #define NativeEnumerated_constraint asn_generic_no_constraint
33
34 #if !defined(ASN_DISABLE_BER_SUPPORT)
35 #define NativeEnumerated_decode_ber NativeInteger_decode_ber
36 #define NativeEnumerated_encode_der NativeInteger_encode_der
37 #endif  /* !defined(ASN_DISABLE_BER_SUPPORT) */
38
39 #if !defined(ASN_DISABLE_XER_SUPPORT)
40 #define NativeEnumerated_decode_xer NativeInteger_decode_xer
41 xer_type_encoder_f NativeEnumerated_encode_xer;
42 #endif  /* !defined(ASN_DISABLE_XER_SUPPORT) */
43
44 #if !defined(ASN_DISABLE_JER_SUPPORT)
45 jer_type_encoder_f NativeEnumerated_encode_jer;
46 #endif  /* !defined(ASN_DISABLE_JER_SUPPORT) */
47
48 #if !defined(ASN_DISABLE_OER_SUPPORT)
49 oer_type_decoder_f NativeEnumerated_decode_oer;
50 oer_type_encoder_f NativeEnumerated_encode_oer;
51 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
52
53 #if !defined(ASN_DISABLE_UPER_SUPPORT)
54 per_type_decoder_f NativeEnumerated_decode_uper;
55 per_type_encoder_f NativeEnumerated_encode_uper;
56 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) */
57 #if !defined(ASN_DISABLE_APER_SUPPORT)
58 per_type_decoder_f NativeEnumerated_decode_aper;
59 per_type_encoder_f NativeEnumerated_encode_aper;
60 #endif  /* !defined(ASN_DISABLE_APER_SUPPORT) */
61
62 #if !defined(ASN_DISABLE_RFILL_SUPPORT)
63 #define NativeEnumerated_random_fill NativeInteger_random_fill
64 #endif  /* !defined(ASN_DISABLE_RFILL_SUPPORT) */
65
66 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
67 int NativeEnumerated__compar_value2enum(
68         const void *ap,
69         const void *bp);
70 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
71
72 #ifdef __cplusplus
73 }
74 #endif
75
76 #endif  /* _NativeEnumerated_H_ */