1/*- 2 * Copyright 2013 Garrett D'Amore <garrett@damore.org> 3 * Copyright 2011 Nexenta Systems, Inc. All rights reserved. 4 * Copyright (c) 2004 Tim J. Robbins. 5 * All rights reserved. 6 * 7 * Copyright (c) 2011 The FreeBSD Foundation 8 * All rights reserved. --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * |
33 * $FreeBSD: head/lib/libc/locale/mblocal.h 290618 2015-11-09 22:06:22Z bapt $ |
34 */ 35 36#ifndef _MBLOCAL_H_ 37#define _MBLOCAL_H_ 38 39#include <runetype.h> 40#include "xlocale_private.h" 41 --- 29 unchanged lines hidden (view full) --- 71int _EUC_JP_init(struct xlocale_ctype *, _RuneLocale *); 72int _EUC_KR_init(struct xlocale_ctype *, _RuneLocale *); 73int _EUC_TW_init(struct xlocale_ctype *, _RuneLocale *); 74int _GB18030_init(struct xlocale_ctype *, _RuneLocale *); 75int _GB2312_init(struct xlocale_ctype *, _RuneLocale *); 76int _GBK_init(struct xlocale_ctype *, _RuneLocale *); 77int _BIG5_init(struct xlocale_ctype *, _RuneLocale *); 78int _MSKanji_init(struct xlocale_ctype *, _RuneLocale *); |
79int _ascii_init(struct xlocale_ctype *, _RuneLocale *); |
80 81typedef size_t (*mbrtowc_pfn_t)(wchar_t * __restrict, 82 const char * __restrict, size_t, mbstate_t * __restrict); 83typedef size_t (*wcrtomb_pfn_t)(char * __restrict, wchar_t, 84 mbstate_t * __restrict); 85size_t __mbsnrtowcs_std(wchar_t * __restrict, const char ** __restrict, 86 size_t, size_t, mbstate_t * __restrict, mbrtowc_pfn_t); 87size_t __wcsnrtombs_std(char * __restrict, const wchar_t ** __restrict, 88 size_t, size_t, mbstate_t * __restrict, wcrtomb_pfn_t); 89 90#endif /* _MBLOCAL_H_ */ |