blob: 9db2611a7e008fdfc28e7a02b1a109d756eb00ab [file] [log] [blame]
Harald Welte92c45f32010-06-12 18:59:38 +02001/*-
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
19extern "C" {
20#endif
21
22extern asn_TYPE_descriptor_t asn_DEF_NativeEnumerated;
23
24xer_type_encoder_f NativeEnumerated_encode_xer;
25per_type_decoder_f NativeEnumerated_decode_uper;
26per_type_encoder_f NativeEnumerated_encode_uper;
Harald Welte41b85d52015-08-31 08:56:53 +020027per_type_decoder_f NativeEnumerated_decode_aper;
28per_type_encoder_f NativeEnumerated_encode_aper;
Sylvain Munautb9d517e2010-06-14 23:31:04 +020029asn_struct_print_f NativeEnumerated_print;
Harald Welte92c45f32010-06-12 18:59:38 +020030
31#ifdef __cplusplus
32}
33#endif
34
35#endif /* _NativeEnumerated_H_ */