1/************************************************************
2
3Copyright 1998 by Thomas E. Dickey <dickey@clark.net>
4
5                        All Rights Reserved
6
7Permission to use, copy, modify, and distribute this software and its
8documentation for any purpose and without fee is hereby granted,
9provided that the above copyright notice appear in all copies and that
10both that copyright notice and this permission notice appear in
11supporting documentation, and that the name of the above listed
12copyright holder(s) not be used in advertising or publicity pertaining
13to distribution of the software without specific, written prior
14permission.
15
16THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
17TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
19LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
21ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
22OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23
24********************************************************/
25
26/*
27 * difs/swaprep.c -- font server reply swapping
28 */
29
30
31#ifndef _SWAPREP_H_
32#define _SWAPREP_H_ 1
33
34#include	<misc.h>
35
36extern void CopySwap16Write (ClientPtr client, int size, short *pbuf);
37extern void CopySwap32Write (ClientPtr client, int size, long *pbuf);
38extern void SCreateACReply (ClientPtr client, int size, void * data);
39extern void SErrorEvent (fsError *error, fsError *perror);
40extern void SGenericReply (ClientPtr client, int size, void * data);
41extern void SGetEventMaskReply (ClientPtr client, int size, void * data);
42extern void SGetResolutionReply (ClientPtr client, int size, void * data);
43extern void SListCataloguesReply (ClientPtr client, int size, void * data);
44extern void SListExtensionsReply (ClientPtr client, int size, void * data);
45extern void SListFontsReply (ClientPtr client, int size, void * data);
46extern void SListFontsWithXInfoReply (ClientPtr client, int size, void * data);
47extern void SOpenBitmapFontReply (ClientPtr client, int size, void * data);
48extern void SQueryExtensionReply (ClientPtr client, int size, void * data);
49extern void SQueryXBitmapsReply (ClientPtr client, int size, void * data);
50extern void SQueryXExtentsReply (ClientPtr client, int size, void * data);
51extern void SQueryXInfoReply (ClientPtr client, int size, void * data);
52extern void Swap16Write (ClientPtr client, int size, short *pbuf);
53extern void Swap32Write (ClientPtr client, int size, long *pbuf);
54extern void SwapExtents (fsXCharInfo *extents, int num);
55extern void SwapPropInfo (fsPropInfo *pi);
56extern void WriteSConnSetup (ClientPtr client, fsConnSetup *pcsp);
57extern void WriteSConnectionInfo (ClientPtr client, unsigned long size, char *pInfo);
58
59#endif /* _SWAPREP_H_ */
60