about summary refs log tree commit diff
path: root/iconv/gconv_builtin.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-04-24 22:58:57 +0000
committerUlrich Drepper <drepper@redhat.com>1999-04-24 22:58:57 +0000
commit62ece32bb4a0aebd2895d9e16b235eee70ce5ce3 (patch)
tree3c6af4374afe14828987c7440e2464ca20a0eb49 /iconv/gconv_builtin.h
parent4ad1f0260501cf6e0ed1df1e888201a72f807ed6 (diff)
downloadglibc-62ece32bb4a0aebd2895d9e16b235eee70ce5ce3.tar.gz
glibc-62ece32bb4a0aebd2895d9e16b235eee70ce5ce3.tar.xz
glibc-62ece32bb4a0aebd2895d9e16b235eee70ce5ce3.zip
Update.
1999-04-24  Ulrich Drepper  <drepper@cygnus.com>

	* iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
	* iconv/gconv_int.h: Declare UTF16 functions.
	* iconv/gconv_simple.c: Add UTF16 conversion functions.

	* timezone/zic.c (dolink): Append complete path not only filename
Diffstat (limited to 'iconv/gconv_builtin.h')
-rw-r--r--iconv/gconv_builtin.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/iconv/gconv_builtin.h b/iconv/gconv_builtin.h
index e12f1e46ee..0c31890a37 100644
--- a/iconv/gconv_builtin.h
+++ b/iconv/gconv_builtin.h
@@ -1,5 +1,5 @@
 /* Builtin transformations.
-   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -79,3 +79,15 @@ BUILTIN_TRANSFORMATION (NULL, "INTERNAL", 8, "UNICODELITTLE//",
 			1, "=INTERNAL->ucs2little",
 			__gconv_transform_internal_ucs2little, NULL, NULL,
 			4, 4, 2, 2)
+
+BUILTIN_ALIAS ("UTF-16//", "UTF16//")
+
+BUILTIN_TRANSFORMATION (NULL, "INTERNAL", 8, "UTF16//",
+			1, "=INTERNAL->utf16",
+			__gconv_transform_internal_utf16, NULL, NULL,
+			4, 4, 2, 4)
+
+BUILTIN_TRANSFORMATION (NULL, "UTF16//", 7, "INTERNAL",
+			1, "=utf16->INTERNAL",
+			__gconv_transform_utf16_internal, NULL, NULL,
+			2, 4, 4, 4)