mblocal.h (5c4d28f5dcc202bef97451926bae0f0250b405ba) | mblocal.h (ba7161ed720edece3714bf37d6903e85bd825b66) |
---|---|
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. --- 51 unchanged lines hidden (view full) --- 60 int __mb_sb_limit; 61}; 62#define XLOCALE_CTYPE(x) ((struct xlocale_ctype*)(x)->components[XLC_CTYPE]) 63extern struct xlocale_ctype __xlocale_global_ctype; 64 65/* 66 * Rune initialization function prototypes. 67 */ | 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. --- 51 unchanged lines hidden (view full) --- 60 int __mb_sb_limit; 61}; 62#define XLOCALE_CTYPE(x) ((struct xlocale_ctype*)(x)->components[XLC_CTYPE]) 63extern struct xlocale_ctype __xlocale_global_ctype; 64 65/* 66 * Rune initialization function prototypes. 67 */ |
68__hidden int _none_init(struct xlocale_ctype *, _RuneLocale *); 69__hidden int _ascii_init(struct xlocale_ctype *, _RuneLocale *); 70__hidden int _UTF8_init(struct xlocale_ctype *, _RuneLocale *); 71__hidden int _EUC_CN_init(struct xlocale_ctype *, _RuneLocale *); 72__hidden int _EUC_JP_init(struct xlocale_ctype *, _RuneLocale *); 73__hidden int _EUC_KR_init(struct xlocale_ctype *, _RuneLocale *); 74__hidden int _EUC_TW_init(struct xlocale_ctype *, _RuneLocale *); 75__hidden int _GB18030_init(struct xlocale_ctype *, _RuneLocale *); 76__hidden int _GB2312_init(struct xlocale_ctype *, _RuneLocale *); 77__hidden int _GBK_init(struct xlocale_ctype *, _RuneLocale *); 78__hidden int _BIG5_init(struct xlocale_ctype *, _RuneLocale *); 79__hidden int _MSKanji_init(struct xlocale_ctype *, _RuneLocale *); | 68int _none_init(struct xlocale_ctype *, _RuneLocale *) __hidden; 69int _UTF8_init(struct xlocale_ctype *, _RuneLocale *) __hidden; 70int _EUC_CN_init(struct xlocale_ctype *, _RuneLocale *) __hidden; 71int _EUC_JP_init(struct xlocale_ctype *, _RuneLocale *) __hidden; 72int _EUC_KR_init(struct xlocale_ctype *, _RuneLocale *) __hidden; 73int _EUC_TW_init(struct xlocale_ctype *, _RuneLocale *) __hidden; 74int _GB18030_init(struct xlocale_ctype *, _RuneLocale *) __hidden; 75int _GB2312_init(struct xlocale_ctype *, _RuneLocale *) __hidden; 76int _GBK_init(struct xlocale_ctype *, _RuneLocale *) __hidden; 77int _BIG5_init(struct xlocale_ctype *, _RuneLocale *) __hidden; 78int _MSKanji_init(struct xlocale_ctype *, _RuneLocale *) __hidden; 79int _ascii_init(struct xlocale_ctype *, _RuneLocale *) __hidden; |
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_ */ | 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_ */ |