blob: 459f0e633f697447863de03535d4dc9da9ce2c42 [file] [log] [blame]
rajalakshmisv21b61dd2021-12-07 04:53:03 +00001/*
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
18extern "C" {
19#endif
20
21extern asn_TYPE_descriptor_t asn_DEF_NativeEnumerated;
22extern asn_TYPE_operation_t asn_OP_NativeEnumerated;
23
24xer_type_encoder_f NativeEnumerated_encode_xer;
25oer_type_decoder_f NativeEnumerated_decode_oer;
26oer_type_encoder_f NativeEnumerated_encode_oer;
27per_type_decoder_f NativeEnumerated_decode_uper;
28per_type_encoder_f NativeEnumerated_encode_uper;
29per_type_decoder_f NativeEnumerated_decode_aper;
30per_type_encoder_f NativeEnumerated_encode_aper;
31
32#define NativeEnumerated_free NativeInteger_free
33#define NativeEnumerated_print NativeInteger_print
34#define NativeEnumerated_compare NativeInteger_compare
35#define NativeEnumerated_random_fill NativeInteger_random_fill
36#define NativeEnumerated_constraint asn_generic_no_constraint
37#define NativeEnumerated_decode_ber NativeInteger_decode_ber
38#define NativeEnumerated_encode_der NativeInteger_encode_der
39#define NativeEnumerated_decode_xer NativeInteger_decode_xer
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif /* _NativeEnumerated_H_ */