iconv-internal.h revision 302408
154359Sroberto/*- 254359Sroberto * Copyright (c) 2013 Peter Wemm 354359Sroberto * All rights reserved. 454359Sroberto * 554359Sroberto * Redistribution and use in source and binary forms, with or without 654359Sroberto * modification, are permitted provided that the following conditions 754359Sroberto * are met: 854359Sroberto * 1. Redistributions of source code must retain the above copyright 954359Sroberto * notice, this list of conditions and the following disclaimer. 1054359Sroberto * 2. Redistributions in binary form must reproduce the above copyright 1154359Sroberto * notice, this list of conditions and the following disclaimer in the 1254359Sroberto * documentation and/or other materials provided with the distribution. 1354359Sroberto * 1454359Sroberto * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1554359Sroberto * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1654359Sroberto * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1754359Sroberto * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1854359Sroberto * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1954359Sroberto * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2054359Sroberto * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2154359Sroberto * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2254359Sroberto * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2354359Sroberto * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2454359Sroberto * SUCH DAMAGE. 2554359Sroberto * 2654359Sroberto * $FreeBSD: stable/11/lib/libc/iconv/iconv-internal.h 298830 2016-04-30 01:24:24Z pfg $ 2754359Sroberto */ 2854359Sroberto 2954359Sroberto/* 3054359Sroberto * Internal prototypes for our back-end functions. 3154359Sroberto */ 3254359Srobertosize_t __bsd___iconv(iconv_t, char **, size_t *, char **, 3354359Sroberto size_t *, __uint32_t, size_t *); 3454359Srobertovoid __bsd___iconv_free_list(char **, size_t); 3554359Srobertoint __bsd___iconv_get_list(char ***, size_t *, __iconv_bool); 3654359Srobertosize_t __bsd_iconv(iconv_t, char ** __restrict, 3754359Sroberto size_t * __restrict, char ** __restrict, 3854359Sroberto size_t * __restrict); 3954359Srobertoconst char *__bsd_iconv_canonicalize(const char *); 4054359Srobertoint __bsd_iconv_close(iconv_t); 4154359Srobertoiconv_t __bsd_iconv_open(const char *, const char *); 4254359Srobertoint __bsd_iconv_open_into(const char *, const char *, iconv_allocation_t *); 4354359Srobertovoid __bsd_iconv_set_relocation_prefix(const char *, const char *); 4454359Srobertoint __bsd_iconvctl(iconv_t, int, void *); 4554359Srobertovoid __bsd_iconvlist(int (*) (unsigned int, const char * const *, void *), void *); 4654359Sroberto