summaryrefslogtreecommitdiff
path: root/src/pdflib/pdcore/pc_ebcdic.h
blob: 5f8993f96fc10c4d24466bd0b112c473e7cbc19c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*---------------------------------------------------------------------------*
 |              PDFlib - A library for generating PDF on the fly             |
 +---------------------------------------------------------------------------+
 | Copyright (c) 1997-2006 Thomas Merz and PDFlib GmbH. All rights reserved. |
 +---------------------------------------------------------------------------+
 |                                                                           |
 |    This software is subject to the PDFlib license. It is NOT in the       |
 |    public domain. Extended versions and commercial licenses are           |
 |    available, please check http://www.pdflib.com.                         |
 |                                                                           |
 *---------------------------------------------------------------------------*/

/* $Id: pc_ebcdic.h,v 1.1 2008/10/17 06:10:43 scuri Exp $
 *
 * EBCDIC conversion routines
 *
 */

#ifndef PC_EBCDIC_H
#define PC_EBCDIC_H


void    pdc_ebcdic2ascii(char *s);
void    pdc_ebcdic2ascii_len(char *s, size_t len);
void    pdc_ascii2ebcdic_len(char *s, size_t len);
void    pdc_ascii2ebcdic(char *s);
void    pdc_ascii2ebcdic_char(char *c);
void    pdc_ascii2ebcdic_int(int *i);
void    pdc_ebcdic2ascii_int(int *i);
void	pdc_ebcdic2ascii_byte(pdc_byte *c);
void    pdc_ebcdic2pdfascii(char *s);
void    pdc_ebcdic2pdfascii_len(char *s, size_t len);

#endif	/* PC_EBCDIC_H */