Project

General

Profile

Statistics
| Revision:

root / lab4 / .minix-src / include / openssl / ebcdic.h @ 14

History | View | Annotate | Download (616 Bytes)

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