ITS
NativeInteger.h
Go to the documentation of this file.
1 /*-
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 
15 #include <asn_application.h>
16 #include <INTEGER.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
23 
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif /* _NativeInteger_H_ */
asn_dec_rval_t() ber_type_decoder_f(struct asn_codec_ctx_s *opt_codec_ctx, struct asn_TYPE_descriptor_s *type_descriptor, void **struct_ptr, const void *buf_ptr, size_t size, int tag_mode)
Definition: ber_decoder.h:32
asn_enc_rval_t() per_type_encoder_f(struct asn_TYPE_descriptor_s *type_descriptor, asn_per_constraints_t *constraints, void *struct_ptr, asn_per_outp_t *per_output)
Definition: per_encoder.h:58
xer_type_decoder_f NativeInteger_decode_xer
Definition: NativeInteger.h:28
asn_enc_rval_t() xer_type_encoder_f(struct asn_TYPE_descriptor_s *type_descriptor, void *struct_ptr, int ilevel, enum xer_encoder_flags_e xer_flags, asn_app_consume_bytes_f *consume_bytes_cb, void *app_key)
Definition: xer_encoder.h:46
per_type_decoder_f NativeInteger_decode_uper
Definition: NativeInteger.h:30
void() asn_struct_free_f(struct asn_TYPE_descriptor_s *type_descriptor, void *struct_ptr, int free_contents_only)
Definition: constr_TYPE.h:53
xer_type_encoder_f NativeInteger_encode_xer
Definition: NativeInteger.h:29
asn_TYPE_descriptor_t asn_DEF_NativeInteger
Definition: NativeInteger.c:22
asn_enc_rval_t() der_type_encoder_f(struct asn_TYPE_descriptor_s *type_descriptor, void *struct_ptr, int tag_mode, ber_tlv_tag_t tag, asn_app_consume_bytes_f *consume_bytes_cb, void *app_key)
Definition: der_encoder.h:37
ber_type_decoder_f NativeInteger_decode_ber
Definition: NativeInteger.h:26
asn_dec_rval_t() xer_type_decoder_f(asn_codec_ctx_t *opt_codec_ctx, struct asn_TYPE_descriptor_s *type_descriptor, void **struct_ptr, const char *opt_mname, const void *buf_ptr, size_t size)
Definition: xer_decoder.h:29
asn_dec_rval_t() per_type_decoder_f(asn_codec_ctx_t *opt_codec_ctx, struct asn_TYPE_descriptor_s *type_descriptor, asn_per_constraints_t *constraints, void **struct_ptr, asn_per_data_t *per_data)
Definition: per_decoder.h:45
int() asn_struct_print_f(struct asn_TYPE_descriptor_s *type_descriptor, const void *struct_ptr, int level, asn_app_consume_bytes_f *callback, void *app_key)
Definition: constr_TYPE.h:63
asn_struct_print_f NativeInteger_print
Definition: NativeInteger.h:25
der_type_encoder_f NativeInteger_encode_der
Definition: NativeInteger.h:27
asn_struct_free_f NativeInteger_free
Definition: NativeInteger.h:24
per_type_encoder_f NativeInteger_encode_uper
Definition: NativeInteger.h:31