1 /* $XConsortium: fsio.h,v 1.12 94/01/31 12:02:17 mor 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
30 #define REQUEST_LOG_SIZE 100
32 typedef struct _fs_fpe_alternate {
35 } FSFpeAltRec, *FSFpeAltPtr;
38 /* Per client access contexts */
39 typedef struct _fs_client_data {
41 struct _fs_client_data *next;
44 } FSClientRec, *FSClientPtr;
46 #define FS_RECONNECT_WAIT 5
47 #define FS_MAX_RECONNECT_WAIT 80
49 /* FS specific font FontPathElement data */
50 typedef struct _fs_fpe_data {
54 char *requestedname; /* client's name for this connection */
58 int fsMajorVersion; /* font server major version number */
65 int reqbuffer[REQUEST_LOG_SIZE];
70 /* XXX massive crock to get around stupid #include interferences */
71 pointer blocked_requests;
72 /* Data for reconnect - put it here to avoid allocate failure nightmare */
75 struct _fs_fpe_data *next_reconnect;
76 struct _XtransConnInfo *trans_conn; /* transport connection object */
77 } FSFpeRec, *FSFpePtr;
79 FSFpePtr _fs_open_server();