VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/lbxsrvopts.h

Last change on this file was 51223, checked in by vboxsync, 11 years ago

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • Property svn:eol-style set to native
File size: 2.6 KB
Line 
1/* $Xorg: lbxsrvopts.h,v 1.3 2000/08/17 19:53:31 cpqbld Exp $ */
2/*
3 * Copyright 1994 Network Computing Devices, Inc.
4 *
5 * Permission to use, copy, modify, distribute, and sell this software and
6 * its documentation for any purpose is hereby granted without fee, provided
7 * that the above copyright notice appear in all copies and that both that
8 * copyright notice and this permission notice appear in supporting
9 * documentation, and that the name Network Computing Devices, Inc. not be
10 * used in advertising or publicity pertaining to distribution of this
11 * software without specific, written prior permission.
12 *
13 * THIS SOFTWARE IS PROVIDED `AS-IS'. NETWORK COMPUTING DEVICES, INC.,
14 * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT
15 * LIMITATION ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
16 * PARTICULAR PURPOSE, OR NONINFRINGEMENT. IN NO EVENT SHALL NETWORK
17 * COMPUTING DEVICES, INC., BE LIABLE FOR ANY DAMAGES WHATSOEVER, INCLUDING
18 * SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, INCLUDING LOSS OF USE, DATA,
19 * OR PROFITS, EVEN IF ADVISED OF THE POSSIBILITY THEREOF, AND REGARDLESS OF
20 * WHETHER IN AN ACTION IN CONTRACT, TORT OR NEGLIGENCE, ARISING OUT OF OR IN
21 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 *
23 */
24/* $XFree86: xc/programs/Xserver/lbx/lbxsrvopts.h,v 1.2 2000/05/18 23:46:24 dawes Exp $ */
25
26#ifdef HAVE_DIX_CONFIG_H
27#include <dix-config.h>
28#endif
29
30#ifndef _LBX_SRVOPTS_H_
31#define _LBX_SRVOPTS_H_
32
33#include <X11/extensions/lbxopts.h>
34
35typedef struct _LbxNegOpts {
36 int nopts;
37 short proxyDeltaN;
38 short proxyDeltaMaxLen;
39 short serverDeltaN;
40 short serverDeltaMaxLen;
41 LbxStreamOpts streamOpts;
42 int numBitmapCompMethods;
43 unsigned char *bitmapCompMethods; /* array of indices */
44 int numPixmapCompMethods;
45 unsigned char *pixmapCompMethods; /* array of indices */
46 int **pixmapCompDepths; /* depths supported from each method */
47 Bool squish;
48 Bool useTags;
49} LbxNegOptsRec;
50
51typedef LbxNegOptsRec *LbxNegOptsPtr;
52
53
54extern void LbxOptionInit ( LbxNegOptsPtr pno );
55extern int LbxOptionParse ( LbxNegOptsPtr pno, unsigned char *popt,
56 int optlen, unsigned char *preply );
57extern LbxBitmapCompMethod *
58LbxSrvrLookupBitmapCompMethod ( LbxProxyPtr proxy, int methodOpCode );
59extern LbxPixmapCompMethod *
60LbxSrvrLookupPixmapCompMethod ( LbxProxyPtr proxy, int methodOpCode );
61extern LbxBitmapCompMethod *
62LbxSrvrFindPreferredBitmapCompMethod ( LbxProxyPtr proxy );
63extern LbxPixmapCompMethod *
64LbxSrvrFindPreferredPixmapCompMethod ( LbxProxyPtr proxy, int format, int depth );
65
66
67#endif /* _LBX_SRVOPTS_H_ */
Note: See TracBrowser for help on using the repository browser.

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