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

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/4.2/include/extensions/xcmiscstr.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
 
/* $Xorg: xcmiscstr.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ */
2
 
/*
3
 
 
4
 
Copyright 1993, 1994, 1998  The Open Group
5
 
 
6
 
Permission to use, copy, modify, distribute, and sell this software and its
7
 
documentation for any purpose is hereby granted without fee, provided that
8
 
the above copyright notice appear in all copies and that both that
9
 
copyright notice and this permission notice appear in supporting
10
 
documentation.
11
 
 
12
 
The above copyright notice and this permission notice shall be included in
13
 
all copies or substantial portions of the Software.
14
 
 
15
 
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
18
 
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19
 
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
 
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
 
 
22
 
Except as contained in this notice, the name of The Open Group shall not be
23
 
used in advertising or otherwise to promote the sale, use or other dealings
24
 
in this Software without prior written authorization from The Open Group.
25
 
 
26
 
*/
27
 
 
28
 
#define X_XCMiscGetVersion      0
29
 
#define X_XCMiscGetXIDRange     1
30
 
#define X_XCMiscGetXIDList      2
31
 
 
32
 
#define XCMiscNumberEvents      0
33
 
 
34
 
#define XCMiscNumberErrors      0
35
 
 
36
 
#define XCMiscMajorVersion      1
37
 
#define XCMiscMinorVersion      1
38
 
 
39
 
#define XCMiscExtensionName     "XC-MISC"
40
 
 
41
 
typedef struct {
42
 
    CARD8       reqType;        /* always XCMiscCode */
43
 
    CARD8       miscReqType;    /* always X_XCMiscGetVersion */
44
 
    CARD16      length B16;
45
 
    CARD16      majorVersion B16;
46
 
    CARD16      minorVersion B16;
47
 
} xXCMiscGetVersionReq;
48
 
#define sz_xXCMiscGetVersionReq 8
49
 
 
50
 
typedef struct {
51
 
    BYTE        type;                   /* X_Reply */
52
 
    CARD8       pad0;
53
 
    CARD16      sequenceNumber B16;
54
 
    CARD32      length B32;
55
 
    CARD16      majorVersion B16;
56
 
    CARD16      minorVersion B16;
57
 
    CARD32      pad1 B32;
58
 
    CARD32      pad2 B32;
59
 
    CARD32      pad3 B32;
60
 
    CARD32      pad4 B32;
61
 
    CARD32      pad5 B32;
62
 
} xXCMiscGetVersionReply;
63
 
#define sz_xXCMiscGetVersionReply 32
64
 
 
65
 
typedef struct {
66
 
    CARD8       reqType;        /* always XCMiscCode */
67
 
    CARD8       miscReqType;    /* always X_XCMiscGetXIDRange */
68
 
    CARD16      length B16;
69
 
} xXCMiscGetXIDRangeReq;
70
 
#define sz_xXCMiscGetXIDRangeReq 4
71
 
 
72
 
typedef struct {
73
 
    BYTE        type;                   /* X_Reply */
74
 
    CARD8       pad0;
75
 
    CARD16      sequenceNumber B16;
76
 
    CARD32      length B32;
77
 
    CARD32      start_id B32;
78
 
    CARD32      count B32;
79
 
    CARD32      pad1 B32;
80
 
    CARD32      pad2 B32;
81
 
    CARD32      pad3 B32;
82
 
    CARD32      pad4 B32;
83
 
} xXCMiscGetXIDRangeReply;
84
 
#define sz_xXCMiscGetXIDRangeReply 32
85
 
 
86
 
typedef struct {
87
 
    CARD8       reqType;        /* always XCMiscCode */
88
 
    CARD8       miscReqType;    /* always X_XCMiscGetXIDList */
89
 
    CARD16      length B16;
90
 
    CARD32      count B32;      /* number of IDs requested */
91
 
} xXCMiscGetXIDListReq;
92
 
#define sz_xXCMiscGetXIDListReq 8
93
 
 
94
 
typedef struct {
95
 
    BYTE        type;                   /* X_Reply */
96
 
    CARD8       pad0;
97
 
    CARD16      sequenceNumber B16;
98
 
    CARD32      length B32;
99
 
    CARD32      count B32;      /* number of IDs requested */
100
 
    CARD32      pad1 B32;
101
 
    CARD32      pad2 B32;
102
 
    CARD32      pad3 B32;
103
 
    CARD32      pad4 B32;
104
 
    CARD32      pad5 B32;
105
 
} xXCMiscGetXIDListReply;
106
 
#define sz_xXCMiscGetXIDListReply 32
107