]> git.stg.codes - stg.git/blob - libs/smux/include/stg/NativeInteger.h
Port to CMake, get rid of os_int.h.
[stg.git] / libs / smux / include / stg / NativeInteger.h
1 /*-
2  * Copyright (c) 2004 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
19 extern "C" {
20 #endif
21
22 extern asn_TYPE_descriptor_t asn_DEF_NativeInteger;
23
24 asn_struct_free_f  NativeInteger_free;
25 asn_struct_print_f NativeInteger_print;
26 ber_type_decoder_f NativeInteger_decode_ber;
27 der_type_encoder_f NativeInteger_encode_der;
28 xer_type_decoder_f NativeInteger_decode_xer;
29 xer_type_encoder_f NativeInteger_encode_xer;
30 per_type_decoder_f NativeInteger_decode_uper;
31 per_type_encoder_f NativeInteger_encode_uper;
32
33 #ifdef __cplusplus
34 }
35 #endif
36
37 #endif  /* _NativeInteger_H_ */