Harald Welte | 43ab79f | 2018-10-03 23:34:21 +0200 | [diff] [blame] | 1 | /*- |
| 2 | * Copyright (c) 2004, 2005, 2006 Lev Walkin <vlm@lionet.info>. |
| 3 | * All rights reserved. |
| 4 | * Redistribution and modifications are permitted subject to BSD license. |
| 5 | */ |
| 6 | /* |
| 7 | * This type differs from the standard ENUMERATED in that it is modelled using |
| 8 | * the fixed machine type (long, int, short), so it can hold only values of |
| 9 | * limited length. There is no type (i.e., NativeEnumerated_t, any integer type |
| 10 | * will do). |
| 11 | * This type may be used when integer range is limited by subtype constraints. |
| 12 | */ |
| 13 | #ifndef _NativeEnumerated_H_ |
| 14 | #define _NativeEnumerated_H_ |
| 15 | |
| 16 | #include <NativeInteger.h> |
| 17 | |
| 18 | #ifdef __cplusplus |
| 19 | extern "C" { |
| 20 | #endif |
| 21 | |
| 22 | extern asn_TYPE_descriptor_t asn_DEF_NativeEnumerated; |
| 23 | |
| 24 | xer_type_encoder_f NativeEnumerated_encode_xer; |
| 25 | per_type_decoder_f NativeEnumerated_decode_uper; |
| 26 | per_type_encoder_f NativeEnumerated_encode_uper; |
| 27 | per_type_decoder_f NativeEnumerated_decode_aper; |
| 28 | per_type_encoder_f NativeEnumerated_encode_aper; |
| 29 | asn_struct_print_f NativeEnumerated_print; |
| 30 | |
| 31 | #ifdef __cplusplus |
| 32 | } |
| 33 | #endif |
| 34 | |
| 35 | #endif /* _NativeEnumerated_H_ */ |