From 414288b47086de5aafa715dd9c794f62f94f8ab2 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 10 Jul 2004 20:34:27 +0000 Subject: [PATCH] Moved UTF-8 streams to lib/ff-utf8.[ch] (`ff' prefix will denote fastbuf front-ends, `fb' will be the back-ends). --- charset/unistream.c => lib/ff-utf8.c | 8 ++++---- charset/unistream.h => lib/ff-utf8.h | 11 ++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) rename charset/unistream.c => lib/ff-utf8.c (88%) rename charset/unistream.h => lib/ff-utf8.h (74%) diff --git a/charset/unistream.c b/lib/ff-utf8.c similarity index 88% rename from charset/unistream.c rename to lib/ff-utf8.c index 6431b0a2..f55719b1 100644 --- a/charset/unistream.c +++ b/lib/ff-utf8.c @@ -1,7 +1,7 @@ /* - * The UniCode Library: Reading and writing of UTF-8 on Fastbuf Streams + * Sherlock Library: Reading and writing of UTF-8 on Fastbuf Streams * - * (c) 2001 Martin Mares + * (c) 2001--2004 Martin Mares * * This software may be freely distributed and used according to the terms * of the GNU Lesser General Public License. @@ -9,8 +9,8 @@ #include "lib/lib.h" #include "lib/fastbuf.h" -#include "charset/unicode.h" -#include "charset/unistream.h" +#include "lib/unicode.h" +#include "lib/ff-utf8.h" int bget_utf8_slow(struct fastbuf *b) diff --git a/charset/unistream.h b/lib/ff-utf8.h similarity index 74% rename from charset/unistream.h rename to lib/ff-utf8.h index 66680ba4..f0a9e17f 100644 --- a/charset/unistream.h +++ b/lib/ff-utf8.h @@ -1,16 +1,17 @@ /* - * The UniCode Library: Reading and writing of UTF-8 on Fastbuf Streams + * Sherlock Library: Reading and writing of UTF-8 on Fastbuf Streams * - * (c) 2001--2002 Martin Mares + * (c) 2001--2004 Martin Mares * * This software may be freely distributed and used according to the terms * of the GNU Lesser General Public License. */ -#ifndef _UNISTREAM_H -#define _UNISTREAM_H +#ifndef _FF_UTF8_H +#define _FF_UTF8_H -#include "charset/unicode.h" +#include "lib/fastbuf.h" +#include "lib/unicode.h" int bget_utf8_slow(struct fastbuf *b); void bput_utf8_slow(struct fastbuf *b, uns u); -- 2.39.5