ReactOS 0.4.15-dev-8102-g108db8f
xlocinfo.h
Go to the documentation of this file.
1
6#ifndef _XLOCINFO
7#define _XLOCINFO
8#include <ctype.h>
9#include <locale.h>
10#include <wchar.h>
11#include <yvals.h>
12
13#pragma pack(push,_CRT_PACKING)
14
17
18#define _XA 0x100
19#define _XS 0x000
20#define _BB _CONTROL
21#define _CN _SPACE
22#define _DI _DIGIT
23#define _LO _LOWER
24#define _PU _PUNCT
25#define _SP _BLANK
26#define _UP _UPPER
27#define _XD _HEX
28
29#define _X_ALL LC_ALL
30#define _X_COLLATE LC_COLLATE
31#define _X_CTYPE LC_CTYPE
32#define _X_MONETARY LC_MONETARY
33#define _X_NUMERIC LC_NUMERIC
34#define _X_TIME LC_TIME
35#define _X_MAX LC_MAX
36#define _X_MESSAGES 6
37#define _NCAT 7
38
39#define _CATMASK(n) ((1 << (n)) >> 1)
40#define _M_COLLATE _CATMASK(_X_COLLATE)
41#define _M_CTYPE _CATMASK(_X_CTYPE)
42#define _M_MONETARY _CATMASK(_X_MONETARY)
43#define _M_NUMERIC _CATMASK(_X_NUMERIC)
44#define _M_TIME _CATMASK(_X_TIME)
45#define _M_MESSAGES _CATMASK(_X_MESSAGES)
46#define _M_ALL (_CATMASK(_NCAT) - 1)
47
48typedef struct _Collvec {
49 unsigned long _Hand;
50 unsigned int _Page;
52
53typedef struct _Ctypevec {
54 unsigned long _Hand;
55 unsigned int _Page;
56 const short *_Table;
57 int _Delfl;
59
60typedef struct _Cvtvec {
61 unsigned long _Hand;
62 unsigned int _Page;
64
69_CRTIMP int __cdecl _Mbrtowc(wchar_t *,const char *,size_t,mbstate_t *,const _Cvtvec *);
70_CRTIMP float __cdecl _Stof(const char *,char **,long);
71_CRTIMP double __cdecl _Stod(const char *,char **,long);
72_CRTIMP long double __cdecl _Stold(const char *,char **,long);
73_CRTIMP int __cdecl _Strcoll(const char *,const char *,const char *,const char *,const _Collvec *);
74_CRTIMP size_t __cdecl _Strxfrm(char *_String1,char *_End1,const char *,const char *,const _Collvec *);
77_CRTIMP int __cdecl _Wcrtomb(char *,wchar_t,mbstate_t *,const _Cvtvec *);
78_CRTIMP int __cdecl _Wcscoll(const wchar_t *,const wchar_t *,const wchar_t *,const wchar_t *,const _Collvec *);
79_CRTIMP size_t __cdecl _Wcsxfrm(wchar_t *_String1,wchar_t *_End1,const wchar_t *,const wchar_t *,const _Collvec *);
80_CRTIMP short __cdecl _Getwctype(wchar_t,const _Ctypevec *);
81_CRTIMP const wchar_t *__cdecl _Getwctypes(const wchar_t *,const wchar_t *,short*,const _Ctypevec*);
82_CRTIMP wchar_t __cdecl _Towlower(wchar_t,const _Ctypevec *);
83_CRTIMP wchar_t __cdecl _Towupper(wchar_t,const _Ctypevec *);
86
88_CRTIMP void *__cdecl _Gettnames(void);
89_CRTIMP char *__cdecl _Getdays(void);
90_CRTIMP char *__cdecl _Getmonths(void);
91_CRTIMP size_t __cdecl _Strftime(char *,size_t _Maxsize,const char *,const struct tm *,void *);
93
97
98#pragma pack(pop)
99#endif
#define __cdecl
Definition: accygwin.h:79
#define _CRTIMP
Definition: crtdefs.h:72
unsigned int _Page
Definition: xlocinfo.h:50
unsigned long _Hand
Definition: xlocinfo.h:49
unsigned int _Page
Definition: xlocinfo.h:55
unsigned long _Hand
Definition: xlocinfo.h:54
int _Delfl
Definition: xlocinfo.h:57
const short * _Table
Definition: xlocinfo.h:56
unsigned long _Hand
Definition: xlocinfo.h:61
unsigned int _Page
Definition: xlocinfo.h:62
Definition: time.h:68
_CRTIMP int __cdecl _Toupper(int, const _Ctypevec *)
_CRTIMP long double __cdecl _Stold(const char *, char **, long)
_CRTIMP int __cdecl _Wcrtomb(char *, wchar_t, mbstate_t *, const _Cvtvec *)
_CRTIMP int __cdecl _Strcoll(const char *, const char *, const char *, const char *, const _Collvec *)
_CRTIMP int __cdecl _Mbrtowc(wchar_t *, const char *, size_t, mbstate_t *, const _Cvtvec *)
_END_C_LIB_DECL _C_STD_END _C_LIB_DECL _CRTIMP void *__cdecl _Gettnames(void)
Definition: locale.c:483
_CRTIMP size_t __cdecl _Strftime(char *, size_t _Maxsize, const char *, const struct tm *, void *)
_CRTIMP wchar_t __cdecl _Towlower(wchar_t, const _Ctypevec *)
_CRTIMP size_t __cdecl _Strxfrm(char *_String1, char *_End1, const char *, const char *, const _Collvec *)
_CRTIMP double __cdecl _Stod(const char *, char **, long)
_CRTIMP char *__cdecl _Getdays(void)
Definition: locale.c:417
_CRTIMP float __cdecl _Stof(const char *, char **, long)
_CRTIMP _Cvtvec __cdecl _Getcvt(void)
_CRTIMP short __cdecl _Getwctype(wchar_t, const _Ctypevec *)
_CRTIMP wchar_t __cdecl _Towupper(wchar_t, const _Ctypevec *)
_CRTIMP const wchar_t *__cdecl _Getwctypes(const wchar_t *, const wchar_t *, short *, const _Ctypevec *)
_CRTIMP int __cdecl _Tolower(int, const _Ctypevec *)
_CRTIMP char *__cdecl _Getmonths(void)
Definition: locale.c:450
_END_C_LIB_DECL _C_LIB_DECL _locale_t __cdecl _GetLocaleForCP(unsigned int)
_CRTIMP int __cdecl _Wcscoll(const wchar_t *, const wchar_t *, const wchar_t *, const wchar_t *, const _Collvec *)
_CRTIMP size_t __cdecl _Wcsxfrm(wchar_t *_String1, wchar_t *_End1, const wchar_t *, const wchar_t *, const _Collvec *)
_CRTIMP _Ctypevec __cdecl _Getctype(void)
_CRTIMP int __cdecl _Getdateorder(void)
_CRTIMP _Collvec __cdecl _Getcoll(void)
#define _C_LIB_DECL
Definition: yvals.h:159
#define _C_STD_BEGIN
Definition: yvals.h:155
#define _END_C_LIB_DECL
Definition: yvals.h:160
#define _C_STD_END
Definition: yvals.h:156