]> git.sesse.net Git - rdpsrv/blob - Xserver/lib/X11/Xlocale.h
Support RDP5 logon packets.
[rdpsrv] / Xserver / lib / X11 / Xlocale.h
1 /* $XConsortium: Xlocale.h,v 1.10 94/04/17 20:21:51 rws Exp $ */
2 /*
3
4 Copyright (c) 1991  X Consortium
5
6 Permission is hereby granted, free of charge, to any person obtaining
7 a copy of this software and associated documentation files (the
8 "Software"), to deal in the Software without restriction, including
9 without limitation the rights to use, copy, modify, merge, publish,
10 distribute, sublicense, and/or sell copies of the Software, and to
11 permit persons to whom the Software is furnished to do so, subject to
12 the following conditions:
13
14 The above copyright notice and this permission notice shall be included
15 in all copies or substantial portions of the Software.
16
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
21 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
22 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 OTHER DEALINGS IN THE SOFTWARE.
24
25 Except as contained in this notice, the name of the X Consortium shall
26 not be used in advertising or otherwise to promote the sale, use or
27 other dealings in this Software without prior written authorization
28 from the X Consortium.
29
30 */
31
32 #ifndef _XLOCALE_H_
33 #define _XLOCALE_H_
34
35 #include <X11/Xfuncproto.h>
36 #include <X11/Xosdefs.h>
37
38 #ifndef X_LOCALE
39 #ifdef X_NOT_STDC_ENV
40 #define X_LOCALE
41 #endif
42 #endif
43
44 #ifndef X_LOCALE
45 #include <locale.h>
46 #else
47
48 #define LC_ALL      0
49 #define LC_COLLATE  1
50 #define LC_CTYPE    2
51 #define LC_MONETARY 3
52 #define LC_NUMERIC  4
53 #define LC_TIME     5
54
55 _XFUNCPROTOBEGIN
56 extern char *_Xsetlocale(
57 #if NeedFunctionPrototypes
58     int /* category */,
59     _Xconst char* /* name */
60 #endif
61 );
62 _XFUNCPROTOEND
63
64 #define setlocale _Xsetlocale
65
66 #ifndef NULL
67 #define NULL 0
68 #endif
69
70 #endif /* X_LOCALE */
71
72 #endif /* _XLOCALE_H_ */