ReactOS  0.4.15-dev-1152-g6c94e4f
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 
48 typedef struct _Collvec {
49  unsigned long _Hand;
50  unsigned int _Page;
51 } _Collvec;
52 
53 typedef struct _Ctypevec {
54  unsigned long _Hand;
55  unsigned int _Page;
56  const short *_Table;
57  int _Delfl;
58 } _Ctypevec;
59 
60 typedef struct _Cvtvec {
61  unsigned long _Hand;
62  unsigned int _Page;
63 } _Cvtvec;
64 
68 _CRTIMP int __cdecl _Getdateorder(void);
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 *);
75 _CRTIMP int __cdecl _Tolower(int,const _Ctypevec *);
76 _CRTIMP int __cdecl _Toupper(int,const _Ctypevec *);
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 
95 _locale_t __cdecl _GetLocaleForCP(unsigned int);
97 
98 #pragma pack(pop)
99 #endif
unsigned int _Page
Definition: xlocinfo.h:62
_CRTIMP size_t __cdecl _Strftime(char *, size_t _Maxsize, const char *, const struct tm *, void *)
#define _C_STD_BEGIN
Definition: yvals.h:155
_CRTIMP const wchar_t *__cdecl _Getwctypes(const wchar_t *, const wchar_t *, short *, const _Ctypevec *)
_CRTIMP _Ctypevec __cdecl _Getctype(void)
_CRTIMP size_t __cdecl _Strxfrm(char *_String1, char *_End1, const char *, const char *, const _Collvec *)
#define __cdecl
Definition: accygwin.h:79
#define _CRTIMP
Definition: crtdefs.h:60
int _Delfl
Definition: xlocinfo.h:57
_CRTIMP int __cdecl _Getdateorder(void)
struct _Ctypevec _Ctypevec
_CRTIMP wchar_t __cdecl _Towlower(wchar_t, const _Ctypevec *)
unsigned long _Hand
Definition: xlocinfo.h:54
unsigned int _Page
Definition: xlocinfo.h:55
_CRTIMP char *__cdecl _Getmonths(void)
Definition: locale.c:450
unsigned long _Hand
Definition: xlocinfo.h:61
_CRTIMP int __cdecl _Mbrtowc(wchar_t *, const char *, size_t, mbstate_t *, const _Cvtvec *)
_CRTIMP _Collvec __cdecl _Getcoll(void)
#define _C_STD_END
Definition: yvals.h:156
_CRTIMP _Cvtvec __cdecl _Getcvt(void)
const short * _Table
Definition: xlocinfo.h:56
_CRTIMP size_t __cdecl _Wcsxfrm(wchar_t *_String1, wchar_t *_End1, const wchar_t *, const wchar_t *, const _Collvec *)
unsigned long _Hand
Definition: xlocinfo.h:49
_CRTIMP double __cdecl _Stod(const char *, char **, long)
_CRTIMP int __cdecl _Tolower(int, const _Ctypevec *)
struct _Collvec _Collvec
_END_C_LIB_DECL _C_LIB_DECL _locale_t __cdecl _GetLocaleForCP(unsigned int)
struct _Cvtvec _Cvtvec
_CRTIMP float __cdecl _Stof(const char *, char **, long)
Definition: time.h:76
_CRTIMP int __cdecl _Wcscoll(const wchar_t *, const wchar_t *, const wchar_t *, const wchar_t *, const _Collvec *)
_CRTIMP wchar_t __cdecl _Towupper(wchar_t, const _Ctypevec *)
_CRTIMP short __cdecl _Getwctype(wchar_t, const _Ctypevec *)
_CRTIMP long double __cdecl _Stold(const char *, char **, long)
_CRTIMP int __cdecl _Toupper(int, const _Ctypevec *)
_CRTIMP int __cdecl _Wcrtomb(char *, wchar_t, mbstate_t *, const _Cvtvec *)
#define _END_C_LIB_DECL
Definition: yvals.h:160
#define _C_LIB_DECL
Definition: yvals.h:159
_CRTIMP int __cdecl _Strcoll(const char *, const char *, const char *, const char *, const _Collvec *)
_END_C_LIB_DECL _C_STD_END _C_LIB_DECL _CRTIMP void *__cdecl _Gettnames(void)
Definition: locale.c:483
unsigned int _Page
Definition: xlocinfo.h:50
_CRTIMP char *__cdecl _Getdays(void)
Definition: locale.c:417