~ubuntu-branches/ubuntu/karmic/virtualbox-ose/karmic-updates

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/7.0/X11/Xdefs.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-09-14 18:25:07 UTC
  • mfrom: (0.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090914182507-c98g07mq16hjmn6d
Tags: 3.0.6-dfsg-1ubuntu1
* Merge from debian unstable (LP: #429697), remaining changes:
  - Enable DKMS support on virtualbox host and guest modules (LP: #267097)
    - Drop virtualbox-ose{-guest,}-modules-* package templates
    - Recommend *-source instead of *-modules packages
    - Replace error messages related to missing/mismatched
      kernel module accordingly
  - Autoload kernel module
    - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default
  - Disable update action
    - patches/u01-disable-update-action.dpatch
  - Virtualbox should go in Accessories, not in System tools (LP: #288590)
    - virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add apport hook
    - virtualbox-ose.files/source_virtualbox-ose.py
    - virtualbox-ose.install
  - Add launchpad integration
    - control
    - lpi-bug.xpm
    - patches/u02-lp-integration.dpatch
  - virtualbox, virtualbox-* (names of the upstream proprietary packages)
    conflict with virtualbox-ose (LP: #379878)
* Make debug package depend on normal or guest utils package
* Drop patches/22-pulseaudio-stubs.dpatch (applied upstream)
* Rename Ubuntu specific patches to uXX-*.dpatch
* Fix lintian warnings in maintainer scripts

Show diffs side-by-side

added added

removed removed

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