all: prefer https: URLs
[gnulib.git] / lib / unicase / u8-casexfrm.c
blob18a6b680e9e9e5f9095086042b0344ec30e9b946
1 /* Locale dependent transformation for case insensitive comparison of UTF-8
2 strings.
3 Copyright (C) 2009-2017 Free Software Foundation, Inc.
4 Written by Bruno Haible <bruno@clisp.org>, 2009.
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.
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.
16 You should have received a copy of the GNU Lesser General Public License
17 along with this program. If not, see <https://www.gnu.org/licenses/>. */
19 #include <config.h>
21 /* Specification. */
22 #include "unicase.h"
24 #include <errno.h>
25 #include <stdlib.h>
27 #include "localcharset.h"
28 #include "uniconv.h"
29 #include "amemxfrm.h"
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"