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