Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 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 | |
Lev Walkin | 11c3e17 | 2004-09-24 21:00:50 +0000 | [diff] [blame] | 15 | #include <asn_application.h> |
Lev Walkin | e0b56e0 | 2005-02-25 12:10:27 +0000 | [diff] [blame] | 16 | #include <INTEGER.h> |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 17 | |
Lev Walkin | 5e03376 | 2004-09-29 13:26:15 +0000 | [diff] [blame] | 18 | extern asn_TYPE_descriptor_t asn_DEF_NativeInteger; |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 19 | |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 20 | asn_struct_free_f NativeInteger_free; |
| 21 | asn_struct_print_f NativeInteger_print; |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 22 | ber_type_decoder_f NativeInteger_decode_ber; |
| 23 | der_type_encoder_f NativeInteger_encode_der; |
Lev Walkin | 435cb28 | 2004-10-21 14:13:48 +0000 | [diff] [blame] | 24 | xer_type_decoder_f NativeInteger_decode_xer; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 25 | xer_type_encoder_f NativeInteger_encode_xer; |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 26 | |
| 27 | #endif /* _NativeInteger_H_ */ |