diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-04-03 15:46:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-04-03 15:46:53 +0000 |
commit | e62c19f12cfc377ac9ce7c037713ead5dc6b57d9 (patch) | |
tree | 95fc8aa3e3e8722cf93ae46424b059e4796464ea /iconv/gconv_db.c | |
parent | 6f0ee4628f3075ed37481d2bdb573b6d52d9e25e (diff) | |
download | glibc-e62c19f12cfc377ac9ce7c037713ead5dc6b57d9.tar.gz |
Update.
1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_int.h: New file. Internal header.
* iconv/Makefile (distribute): Add gconv_int.h.
* iconv/gconv.h: Remove definition which are now in gconv_int.h.
* iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
* iconv/gconv_close.c: Likewise.
* iconv/gconv_conf.c: Likewise.
* iconv/gconv_db.c: Likewise.
* iconv/gconv_dl.c: Likewise.
* iconv/gconv_int.h: Likewise.
* iconv/gconv_open.c: Likewise.
* iconv/iconv.c: Likewise.
* iconv/iconv_close.c: Likewise.
* iconv/iconv_open.c: Likewise.
* iconv/iconv_prog.c: Likewise.
1998-04-03 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
missing braces.
Diffstat (limited to 'iconv/gconv_db.c')
-rw-r--r-- | iconv/gconv_db.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/iconv/gconv_db.c b/iconv/gconv_db.c index b1320ac7e8..5a3932c601 100644 --- a/iconv/gconv_db.c +++ b/iconv/gconv_db.c @@ -1,5 +1,5 @@ /* Provide access to the collection of available transformation modules. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -18,12 +18,13 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <gconv.h> #include <search.h> #include <stdlib.h> #include <string.h> #include <bits/libc-lock.h> +#include <gconv_int.h> + /* Simple data structure for alias mapping. We have two names, `from' and `to'. */ @@ -93,6 +94,7 @@ static void *known_derivations; /* Look up whether given transformation was already requested before. */ static int +internal_function derivation_lookup (const char *fromset, const char *toset, struct gconv_step **handle, size_t *nsteps) { @@ -114,6 +116,7 @@ derivation_lookup (const char *fromset, const char *toset, /* Add new derivation to list of known ones. */ static void +internal_function add_derivation (const char *fromset, const char *toset, struct gconv_step *handle, size_t nsteps) { @@ -142,6 +145,7 @@ add_derivation (const char *fromset, const char *toset, } static void +internal_function free_derivation (void *p) { struct known_derivation *deriv = (struct known_derivation *) p; @@ -479,6 +483,7 @@ find_derivation (const char *toset, const char *toset_expand, int +internal_function __gconv_find_transform (const char *toset, const char *fromset, struct gconv_step **handle, size_t *nsteps) { @@ -523,6 +528,7 @@ __gconv_find_transform (const char *toset, const char *fromset, /* Release the entries of the modules list. */ int +internal_function __gconv_close_transform (struct gconv_step *steps, size_t nsteps) { int result = GCONV_OK; |