os/ossrv/ssl/libcrypto/src/crypto/ebcdic.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200 (2014-06-10)
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /* crypto/ebcdic.h */
     2 /*
     3  © Portions copyright (c) 2006 Nokia Corporation.  All rights reserved.
     4  */
     5 
     6 #ifndef HEADER_EBCDIC_H
     7 #define HEADER_EBCDIC_H
     8 #ifdef SYMBIAN
     9 #include <e32def.h>
    10 #endif
    11 #include <sys/types.h>
    12 
    13 /* Avoid name clashes with other applications */
    14 #define os_toascii   _openssl_os_toascii
    15 #define os_toebcdic  _openssl_os_toebcdic
    16 #define ebcdic2ascii _openssl_ebcdic2ascii
    17 #define ascii2ebcdic _openssl_ascii2ebcdic
    18 
    19 IMPORT_C extern const unsigned char os_toascii[256];
    20 IMPORT_C extern const unsigned char os_toebcdic[256];
    21 IMPORT_C void *ebcdic2ascii(void *dest, const void *srce, size_t count);
    22 IMPORT_C void *ascii2ebcdic(void *dest, const void *srce, size_t count);
    23 
    24 #endif