summaryrefslogtreecommitdiffstats
path: root/os/bs2000/ebcdic.h
diff options
context:
space:
mode:
authorRoy T. Fielding <fielding@apache.org>1999-08-24 08:46:03 +0200
committerRoy T. Fielding <fielding@apache.org>1999-08-24 08:46:03 +0200
commit6f96ad52275b5b35226cdb2ce66b3832e9dfb605 (patch)
tree8892afb8b2e31b3d6e7c9bca839afe51b4e11c40 /os/bs2000/ebcdic.h
parentApache 1.3.9 baseline for the Apache 2.0 repository. (diff)
downloadapache2-6f96ad52275b5b35226cdb2ce66b3832e9dfb605.tar.xz
apache2-6f96ad52275b5b35226cdb2ce66b3832e9dfb605.zip
Apache 1.3.9 baseline for the Apache 2.0 repository.
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9 Submitted by: Apache Group git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83750 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os/bs2000/ebcdic.h')
-rw-r--r--os/bs2000/ebcdic.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/bs2000/ebcdic.h b/os/bs2000/ebcdic.h
new file mode 100644
index 0000000000..267f9786df
--- /dev/null
+++ b/os/bs2000/ebcdic.h
@@ -0,0 +1,8 @@
+#include <sys/types.h>
+
+extern const unsigned char os_toascii[256];
+extern const unsigned char os_toebcdic[256];
+void ebcdic2ascii(unsigned char *dest, const unsigned char *srce, size_t count);
+void ebcdic2ascii_strictly(unsigned char *dest, const unsigned char *srce, size_t count);
+void ascii2ebcdic(unsigned char *dest, const unsigned char *srce, size_t count);
+