ebcdic.h 546 B

12345678910111213141516171819
  1. /* crypto/ebcdic.h */
  2. #ifndef HEADER_EBCDIC_H
  3. # define HEADER_EBCDIC_H
  4. # include <sys/types.h>
  5. /* Avoid name clashes with other applications */
  6. # define os_toascii _openssl_os_toascii
  7. # define os_toebcdic _openssl_os_toebcdic
  8. # define ebcdic2ascii _openssl_ebcdic2ascii
  9. # define ascii2ebcdic _openssl_ascii2ebcdic
  10. extern const unsigned char os_toascii[256];
  11. extern const unsigned char os_toebcdic[256];
  12. void *ebcdic2ascii(void *dest, const void *srce, size_t count);
  13. void *ascii2ebcdic(void *dest, const void *srce, size_t count);
  14. #endif