2 * Multibyte char definitions
4 * Copyright 2001 Francois Gouget.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __WINE_MBCTYPE_H
21 #define __WINE_MBCTYPE_H
30 unsigned char* __cdecl __p__mbctype(void);
31 #define _mbctype (__p__mbctype())
33 extern unsigned char MSVCRT_mbctype[];
47 #define _MBC_ILLEGAL -1
53 #define _MB_CP_ANSI -3
54 #define _MB_CP_LOCALE -4
56 int __cdecl _getmbcp(void);
57 int __cdecl _ismbbalnum(unsigned int);
58 int __cdecl _ismbbalpha(unsigned int);
59 int __cdecl _ismbbgraph(unsigned int);
60 int __cdecl _ismbbkalnum(unsigned int);
61 int __cdecl _ismbbkana(unsigned int);
62 int __cdecl _ismbbkprint(unsigned int);
63 int __cdecl _ismbbkpunct(unsigned int);
64 int __cdecl _ismbbprint(unsigned int);
65 int __cdecl _ismbbpunct(unsigned int);
66 int __cdecl _setmbcp(int);
68 #ifndef _MBLEADTRAIL_DEFINED
69 #define _MBLEADTRAIL_DEFINED
70 int __cdecl _ismbblead(unsigned int);
71 int __cdecl _ismbbtrail(unsigned int);
72 int __cdecl _ismbslead(const unsigned char*,const unsigned char*);
73 int __cdecl _ismbstrail(const unsigned char*,const unsigned char*);
74 #endif /* _MBLEADTRAIL_DEFINED */
80 #endif /* __WINE_MBCTYPE_H */