~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/programs/Xserver/hw/xfree86/common/xisb.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
 
/*
2
 
 * Copyright (c) 1997  Metro Link Incorporated
3
 
 *
4
 
 * Permission is hereby granted, free of charge, to any person obtaining a
5
 
 * copy of this software and associated documentation files (the "Software"),
6
 
 * to deal in the Software without restriction, including without limitation
7
 
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
 
 * and/or sell copies of the Software, and to permit persons to whom the
9
 
 * Software is furnished to do so, subject to the following conditions:
10
 
 *
11
 
 * The above copyright notice and this permission notice shall be included in
12
 
 * all copies or substantial portions of the Software.
13
 
 *
14
 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
 
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
 
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17
 
 * THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18
 
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
19
 
 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
 
 * SOFTWARE.
21
 
 *
22
 
 * Except as contained in this notice, the name of the Metro Link 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 Metro Link.
25
 
 *
26
 
 */
27
 
/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xisb.h,v 1.1 1998/12/05 14:40:10 dawes Exp $ */
28
 
 
29
 
#ifndef _xisb_H_
30
 
#define _xisb_H_
31
 
 
32
 
/******************************************************************************
33
 
 *              Definitions
34
 
 *                                                                      structs, typedefs, #defines, enums
35
 
 *****************************************************************************/
36
 
 
37
 
typedef struct _XISBuffer
38
 
{
39
 
        int fd;
40
 
        int trace;
41
 
        int block_duration;
42
 
        xf86ssize_t current;    /* bytes read */
43
 
        xf86ssize_t end;
44
 
        xf86ssize_t buffer_size;
45
 
        unsigned char *buf;
46
 
} XISBuffer;
47
 
 
48
 
/******************************************************************************
49
 
 *              Declarations
50
 
 *                                                              variables:      use xisb_LOC in front
51
 
 *                                                                                      of globals.
52
 
 *                                                                                      put locals in the .c file.
53
 
 *****************************************************************************/
54
 
XISBuffer * XisbNew (int fd, xf86ssize_t size);
55
 
void XisbFree (XISBuffer *b);
56
 
int XisbRead (XISBuffer *b);
57
 
xf86ssize_t XisbWrite (XISBuffer *b, unsigned char *msg, xf86ssize_t len);
58
 
void XisbTrace (XISBuffer *b, int trace);
59
 
void XisbBlockDuration (XISBuffer *b, int block_duration);
60
 
 
61
 
/*
62
 
 *      DO NOT PUT ANYTHING AFTER THIS ENDIF
63
 
 */
64
 
#endif