blob: c57aad1b33c7ca74f3bb3881150b5996d34753b6 [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;
Lev Walkinf15320b2004-06-03 03:38:44 +000023
Lev Walkina9cc46e2004-09-22 16:06:28 +000024asn_struct_free_f NativeInteger_free;
25asn_struct_print_f NativeInteger_print;
Lev Walkinf15320b2004-06-03 03:38:44 +000026ber_type_decoder_f NativeInteger_decode_ber;
27der_type_encoder_f NativeInteger_encode_der;
Lev Walkin435cb282004-10-21 14:13:48 +000028xer_type_decoder_f NativeInteger_decode_xer;
Lev Walkina9cc46e2004-09-22 16:06:28 +000029xer_type_encoder_f NativeInteger_encode_xer;
Lev Walkin9ae018e2017-07-24 01:45:57 +040030oer_type_decoder_f NativeInteger_decode_oer;
31oer_type_encoder_f NativeInteger_encode_oer;
Lev Walkin59b176e2005-11-26 11:25:14 +000032per_type_decoder_f NativeInteger_decode_uper;
Lev Walkin523de9e2006-08-18 01:34:18 +000033per_type_encoder_f NativeInteger_encode_uper;
Lev Walkinf15320b2004-06-03 03:38:44 +000034
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080035#define NativeInteger_constraint asn_generic_no_constraint
36
Lev Walkin21b41ac2005-07-24 09:03:44 +000037#ifdef __cplusplus
38}
39#endif
40
Lev Walkinf15320b2004-06-03 03:38:44 +000041#endif /* _NativeInteger_H_ */