codekingpro/portable-devtools
115k
1/*2 * Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved.3 *4 * Licensed under the Apache License 2.0 (the "License"). You may not use5 * this file except in compliance with the License. You can obtain a copy6 * in the file LICENSE in the source distribution or at7 * https://www.openssl.org/source/license.html8 */9 10#ifndef OPENSSL_EBCDIC_H11# define OPENSSL_EBCDIC_H12# pragma once13 14# include <openssl/macros.h>15# ifndef OPENSSL_NO_DEPRECATED_3_016# define HEADER_EBCDIC_H17# endif18 19# include <stdlib.h>20 21#ifdef __cplusplus22extern "C" {23#endif24 25/* Avoid name clashes with other applications */26# define os_toascii _openssl_os_toascii27# define os_toebcdic _openssl_os_toebcdic28# define ebcdic2ascii _openssl_ebcdic2ascii29# define ascii2ebcdic _openssl_ascii2ebcdic30 31extern const unsigned char os_toascii[256];32extern const unsigned char os_toebcdic[256];33void *ebcdic2ascii(void *dest, const void *srce, size_t count);34void *ascii2ebcdic(void *dest, const void *srce, size_t count);35 36#ifdef __cplusplus37}38#endif39#endif40 