ssl/libcrypto/src/crypto/ebcdic.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     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