blob: e2741c201f2b0ff12c74c844a10bec4a10629082 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001/*-
Lev Walkin20696a42017-10-17 21:27:33 -07002 * Copyright (c) 2004-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
Lev Walkinf15320b2004-06-03 03:38:44 +00003 * 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 Walkina5972be2017-09-29 23:15:58 -070036asn_random_fill_f NativeInteger_random_fill;
Lev Walkinf15320b2004-06-03 03:38:44 +000037
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080038#define NativeInteger_constraint asn_generic_no_constraint
39
Lev Walkin21b41ac2005-07-24 09:03:44 +000040#ifdef __cplusplus
41}
42#endif
43
Lev Walkinf15320b2004-06-03 03:38:44 +000044#endif /* _NativeInteger_H_ */