~ubuntu-branches/ubuntu/feisty/psi/feisty

« back to all changes in this revision

Viewing changes to src/openssl/ebcdic.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2002-04-19 02:28:44 UTC
  • Revision ID: james.westby@ubuntu.com-20020419022844-za7xgai5qyfd9xv6
Tags: upstream-0.8.5
ImportĀ upstreamĀ versionĀ 0.8.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* crypto/ebcdic.h */
 
2
 
 
3
#ifndef HEADER_EBCDIC_H
 
4
#define HEADER_EBCDIC_H
 
5
 
 
6
#include <sys/types.h>
 
7
 
 
8
/* Avoid name clashes with other applications */
 
9
#define os_toascii   _openssl_os_toascii
 
10
#define os_toebcdic  _openssl_os_toebcdic
 
11
#define ebcdic2ascii _openssl_ebcdic2ascii
 
12
#define ascii2ebcdic _openssl_ascii2ebcdic
 
13
 
 
14
extern const unsigned char os_toascii[256];
 
15
extern const unsigned char os_toebcdic[256];
 
16
void *ebcdic2ascii(void *dest, const void *srce, size_t count);
 
17
void *ascii2ebcdic(void *dest, const void *srce, size_t count);
 
18
 
 
19
#endif