blob: 19ff2c8789d3d4c73b3fc55605d60ed85d272cd2 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001/*-
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 Walkin11c3e172004-09-24 21:00:50 +000015#include <asn_application.h>
Lev Walkine0b56e02005-02-25 12:10:27 +000016#include <INTEGER.h>
Lev Walkinf15320b2004-06-03 03:38:44 +000017
Lev Walkin21b41ac2005-07-24 09:03:44 +000018#ifdef __cplusplus
19extern "C" {
20#endif
21
Lev Walkin5e033762004-09-29 13:26:15 +000022extern asn_TYPE_descriptor_t asn_DEF_NativeInteger;
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +080023extern asn_TYPE_operation_t asn_OP_NativeInteger;
Lev Walkinf15320b2004-06-03 03:38:44 +000024
Lev Walkina9cc46e2004-09-22 16:06:28 +000025asn_struct_free_f NativeInteger_free;
26asn_struct_print_f NativeInteger_print;
Lev Walkincd2f48e2017-08-10 02:14:59 -070027asn_struct_compare_f NativeInteger_compare;
Lev Walkinf15320b2004-06-03 03:38:44 +000028ber_type_decoder_f NativeInteger_decode_ber;
29der_type_encoder_f NativeInteger_encode_der;
Lev Walkin435cb282004-10-21 14:13:48 +000030xer_type_decoder_f NativeInteger_decode_xer;
Lev Walkina9cc46e2004-09-22 16:06:28 +000031xer_type_encoder_f NativeInteger_encode_xer;
Lev Walkin9ae018e2017-07-24 01:45:57 +040032oer_type_decoder_f NativeInteger_decode_oer;
33oer_type_encoder_f NativeInteger_encode_oer;
Lev Walkin59b176e2005-11-26 11:25:14 +000034per_type_decoder_f NativeInteger_decode_uper;
Lev Walkin523de9e2006-08-18 01:34:18 +000035per_type_encoder_f NativeInteger_encode_uper;
Lev Walkinf15320b2004-06-03 03:38:44 +000036
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080037#define NativeInteger_constraint asn_generic_no_constraint
38
Lev Walkin21b41ac2005-07-24 09:03:44 +000039#ifdef __cplusplus
40}
41#endif
42
Lev Walkinf15320b2004-06-03 03:38:44 +000043#endif /* _NativeInteger_H_ */