xref: /freebsd/lib/libc/iconv/iconvlist.c (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1db2af393SPeter Wemm /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3d915a14eSPedro F. Giffuni  *
4db2af393SPeter Wemm  * Copyright (c) 2013 Peter Wemm
5db2af393SPeter Wemm  * All rights reserved.
6db2af393SPeter Wemm  *
7db2af393SPeter Wemm  * Redistribution and use in source and binary forms, with or without
8db2af393SPeter Wemm  * modification, are permitted provided that the following conditions
9db2af393SPeter Wemm  * are met:
10db2af393SPeter Wemm  * 1. Redistributions of source code must retain the above copyright
11db2af393SPeter Wemm  *    notice, this list of conditions and the following disclaimer.
12db2af393SPeter Wemm  * 2. Redistributions in binary form must reproduce the above copyright
13db2af393SPeter Wemm  *    notice, this list of conditions and the following disclaimer in the
14db2af393SPeter Wemm  *    documentation and/or other materials provided with the distribution.
15db2af393SPeter Wemm  *
16db2af393SPeter Wemm  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17db2af393SPeter Wemm  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18db2af393SPeter Wemm  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19db2af393SPeter Wemm  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20db2af393SPeter Wemm  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21db2af393SPeter Wemm  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22db2af393SPeter Wemm  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23db2af393SPeter Wemm  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24db2af393SPeter Wemm  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25db2af393SPeter Wemm  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26db2af393SPeter Wemm  * SUCH DAMAGE.
27db2af393SPeter Wemm  */
28db2af393SPeter Wemm 
29db2af393SPeter Wemm #include <sys/types.h>
30db2af393SPeter Wemm #include <iconv.h>
31db2af393SPeter Wemm #include "iconv-internal.h"
32db2af393SPeter Wemm 
33db2af393SPeter Wemm void
iconvlist(int (* a)(unsigned int,const char * const *,void *),void * b)34db2af393SPeter Wemm iconvlist(int (*a) (unsigned int, const char * const *, void *), void *b)
35db2af393SPeter Wemm {
36db2af393SPeter Wemm 	return __bsd_iconvlist(a, b);
37db2af393SPeter Wemm }
38