xref: /haiku/src/system/libroot/posix/glibc/locale/coll-lookup.h (revision 5ed5c9660237b5f90ecc7304add8b3747e344880)
1*5ed5c966SJérôme Duval /* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
25af32e75SAxel Dörfler    This file is part of the GNU C Library.
35af32e75SAxel Dörfler    Contributed by Bruno Haible <haible@clisp.cons.org>, 2000.
45af32e75SAxel Dörfler 
55af32e75SAxel Dörfler    The GNU C Library is free software; you can redistribute it and/or
65af32e75SAxel Dörfler    modify it under the terms of the GNU Lesser General Public
75af32e75SAxel Dörfler    License as published by the Free Software Foundation; either
85af32e75SAxel Dörfler    version 2.1 of the License, or (at your option) any later version.
95af32e75SAxel Dörfler 
105af32e75SAxel Dörfler    The GNU C Library is distributed in the hope that it will be useful,
115af32e75SAxel Dörfler    but WITHOUT ANY WARRANTY; without even the implied warranty of
125af32e75SAxel Dörfler    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
135af32e75SAxel Dörfler    Lesser General Public License for more details.
145af32e75SAxel Dörfler 
155af32e75SAxel Dörfler    You should have received a copy of the GNU Lesser General Public
165af32e75SAxel Dörfler    License along with the GNU C Library; if not, write to the Free
175af32e75SAxel Dörfler    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
185af32e75SAxel Dörfler    02111-1307 USA.  */
195af32e75SAxel Dörfler 
205af32e75SAxel Dörfler #include <stdint.h>
215af32e75SAxel Dörfler 
225af32e75SAxel Dörfler /* Lookup in a table of int32_t, with default value 0.  */
23*5ed5c966SJérôme Duval extern int32_t __collidx_table_lookup (const char *table, uint32_t wc)
24*5ed5c966SJérôme Duval      internal_function;
255af32e75SAxel Dörfler 
265af32e75SAxel Dörfler /* Lookup in a table of uint32_t, with default value 0xffffffff.  */
27*5ed5c966SJérôme Duval extern uint32_t __collseq_table_lookup (const char *table, uint32_t wc)
28*5ed5c966SJérôme Duval      internal_function;
29