blob: b5acc71189eafda34b8a2f6f7b7537795407d11b [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;
Sylvain Munautb9d517e2010-06-14 23:31:04 +020027asn_struct_print_f NativeEnumerated_print;
Harald Welte92c45f32010-06-12 18:59:38 +020028
29#ifdef __cplusplus
30}
31#endif
32
33#endif /* _NativeEnumerated_H_ */