NativeInteger.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*-
  2. * Copyright (c) 2004-2017 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. #include <asn_application.h>
  15. #include <INTEGER.h>
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. extern asn_TYPE_descriptor_t asn_DEF_NativeInteger;
  20. extern asn_TYPE_operation_t asn_OP_NativeInteger;
  21. asn_struct_free_f NativeInteger_free;
  22. asn_struct_print_f NativeInteger_print;
  23. asn_struct_compare_f NativeInteger_compare;
  24. ber_type_decoder_f NativeInteger_decode_ber;
  25. der_type_encoder_f NativeInteger_encode_der;
  26. xer_type_decoder_f NativeInteger_decode_xer;
  27. xer_type_encoder_f NativeInteger_encode_xer;
  28. oer_type_decoder_f NativeInteger_decode_oer;
  29. oer_type_encoder_f NativeInteger_encode_oer;
  30. per_type_decoder_f NativeInteger_decode_uper;
  31. per_type_encoder_f NativeInteger_encode_uper;
  32. asn_random_fill_f NativeInteger_random_fill;
  33. #define NativeInteger_constraint asn_generic_no_constraint
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. #endif /* _NativeInteger_H_ */