mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 04:01:10 +00:00
777bc09586
* iconvme.c: New file. * toutf8.c: Include stringprep.h first, to make the compiler check that stringprep.h is standalone. Improve comments. Replace #include of errno.h and sys/param.h with iconvme.h. Don't define ICONV_CONST. (stringprep_convert): Rewrite to use iconvme.h.
26 lines
1023 B
C
26 lines
1023 B
C
/* Recode strings between character sets, using iconv.
|
|
Copyright (C) 2004 Free Software Foundation, Inc.
|
|
Written by Simon Josefsson.
|
|
|
|
This program 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, or (at your option)
|
|
any later version.
|
|
|
|
This program 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 this program; if not, write to the Free Software Foundation,
|
|
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|
|
|
#ifndef ICONVME_H
|
|
# define ICONVME_H
|
|
|
|
extern char *iconv_string (const char *string, const char *from_code,
|
|
const char *to_code);
|
|
|
|
#endif /* ICONVME_H */
|