VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/XFree86-4.3/X11/extensions/fontcachstr.h@ 99743

Last change on this file since 99743 was 69098, checked in by vboxsync, 7 years ago

Clean up XFree86 driver header files.
bugref:3810: X11 Guest Additions maintenance
Over the years we have cleaned up the layout in the tree of the X.Org
header files we use to build drivers. The XFree86 ones were still in their
original, rather sub-optimal layout. This change fixes that.

  • Property svn:eol-style set to native
File size: 4.4 KB
Line 
1/*-
2 * Copyright (c) 1998-1999 Shunsuke Akiyama <[email protected]>.
3 * All rights reserved.
4 * Copyright (c) 1998-1999 X-TrueType Server Project, All rights
5 * reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * Id: fontcachstr.h,v 1.7 1999/01/31 14:58:40 akiyama Exp $
29 */
30/* $XFree86: xc/include/extensions/fontcachstr.h,v 1.3 2001/08/01 00:44:35 tsi Exp $ */
31
32/* THIS IS NOT AN X CONSORTIUM STANDARD */
33
34#ifndef _FONTCACHESTR_H_
35#define _FONTCACHESTR_H_
36
37#include <X11/extensions/fontcache.h>
38
39#define FONTCACHENAME "FontCache"
40
41#define FONTCACHE_MAJOR_VERSION 0 /* current version numbers */
42#define FONTCACHE_MINOR_VERSION 1
43
44typedef struct _FontCacheQueryVersion {
45 CARD8 reqType; /* always FontCacheReqCode */
46 CARD8 fontcacheReqType; /* always X_FontCacheQueryVersion */
47 CARD16 length B16;
48} xFontCacheQueryVersionReq;
49#define sz_xFontCacheQueryVersionReq 4
50
51typedef struct {
52 BYTE type; /* X_Reply */
53 BOOL pad1;
54 CARD16 sequenceNumber B16;
55 CARD32 length B32;
56 CARD16 majorVersion B16; /* major version of Font-Cache */
57 CARD16 minorVersion B16; /* minor version of Font-Cache */
58 CARD32 pad2 B32;
59 CARD32 pad3 B32;
60 CARD32 pad4 B32;
61 CARD32 pad5 B32;
62 CARD32 pad6 B32;
63} xFontCacheQueryVersionReply;
64#define sz_xFontCacheQueryVersionReply 32
65
66typedef struct _FontCacheGetCacheSettings {
67 CARD8 reqType; /* always FontCacheReqCode */
68 CARD8 fontcacheReqType; /* always X_FontCacheGetCacheSettings */
69 CARD16 length B16;
70} xFontCacheGetCacheSettingsReq;
71#define sz_xFontCacheGetCacheSettingsReq 4
72
73typedef struct {
74 BYTE type; /* X_Reply */
75 BOOL pad1;
76 CARD16 sequenceNumber B16;
77 CARD32 length B32;
78 CARD32 himark B32;
79 CARD32 lowmark B32;
80 CARD32 balance B32;
81 CARD32 reserve0 B32;
82 CARD32 reserve1 B32;
83 CARD32 reserve2 B32;
84} xFontCacheGetCacheSettingsReply;
85#define sz_xFontCacheGetCacheSettingsReply 32
86
87typedef struct _FontCacheChangeCacheSettings {
88 CARD8 reqType; /* always FontCacheReqCode */
89 CARD8 fontcacheReqType; /* always X_FontCacheChangeCacheSettings */
90 CARD16 length B16;
91 CARD32 himark B32;
92 CARD32 lowmark B32;
93 CARD32 balance B32;
94 CARD32 reserve0 B32;
95 CARD32 reserve1 B32;
96 CARD32 reserve2 B32;
97 CARD32 reserve3 B32;
98} xFontCacheChangeCacheSettingsReq;
99#define sz_xFontCacheChangeCacheSettingsReq 32
100
101typedef struct _FontCacheGetCacheStatistics {
102 CARD8 reqType; /* always FontCacheReqCode */
103 CARD8 fontcacheReqType; /* always X_FontCacheGetCacheStatistics */
104 CARD16 length B16;
105} xFontCacheGetCacheStatisticsReq;
106#define sz_xFontCacheGetCacheStatisticsReq 4
107
108typedef struct {
109 BYTE type; /* X_Reply */
110 BOOL pad1;
111 CARD16 sequenceNumber B16;
112 CARD32 length B32;
113 CARD32 purge_runs B32;
114 CARD32 purge_stat B32;
115 CARD32 balance B32;
116 CARD32 reserve0 B32;
117 CARD32 f_hits B32;
118 CARD32 f_misshits B32;
119 CARD32 f_purged B32;
120 CARD32 f_usage B32;
121 CARD32 f_reserve0 B32;
122 CARD32 v_hits B32;
123 CARD32 v_misshits B32;
124 CARD32 v_purged B32;
125 CARD32 v_usage B32;
126 CARD32 v_reserve0 B32;
127} xFontCacheGetCacheStatisticsReply;
128#define sz_xFontCacheGetCacheStatisticsReply 64
129
130#endif /* _FONTCACHESTR_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