VisibleString.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*-
  2. * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
  3. * Redistribution and modifications are permitted subject to BSD license.
  4. */
  5. #ifndef _VisibleString_H_
  6. #define _VisibleString_H_
  7. #include <OCTET_STRING.h>
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. typedef OCTET_STRING_t VisibleString_t; /* Implemented via OCTET STRING */
  12. extern asn_TYPE_descriptor_t asn_DEF_VisibleString;
  13. extern asn_TYPE_operation_t asn_OP_VisibleString;
  14. asn_constr_check_f VisibleString_constraint;
  15. #define VisibleString_free OCTET_STRING_free
  16. #define VisibleString_print OCTET_STRING_print
  17. #define VisibleString_compare OCTET_STRING_compare
  18. #define VisibleString_constraint VisibleString_constraint
  19. #define VisibleString_decode_ber OCTET_STRING_decode_ber
  20. #define VisibleString_encode_der OCTET_STRING_encode_der
  21. #define VisibleString_decode_xer OCTET_STRING_decode_xer_hex
  22. #define VisibleString_encode_xer OCTET_STRING_encode_xer
  23. #define VisibleString_decode_uper OCTET_STRING_decode_uper
  24. #define VisibleString_encode_uper OCTET_STRING_encode_uper
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif /* _VisibleString_H_ */