blob: 4e63a8355d12b7c90ce53a23a43cb5583f811257 [file] [log] [blame]
vlmfa67ddc2004-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
vlmd1579582004-09-24 21:00:50 +000015#include <asn_application.h>
vlm80a48592005-02-25 12:10:27 +000016#include <INTEGER.h>
vlmfa67ddc2004-06-03 03:38:44 +000017
vlm3a417582005-07-24 09:03:44 +000018#ifdef __cplusplus
19extern "C" {
20#endif
21
vlmef6355b2004-09-29 13:26:15 +000022extern asn_TYPE_descriptor_t asn_DEF_NativeInteger;
vlmfa67ddc2004-06-03 03:38:44 +000023
vlm39ba4c42004-09-22 16:06:28 +000024asn_struct_free_f NativeInteger_free;
25asn_struct_print_f NativeInteger_print;
vlmfa67ddc2004-06-03 03:38:44 +000026ber_type_decoder_f NativeInteger_decode_ber;
27der_type_encoder_f NativeInteger_encode_der;
vlmd52f9b52004-10-21 14:13:48 +000028xer_type_decoder_f NativeInteger_decode_xer;
vlm39ba4c42004-09-22 16:06:28 +000029xer_type_encoder_f NativeInteger_encode_xer;
vlm337167e2005-11-26 11:25:14 +000030per_type_decoder_f NativeInteger_decode_uper;
vlm18dd82c2006-08-18 01:34:18 +000031per_type_encoder_f NativeInteger_encode_uper;
vlmfa67ddc2004-06-03 03:38:44 +000032
vlm3a417582005-07-24 09:03:44 +000033#ifdef __cplusplus
34}
35#endif
36
vlmfa67ddc2004-06-03 03:38:44 +000037#endif /* _NativeInteger_H_ */