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 |
|
---|
35 | typedef 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 |
|
---|
51 | typedef LbxNegOptsRec *LbxNegOptsPtr;
|
---|
52 |
|
---|
53 |
|
---|
54 | extern void LbxOptionInit ( LbxNegOptsPtr pno );
|
---|
55 | extern int LbxOptionParse ( LbxNegOptsPtr pno, unsigned char *popt,
|
---|
56 | int optlen, unsigned char *preply );
|
---|
57 | extern LbxBitmapCompMethod *
|
---|
58 | LbxSrvrLookupBitmapCompMethod ( LbxProxyPtr proxy, int methodOpCode );
|
---|
59 | extern LbxPixmapCompMethod *
|
---|
60 | LbxSrvrLookupPixmapCompMethod ( LbxProxyPtr proxy, int methodOpCode );
|
---|
61 | extern LbxBitmapCompMethod *
|
---|
62 | LbxSrvrFindPreferredBitmapCompMethod ( LbxProxyPtr proxy );
|
---|
63 | extern LbxPixmapCompMethod *
|
---|
64 | LbxSrvrFindPreferredPixmapCompMethod ( LbxProxyPtr proxy, int format, int depth );
|
---|
65 |
|
---|
66 |
|
---|
67 | #endif /* _LBX_SRVOPTS_H_ */
|
---|