2
2
* Copyright 1990 Network Computing Devices;
3
3
* Portions Copyright 1987 by Digital Equipment Corporation
5
* Permission to use, copy, modify, distribute, and sell this software
6
* and its documentation for any purpose is hereby granted without fee,
7
* provided that the above copyright notice appear in all copies and
8
* that both that copyright notice and this permission notice appear
9
* in supporting documentation, and that the names of Network Computing
10
* Devices or Digital not be used in advertising or publicity pertaining
11
* to distribution of the software without specific, written prior
12
* permission. Network Computing Devices or Digital make no representations
13
* about the suitability of this software for any purpose. It is provided
5
* Permission to use, copy, modify, distribute, and sell this software
6
* and its documentation for any purpose is hereby granted without fee,
7
* provided that the above copyright notice appear in all copies and
8
* that both that copyright notice and this permission notice appear
9
* in supporting documentation, and that the names of Network Computing
10
* Devices or Digital not be used in advertising or publicity pertaining
11
* to distribution of the software without specific, written prior
12
* permission. Network Computing Devices or Digital make no representations
13
* about the suitability of this software for any purpose. It is provided
14
14
* "as is" without express or implied warranty.
16
16
* NETWORK COMPUTING DEVICES AND DIGITAL DISCLAIM ALL WARRANTIES WITH
17
* REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
17
* REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
18
18
* MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NETWORK COMPUTING DEVICES
19
* OR DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES
20
* OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21
* WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
22
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
19
* OR DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES
20
* OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21
* WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
22
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
74
74
extern void _FSRead ( FSServer *svr, char *data, long size );
75
75
extern void _FSReadEvents ( FSServer *svr );
76
76
extern void _FSReadPad ( FSServer *svr, char *data, long size );
77
extern void _FSSend ( FSServer *svr, char *data, long size );
77
extern void _FSSend ( FSServer *svr, const char *data, long size );
78
78
extern void _FSEnq ( FSServer *svr, fsEvent *event );
79
79
extern void _FSFreeServerStructure ( FSServer *svr );
80
80
extern int _FSError ( FSServer *svr, fsError *rep );
83
83
extern void _FSDisconnectServer ( XtransConnInfo trans_conn );
84
84
extern void _FSSendClientPrefix ( FSServer *svr, fsConnClientPrefix *client );
85
85
extern int _FSEventsQueued ( FSServer *svr, int mode );
86
extern unsigned long _FSSetLastRequestRead ( FSServer *svr,
86
extern unsigned long _FSSetLastRequestRead ( FSServer *svr,
87
87
fsGenericReply *rep );
88
88
extern int _FSUnknownWireEvent ( FSServer *svr, FSEvent *re, fsEvent *event );
89
extern int _FSUnknownNativeEvent ( FSServer *svr, FSEvent *re,
89
extern int _FSUnknownNativeEvent ( FSServer *svr, FSEvent *re,
91
91
extern int _FSWireToEvent ( FSServer *svr, FSEvent *re, fsEvent *event );
92
extern int _FSDefaultIOError ( FSServer *svr );
93
extern int _FSPrintDefaultError ( FSServer *svr, FSErrorEvent *event,
92
extern int _FSDefaultIOError ( FSServer *svr ) _X_NORETURN;
93
extern int _FSPrintDefaultError ( FSServer *svr, FSErrorEvent *event,
95
95
extern int _FSDefaultError ( FSServer *svr, FSErrorEvent *event );
96
96
extern char * _FSAllocScratch ( FSServer *svr, unsigned long nbytes );