OSDN Git Service

Update OpenSSL to 1.0.1j.
[ffftp/ffftp.git] / contrib / openssl / include / openssl / ebcdic.h
1 /* crypto/ebcdic.h */\r
2 \r
3 #ifndef HEADER_EBCDIC_H\r
4 #define HEADER_EBCDIC_H\r
5 \r
6 #include <sys/types.h>\r
7 \r
8 #ifdef  __cplusplus\r
9 extern "C" {\r
10 #endif\r
11 \r
12 /* Avoid name clashes with other applications */\r
13 #define os_toascii   _openssl_os_toascii\r
14 #define os_toebcdic  _openssl_os_toebcdic\r
15 #define ebcdic2ascii _openssl_ebcdic2ascii\r
16 #define ascii2ebcdic _openssl_ascii2ebcdic\r
17 \r
18 extern const unsigned char os_toascii[256];\r
19 extern const unsigned char os_toebcdic[256];\r
20 void *ebcdic2ascii(void *dest, const void *srce, size_t count);\r
21 void *ascii2ebcdic(void *dest, const void *srce, size_t count);\r
22 \r
23 #ifdef  __cplusplus\r
24 }\r
25 #endif\r
26 #endif\r