1 /* $XConsortium: fserve.h,v 1.7 93/08/24 18:49:12 gildea Exp $ */
3 * Copyright 1990 Network Computing Devices
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
9 * documentation, and that the name of Network Computing Devices not be
10 * used in advertising or publicity pertaining to distribution of the
11 * software without specific, written prior permission. Network Computing
12 * Devices makes no representations about the suitability of this software
13 * for any purpose. It is provided "as is" without express or implied
16 * NETWORK COMPUTING DEVICES DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
17 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
18 * IN NO EVENT SHALL NETWORK COMPUTING DEVICES BE LIABLE FOR ANY SPECIAL,
19 * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
20 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
21 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
22 * OR PERFORMANCE OF THIS SOFTWARE.
24 * Author: Dave Lemke, Network Computing Devices, Inc
31 * font server data structures
34 /* types of block records */
35 #define FS_OPEN_FONT 1
36 #define FS_LOAD_GLYPHS 2
37 #define FS_LIST_FONTS 3
38 #define FS_LIST_WITH_INFO 4
40 /* states of OpenFont */
41 #define FS_OPEN_REPLY 0
42 #define FS_INFO_REPLY 1
43 #define FS_EXTENT_REPLY 2
44 #define FS_GLYPHS_REPLY 3
45 #define FS_DONE_REPLY 4
46 #define FS_DEPENDING 5
48 /* status of ListFontsWithInfo */
49 #define FS_LFWI_WAITING 0
50 #define FS_LFWI_REPLY 1
51 #define FS_LFWI_FINISHED 2
53 #define AccessDone 0x400
55 typedef struct _fs_font_data *FSFontDataPtr;
56 typedef struct _fs_blocked_font *FSBlockedFontPtr;
57 typedef struct _fs_blocked_glyphs *FSBlockedGlyphPtr;
58 typedef struct _fs_blocked_list *FSBlockedListPtr;
59 typedef struct _fs_blocked_list_info *FSBlockedListInfoPtr;
60 typedef struct _fs_block_data *FSBlockDataPtr;
61 typedef struct _fs_font_table *FSFontTablePtr;
63 typedef struct _fs_blocked_bitmaps *FSBlockedBitmapPtr;
64 typedef struct _fs_blocked_extents *FSBlockedExtentPtr;
66 extern void fs_convert_char_info();
68 #endif /* _FSERVE_H_ */