3
Copyright 1991, 1998 The Open Group
5
Permission to use, copy, modify, distribute, and sell this software and its
6
documentation for any purpose is hereby granted without fee, provided that
7
the above copyright notice appear in all copies and that both that
8
copyright notice and this permission notice appear in supporting
11
The above copyright notice and this permission notice shall be included
12
in all copies or substantial portions of the Software.
14
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20
OTHER DEALINGS IN THE SOFTWARE.
22
Except as contained in this notice, the name of The Open Group shall
23
not be used in advertising or otherwise to promote the sale, use or
24
other dealings in this Software without prior written authorization
34
#include <X11/Xproto.h>
40
/* closure structures */
44
typedef struct _OFclosure {
48
FontPathElementPtr *fpe_list;
52
/* XXX -- get these from request buffer instead? */
58
FontPtr non_cachable_font;
61
/* ListFontsWithInfo */
63
#define XLFDMAXFONTNAMELEN 256
64
typedef struct _LFWIstate {
65
char pattern[XLFDMAXFONTNAMELEN];
71
} LFWIstateRec, *LFWIstatePtr;
73
typedef struct _LFWIclosure {
76
FontPathElementPtr *fpe_list;
77
xListFontsWithInfoReply *reply;
89
typedef struct _LFclosure {
92
FontPathElementPtr *fpe_list;
106
DrawablePtr /* pDraw */,
111
void * /* chars or shorts */
114
typedef struct _PTclosure {
119
unsigned char *endReq;
124
PolyTextPtr polyText;
134
void (* ImageTextPtr)(
135
DrawablePtr /* pDraw */,
140
void * /* chars or shorts */
143
typedef struct _ITclosure {
152
ImageTextPtr imageText;
157
#endif /* CLOSESTR_H */