8666f331e3cdddde837b0bdda498eea20a8aa63c
[sim/e2-interface.git] / e2sim / previous / ASN1c / NativeInteger.h
1 /*****************************************************************************
2 #                                                                            *
3 # Copyright 2019 AT&T Intellectual Property                                  *
4 #                                                                            *
5 # Licensed under the Apache License, Version 2.0 (the "License");            *
6 # you may not use this file except in compliance with the License.           *
7 # You may obtain a copy of the License at                                    *
8 #                                                                            *
9 #      http://www.apache.org/licenses/LICENSE-2.0                            *
10 #                                                                            *
11 # Unless required by applicable law or agreed to in writing, software        *
12 # distributed under the License is distributed on an "AS IS" BASIS,          *
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
14 # See the License for the specific language governing permissions and        *
15 # limitations under the License.                                             *
16 #                                                                            *
17 ******************************************************************************/
18
19 /*-
20  * Copyright (c) 2004-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
21  * Redistribution and modifications are permitted subject to BSD license.
22  */
23 /*
24  * This type differs from the standard INTEGER in that it is modelled using
25  * the fixed machine type (long, int, short), so it can hold only values of
26  * limited length. There is no type (i.e., NativeInteger_t, any integer type
27  * will do).
28  * This type may be used when integer range is limited by subtype constraints.
29  */
30 #ifndef _NativeInteger_H_
31 #define _NativeInteger_H_
32
33 #include <asn_application.h>
34 #include <INTEGER.h>
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40 extern asn_TYPE_descriptor_t asn_DEF_NativeInteger;
41 extern asn_TYPE_operation_t asn_OP_NativeInteger;
42
43 asn_struct_free_f  NativeInteger_free;
44 asn_struct_print_f NativeInteger_print;
45 asn_struct_compare_f NativeInteger_compare;
46 ber_type_decoder_f NativeInteger_decode_ber;
47 der_type_encoder_f NativeInteger_encode_der;
48 xer_type_decoder_f NativeInteger_decode_xer;
49 xer_type_encoder_f NativeInteger_encode_xer;
50 oer_type_decoder_f NativeInteger_decode_oer;
51 oer_type_encoder_f NativeInteger_encode_oer;
52 per_type_decoder_f NativeInteger_decode_uper;
53 per_type_encoder_f NativeInteger_encode_uper;
54 per_type_decoder_f NativeInteger_decode_aper;
55 per_type_encoder_f NativeInteger_encode_aper;
56 asn_random_fill_f  NativeInteger_random_fill;
57
58 #define NativeInteger_constraint  asn_generic_no_constraint
59
60 #ifdef __cplusplus
61 }
62 #endif
63
64 #endif  /* _NativeInteger_H_ */