2004-06-03 03:38:44 +00:00
|
|
|
/*-
|
|
|
|
* Copyright (c) 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
|
|
|
|
* Redistribution and modifications are permitted subject to BSD license.
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* This type differs from the standard INTEGER in that it is modelled using
|
|
|
|
* the fixed machine type (long, int, short), so it can hold only values of
|
|
|
|
* limited length. There is no type (i.e., NativeInteger_t, any integer type
|
|
|
|
* will do).
|
|
|
|
* This type may be used when integer range is limited by subtype constraints.
|
|
|
|
*/
|
|
|
|
#ifndef _NativeInteger_H_
|
|
|
|
#define _NativeInteger_H_
|
|
|
|
|
2004-09-24 21:00:50 +00:00
|
|
|
#include <asn_application.h>
|
2005-02-25 12:10:27 +00:00
|
|
|
#include <INTEGER.h>
|
2004-06-03 03:38:44 +00:00
|
|
|
|
2005-07-24 09:03:44 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2004-09-29 13:26:15 +00:00
|
|
|
extern asn_TYPE_descriptor_t asn_DEF_NativeInteger;
|
2004-06-03 03:38:44 +00:00
|
|
|
|
2004-09-22 16:06:28 +00:00
|
|
|
asn_struct_free_f NativeInteger_free;
|
|
|
|
asn_struct_print_f NativeInteger_print;
|
2004-06-03 03:38:44 +00:00
|
|
|
ber_type_decoder_f NativeInteger_decode_ber;
|
|
|
|
der_type_encoder_f NativeInteger_encode_der;
|
2004-10-21 14:13:48 +00:00
|
|
|
xer_type_decoder_f NativeInteger_decode_xer;
|
2004-09-22 16:06:28 +00:00
|
|
|
xer_type_encoder_f NativeInteger_encode_xer;
|
2005-11-26 11:25:14 +00:00
|
|
|
per_type_decoder_f NativeInteger_decode_uper;
|
2004-06-03 03:38:44 +00:00
|
|
|
|
2005-07-24 09:03:44 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2004-06-03 03:38:44 +00:00
|
|
|
#endif /* _NativeInteger_H_ */
|