VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/7.0/X11/Xdefs.h@ 17234

最後變更 在這個檔案從17234是 17234,由 vboxsync 提交於 16 年 前

Additions/x11/x11include: blast! Corrected svn:keywords property on all files as per http://linserv.germany/vbox/wiki/SvnKeywords

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.4 KB
 
1/* $XFree86: xc/include/Xdefs.h,v 1.2 1999/08/22 06:21:20 dawes Exp $ */
2
3/***********************************************************
4
5Copyright (c) 1999 The XFree86 Project Inc.
6
7All Rights Reserved.
8
9The above copyright notice and this permission notice shall be included in
10all copies or substantial portions of the Software.
11
12THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
16AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
17CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18
19Except as contained in this notice, the name of The XFree86 Project
20Inc. shall not be used in advertising or otherwise to promote the
21sale, use or other dealings in this Software without prior written
22authorization from The XFree86 Project Inc..
23
24*/
25
26/**
27 ** Types definitions shared between server and clients
28 **/
29
30#ifndef _XDEFS_H
31#define _XDEFS_H
32
33#ifdef _XSERVER64
34#include <X11/Xmd.h>
35#endif
36
37#ifndef _XTYPEDEF_ATOM
38# define _XTYPEDEF_ATOM
39# ifndef _XSERVER64
40typedef unsigned long Atom;
41# else
42typedef CARD32 Atom;
43# endif
44#endif
45
46#ifndef Bool
47# ifndef _XTYPEDEF_BOOL
48# define _XTYPEDEF_BOOL
49typedef int Bool;
50# endif
51#endif
52
53#ifndef _XTYPEDEF_POINTER
54# define _XTYPEDEF_POINTER
55typedef void *pointer;
56#endif
57
58#ifndef _XTYPEDEF_CLIENTPTR
59typedef struct _Client *ClientPtr;
60# define _XTYPEDEF_CLIENTPTR
61#endif
62
63#ifndef _XTYPEDEF_XID
64# define _XTYPEDEF_XID
65# ifndef _XSERVER64
66typedef unsigned long XID;
67# else
68typedef CARD32 XID;
69# endif
70#endif
71
72#ifndef _XTYPEDEF_MASK
73# define _XTYPEDEF_MASK
74# ifndef _XSERVER64
75typedef unsigned long Mask;
76# else
77typedef CARD32 Mask;
78# endif
79#endif
80
81#ifndef _XTYPEDEF_FONTPTR
82# define _XTYPEDEF_FONTPTR
83typedef struct _Font *FontPtr; /* also in fonts/include/font.h */
84#endif
85
86#ifndef _XTYPEDEF_FONT
87# define _XTYPEDEF_FONT
88typedef XID Font;
89#endif
90
91#ifndef _XTYPEDEF_FSID
92# ifndef _XSERVER64
93typedef unsigned long FSID;
94# else
95typedef CARD32 FSID;
96# endif
97#endif
98
99typedef FSID AccContext;
100
101/* OS independant time value
102 XXX Should probably go in Xos.h */
103typedef struct timeval **OSTimePtr;
104
105
106typedef void (* BlockHandlerProcPtr)(pointer /* blockData */,
107 OSTimePtr /* pTimeout */,
108 pointer /* pReadmask */);
109
110#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette