VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.2/include/openssl/ebcdic.h@ 101021

Last change on this file since 101021 was 101021, checked in by vboxsync, 15 months ago

openssl-3.1.2: Applied and adjusted our OpenSSL changes to 3.1.0. bugref:10519

File size: 1.0 KB
Line 
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 use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#ifndef OPENSSL_EBCDIC_H
11# define OPENSSL_EBCDIC_H
12# pragma once
13
14# include <openssl/macros.h>
15# ifndef OPENSSL_NO_DEPRECATED_3_0
16# define HEADER_EBCDIC_H
17# endif
18
19# include <stdlib.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/* Avoid name clashes with other applications */
26# define os_toascii _openssl_os_toascii
27# define os_toebcdic _openssl_os_toebcdic
28# define ebcdic2ascii _openssl_ebcdic2ascii
29# define ascii2ebcdic _openssl_ascii2ebcdic
30
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 __cplusplus
37}
38#endif
39#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette