summaryrefslogtreecommitdiff
path: root/iconvdata/brf.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-01-20 00:23:01 +0000
committerUlrich Drepper <drepper@redhat.com>2007-01-20 00:23:01 +0000
commitddaafd04f1e91be17d1504279dada1a3b54c79bd (patch)
treee70c00931c7b4b880bfee82c6d8d786e8f7dad0d /iconvdata/brf.c
parent9e6e344e6910388d195c611cb59d8391afa24243 (diff)
downloadglibc-ddaafd04f1e91be17d1504279dada1a3b54c79bd.tar.gz
* iconvdata/brf.c: New file.
* iconvdata/Makefile: Add rules to build BRF. * iconvdata/TESTS: Add BRF entry. * iconvdata/gconv-modules: Likewise. * iconvdata/tst-tables.sh: Likewise. * iconvdata/testdata/BRF: New file. * iconvdata/testdata/BRF..UTF8: New file.
Diffstat (limited to 'iconvdata/brf.c')
-rw-r--r--iconvdata/brf.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/iconvdata/brf.c b/iconvdata/brf.c
new file mode 100644
index 0000000000..4e40e7b02a
--- /dev/null
+++ b/iconvdata/brf.c
@@ -0,0 +1,29 @@
+/* Conversion from and to BRF.
+ Copyright (C) 2006 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>, 2006.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#include <stdint.h>
+
+/* Get the conversion table. */
+#define TABLES <brf.h>
+
+#define CHARSET_NAME "BRF//"
+#define HAS_HOLES 1 /* Not all 256 character are defined. */
+
+#include <8bit-gap.c>