1/* Locale dependent transformation for case insensitive comparison of UTF-8 2 strings. 3 Copyright (C) 2009-2010 Free Software Foundation, Inc. 4 Written by Bruno Haible <bruno@clisp.org>, 2009. 5 6 This program is free software: you can redistribute it and/or modify it 7 under the terms of the GNU Lesser General Public License as published 8 by the Free Software Foundation; either version 3 of the License, or 9 (at your option) any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 Lesser General Public License for more details. 15 16 You should have received a copy of the GNU Lesser General Public License 17 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 18 19#include <config.h> 20 21/* Specification. */ 22#include "unicase.h" 23 24#include <errno.h> 25#include <stdlib.h> 26 27#include "localcharset.h" 28#include "uniconv.h" 29#include "memxfrm.h" 30 31#define FUNC u8_casexfrm 32#define UNIT uint8_t 33#define U_CASEFOLD u8_casefold 34#define U_CONV_TO_ENCODING u8_conv_to_encoding 35#include "u-casexfrm.h" 36