blob: c74406a8a9c61cd0f8cf2dcf18356f0814619c03 [file] [log] [blame]
sjana76e88d22020-03-19 13:24:39 -04001/*-
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 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
9 * will do).
10 * This type may be used when integer range is limited by subtype constraints.
11 */
12#ifndef _NativeInteger_H_
13#define _NativeInteger_H_
14
15#include <asn_application.h>
16#include <INTEGER.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22extern asn_TYPE_descriptor_t asn_DEF_NativeInteger;
23extern asn_TYPE_operation_t asn_OP_NativeInteger;
24
25asn_struct_free_f NativeInteger_free;
26asn_struct_print_f NativeInteger_print;
27asn_struct_compare_f NativeInteger_compare;
28ber_type_decoder_f NativeInteger_decode_ber;
29der_type_encoder_f NativeInteger_encode_der;
30xer_type_decoder_f NativeInteger_decode_xer;
31xer_type_encoder_f NativeInteger_encode_xer;
32oer_type_decoder_f NativeInteger_decode_oer;
33oer_type_encoder_f NativeInteger_encode_oer;
34per_type_decoder_f NativeInteger_decode_uper;
35per_type_encoder_f NativeInteger_encode_uper;
36per_type_decoder_f NativeInteger_decode_aper;
37per_type_encoder_f NativeInteger_encode_aper;
38asn_random_fill_f NativeInteger_random_fill;
39
40#define NativeInteger_constraint asn_generic_no_constraint
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif /* _NativeInteger_H_ */